bigmessage — Val Town

A trivial web app — anyone can change the big message on the front page, and all changes are logged by date and IP.

Part of the bigmessage project. This version runs on Val Town as an HTTP val with built-in SQLite for storage.

Stack

  • Compute: Val Town HTTP val
  • Storage: Built-in SQLite (10 MB cap)
  • Single file: bigmessage.ts

Deploy

  1. Go to val.town
  2. Create a new HTTP val
  3. Paste the contents of bigmessage.ts
  4. Save — it's live immediately

Routes

  • GET / — display the current big message
  • GET/POST /change — form to submit a new message
  • GET /log — history of all changes

Validation

Inline TLD and word lists are embedded in bigmessage.ts. To update them, edit the canonical files in the main bigmessage repo's data/ folder and run data/sync-lists.sh.