Working name: Dayboard (placeholder — rename freely; keep the name in one constant/config so it’s a one-line change). Owner: Maurice Price / IWC Digital Goal: A personal, privacy-first replacement for the Momentum browser extension — a calm, beautiful new-tab dashboard for desktop browsers, with no account, no tracking and no paywall.
Build a browser extension that replaces the browser’s New Tab page with a full-screen personal dashboard: background photo, large clock, greeting, a daily focus, to-dos, a quote, weather, search and quick links.
It must:
Out of scope for v1: mobile, Safari, team features, paid tiers, a server.
| Concern | Choice |
|---|---|
| Extension framework | WXT (wxt.dev) — Manifest V3, builds Chrome + Firefox targets |
| UI | Vue 3 (Composition API, <script setup>) + TypeScript (strict) |
| Styling | Tailwind CSS |
| State | Pinia, persisted through a thin wrapper over browser.storage |
| Weather | Open-Meteo API (free, no API key) + Open-Meteo geocoding for city search |
| Photos | Bundled local photo set (v1) + optional Unsplash source (user supplies own Access Key in settings) |
| Quotes | Bundled JSON file (user-editable via settings; supports custom quotes) |
| Testing | Vitest (unit) + Playwright (load the built extension, smoke-test new tab) |
| Lint/format | ESLint + Prettier |
| Package manager | pnpm |
Use browser.* via WXT’s polyfill so the code is cross-browser. No jQuery, no heavy UI kits.
chrome_url_overrides.newtab → the dashboard page.local (default): ~20 royalty-free landscape images bundled in /public/backgrounds/ (Claude Code: use placeholder gradients + a README noting where Maurice drops his own images; do not download images from the web).unsplash: if user enters an Unsplash Access Key, fetch a random photo from a chosen topic (nature, architecture, etc.). Must display photographer credit + link (Unsplash guidelines) and trigger the download-tracking endpoint as required.custom: user uploads their own images (stored in IndexedDB, not sync storage — size limits).solid/gradient: colour option.%s).browser.search API where available so it respects the user’s default engine.chrome://favicon where permitted; fall back to letter avatar).topSites permission (only requested if the user enables it — use optional permissions).Slide-in panel with tabs:
Two-step: “Hello, what’s your name?” → “What’s your main focus today?” → dashboard. Skippable.
/ focuses search, t toggles to-do, f edits focus, Esc closes panels.prefers-reduced-motion.clamp().browser.storage.sync for small settings + to-dos + focus + quotes (respect quota: 100 KB total / 8 KB per item — chunk to-do lists if needed, and fall back to storage.local with a warning if exceeded).browser.storage.local for weather cache, photo metadata cache.src/types/storage.ts with a schemaVersion and a migration function for future changes.Required: storage.
Optional (requested at the moment the user enables the feature): geolocation, topSites, search.
Host permissions: only https://api.open-meteo.com/*, https://geocoding-api.open-meteo.com/*, https://api.unsplash.com/*, https://images.unsplash.com/* — and Unsplash ones as optional host permissions.
No content scripts. No <all_urls>. No remote code.
dayboard/
wxt.config.ts
src/
entrypoints/
newtab/ # index.html, main.ts, App.vue
background.ts # minimal: image prefetch alarm, midnight reset alarm
components/
Clock.vue Greeting.vue Focus.vue TodoPanel.vue
Quote.vue Weather.vue Search.vue Links.vue
Background.vue SettingsPanel.vue Onboarding.vue
stores/ # Pinia stores per domain
services/ # weather.ts, unsplash.ts, storage.ts, imageCache.ts
data/ # quotes.json
types/
public/
backgrounds/ # bundled images (placeholder README)
icons/ # 16/32/48/128 icons (placeholder)
tests/
Work through these in order. Commit at the end of each phase; stop and report after each so the owner can review.
alarms.pnpm build and pnpm zip for both browsers; README with install-unpacked instructions and store-submission checklist (Chrome Web Store, Edge Add-ons, Firefox AMO), plus a PRIVACY.md suitable for the store listing.pnpm lint and pnpm typecheck clean.useStorage, useNow, useMidnight).TODO(maurice): markers where owner input is needed (icons, final name, bundled photos, starter quotes).Pomodoro timer · habit tracker · notes widget · countdowns · calendar (Google/Outlook) glance · daily reflection/journal prompt · “Quote from my books” mode drawing from Maurice’s own writing · optional self-hosted sync via a small Laravel API.