Back to packages list

Vals using hono

Description from the NPM package:
Web framework built on Web Standards
plants
stevekrouse
plants
Made with val writer With prompt The app is just a simple plant watering app. Had a bunch of plants with different watering schedules. I want to be able to add new plants. I want to open the app and mark a plant as watered. I want to track all watering events. Store only a `waterings` table where the plant name is a string.
HTTP
jadeOpossum
tmcw
jadeOpossum
Remix of: stevekrouse/dateme
HTTP
dateme
tmcw
dateme
Remix of: stevekrouse/dateme
HTTP
jsoninvoice
pomdtr
jsoninvoice
@jsxImportSource npm:hono/jsx
HTTP
openAIHonoChatStreamExample
yawnxyz
openAIHonoChatStreamExample
Remix of: jacoblee93/streamingTest
HTTP
GistGPT
weaverwhale
GistGPT
GistGPT A helpful assistant who provides the gist of a gist How to use / and /gist - Default response is to explain this file. I believe this is effectively real-time recursion ? /gist?url={URL} - Provide a RAW file URL from Github, BitBucket, GitLab, Val Town, etc. and GistGPT will provide you the gist of the code. /about - "Tell me a little bit about yourself"
HTTP
invoice_deta
pomdtr
invoice_deta
@jsxImportSource npm:hono/jsx
HTTP
SubmitLogin
iamseeley
SubmitLogin
An interactive, runnable TypeScript val by iamseeley
Script
fileInputUploadExample
stevekrouse
fileInputUploadExample
Example of an HTML Form with a File Upload, handled by the server The key step was setting enctype="multipart/form-data" on the <form> element. If you skip that step, you'll only get the file's name on the server. Limitation on files > 1mb Currently (as of 4/14/24) this only works for small files (< 1mb). For larger files you get an error: {"statusCode":413,"error":"Payload Too Large","message":"request entity too large"} . A workaround is to upload to another service client-side, send the URL from that service to your Val Town server, and then fetch the file server-side (helper: @stevekrouse/uploadTo0x0).
HTTP
github_oauth_proxy
pomdtr
github_oauth_proxy
Proxy Server for Github Oauth The mechanism is inspired from https://indielogin.com/
Script
indielogin_example
pomdtr
indielogin_example
@jsxImportSource npm:hono/jsx
HTTP
honoJsxAlpineReactive
yawnxyz
honoJsxAlpineReactive
Basic demo of getting reactive Alpine.js working on a hono/jsx "backend" For server <> frontend interaction, do form POST submissions (or potentially POST json to the public val address?) https://alpinejs.dev/start-here#building-a-counter
HTTP
PriestGPTClient
mjweaver01
PriestGPTClient
PriestGPT Client Client for https://www.val.town/v/mjweaver01/PriestGPT Ask him about books or verses in the bible, and he will be sure to give you a short homily about it!
HTTP
PriestGPT
mjweaver01
PriestGPT
Remix of: stevekrouse/weatherGPT
HTTP
key_value_api
mjweaver01
key_value_api
Remix of: brianleroux/key_value_api
HTTP
calorieapp
stevekrouse
calorieapp
@jsxImportSource npm:hono/jsx
HTTP