A tiny public guestbook that showcases a handful of Val Town basics in one little app. Anyone with the link can drop a one-liner on the board, and a fresh "vibe of the day" rolls over every morning.
Try the app ยท lives at https://vibe-board.val.run/
| Capability | Where |
|---|---|
| ๐ HTTP endpoint | main.ts โ Hono server, served at a custom subdomain |
| ๐๏ธ SQLite | main.ts โ visitor counter + guestbook notes via std/sqlite |
| โ๏ธ Blob storage | daily-vibe.ts โ the daily vibe persisted via std/blob |
| ๐ Interval cron | daily-vibe.ts โ runs at 10 0 * * * (UTC) |
| ๐ค Viewer identity | main.ts โ greets logged-in visitors via X-Val-Town-User |
main.ts โ the HTTP app: renders the page, accepts POSTs, and exposes a JSON API at /api/notes.vibes.ts โ a shared list of vibes + the deterministic vibeFor(date) picker.daily-vibe.ts โ a nightly cron that stores today's vibe in blob storage.std/sqlite and std/blob.