Welcome to CozyHub! The dashboard designed to help you organize chaos into structured, productive deep work.
CozyHub Open Source (this repository) contains the core NextJS application and "CozyIcon" design system. It is meant to serve as the foundation for any developer wanting to build an extensible, low-clutter focus application.
- Cozy glassmorphism dashboard with kawaii-friendly interaction patterns.
- Agent architecture with Prime + specialist workflows.
- Branding Day Mode with AI insight cards, funnel snapshots, channel mix, and moments tracking.
- Weekly AI summary pipeline ready for Monday-night automation.
CozyHub was created to support real-world executive function needs, including ADHD, OCD, autism, and broader neurodivergent workflows.
Design intent includes:
- low-clutter daily focus views to reduce overwhelm,
- predictable structure and repeatable routines,
- gentle reminders and pacing cues to prevent burnout,
- clear task framing that lowers context-switching friction.
To let you explore the application immediately without needing to configure complex database connections, the Open Source repository defaults to Demo Mode.
Demo Mode replaces all live Notion/Gemini API calls with local static JSON seeds located in /public/data.
-
Install dependencies
npm install
-
Boot the dashboard
npm run dev
Note: Because
NEXT_PUBLIC_DEMO_MODE=trueis set as the default in the internal routing, the project will boot instantly.
- Node.js
22.xis the supported runtime for local development and CI. - Use
.nvmrcwithnvm usebefore running install, lint, or build steps.
Run the full pre-release verification locally before opening or merging a release PR:
npm run release:checkInstall the release smoke browser once per machine:
npx playwright install chromiumRun the smoke suite explicitly with:
npm testThis repository runs the public OSS tier. The maintainers simultaneously operate a Private Edition which includes proprietary hooks not found here.
| Capability | OSS Edition | Private Edition |
|---|---|---|
| Cozy dashboard (widgets, clock, focus UX) | ✅ | ✅ |
| Agent framework (Prime, specialists, delegation scaffolding) | ✅ | ✅ |
| Sub-agent/team orchestration with live production connectors | ✅ | |
| Branding Day widgets + local summary store | ✅ | ✅ |
| Live Notion bi-sync and ticket orchestration | ✅ | |
| NotebookLM-powered brief + weekly summary pipeline | ✅ | |
| Antigravity / Codex connector hooks | ✅ | |
| Proprietary operator logic + internal runbooks | ❌ | ✅ |
If you wish to fork this project and wire up your own external databases, review the .env.example file. This file outlines every variable required to connect Notion and Gemini API keys.
For detailed setup instructions on configuring the above modes, please see the following guides:
- Notion Database Schema Setup
- Agent Webhooks & Router Setup
- Firebase & NotebookLM Integrations
- Web Deployment Guide
Never commit your .env or .env.local files!
The CI pipelines (.github/workflows/secret-scan.yml) strictly enforce TruffleHog scanning. If you attempt to merge secrets, your pull request will be rejected.
You can run CozyHub in three levels:
-
Demo mode (zero keys)
- Just run
npm install+npm run dev.
- Just run
-
Live personal mode (bring your own keys/tokens)
- OpenAI and/or Gemini key for model-backed routes.
- Notion integration token + database IDs.
- NotebookLM authentication + notebook mapping.
- Optional: Twilio (SMS), Firebase, webhook secrets.
-
Ops mode (agent teams + external executors)
- Configure connector endpoints/secrets for your execution stack (for example Codex/Antigravity-style workers).
- Enable weekly automation routes and scheduler tokens.
- Keep strict secret management in CI and deployment.
- OSS does include agent/sub-agent/team architecture.
- Live capability requires your own credentials and endpoints.
- No shared production keys are bundled in this repository.
This repo includes local scripts for @googleworkspace/cli:
npm run gws:statusnpm run gws:loginnpm run gws:setupnpm run gws:smoke
Recommended setup for this project:
- Keep auth state in repo-local
.gws:export GOOGLE_WORKSPACE_CLI_CONFIG_DIR="$PWD/.gws"
- Place Desktop OAuth file at:
./.gws/client_secret.json
- Authenticate:
npm run gws:login
- Verify end-to-end:
npm run gws:smoke
This avoids threads writing credentials to the wrong folder and keeps the workflow consistent across agents.
If you hit Failed to decrypt credentials, re-run login in the same shell. If it still persists, run GWS auth commands with Node 22 LTS for stability.
We take supply chain and application security seriously.
- Please see
.github/PULL_REQUEST_TEMPLATE.mdfor mandated merge checks. - Please see SECURITY.md for vulnerability reporting guidelines.
- Please see CHANGELOG.md for the release-summary history.
If you wish to contribute to the open-source layer, review the CONTRIBUTING.md guide! We actively welcome improvements to the UI layout, the CozyIcon motion engine, and accessibility audits.
This project is licensed under the MIT License.