A playful mood journal that visualizes each day as a “planet” you place into one of several emotional orbits (e.g., Calm, Focused, Anxious, Energized), with quick tags and a one-line note. The main screen is an interactive solar-system-style map where you can drag planets between orbits, click a planet to edit details, and filter by tag or date range. Everything runs locally (localStorage), with a simple stats view showing streaks, most-used tags, and a monthly mini-calendar synced to the orbit visualization.
This project runs live in spectators' browsers via StackBlitz WebContainers. Use only WebContainer-compatible dependencies:
- Database: PGlite (
@electric-sql/pglite) — Postgres compiled to WASM - ORM: Drizzle ORM (
drizzle-orm/pglite) - No Turbopack: Next.js MUST use
next dev --no-turbopack(set in package.json scripts). Turbopack requires native bindings unavailable in WebContainers. - No native addons: Avoid
sharp,bcrypt,better-sqlite3,prisma, etc. - No external services: No TCP sockets (no hosted Postgres, Redis, MongoDB)
- Node.js only: No Python, Go, Rust, etc.
If this project uses a database, include a seed.ts file with realistic demo data that runs on every app boot. Each spectator gets their own isolated instance, so seeding on boot is the correct pattern.