Public
Remixed
Idea inbox: UI, API, SQLite, email & cron
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.

Idea Inbox — ChatGPT plugin marketplace demo

A tiny personal operations hub built entirely through the Val Town plugin.

The story

Ideas arrive everywhere. This val gives them one home:

  • Web UI: capture, review, and complete ideas.
  • HTTP API: connect forms, agents, or any other app.
  • SQLite: durable, structured, val-scoped persistence.
  • Email trigger: forward an email and its subject/body becomes an idea.
  • Scheduled job: compile new ideas into a daily digest stored in Blob.
  • Runnable script: initialize the database with demo data.

Everything is split into inspectable files and the live app links back to its source.

API

  • GET /api/ideas
  • POST /api/ideas with {"title":"...","note":"..."}
  • PATCH /api/ideas/:id/toggle
  • GET /api/digest
  • GET /api/health

The scheduled job runs at 13:00 UTC (roughly morning in New York).