Your personalized productivity hub - a centralized, intelligent command center for your digital life.
- Runtime: Bun
- Backend: ElysiaJS with WebSocket support
- Frontend: React 19 with Vike (SSR)
- Database: PostgreSQL via HamCloud with Drizzle ORM
- AI: Mastra framework with Google AI SDK
- State Management: Tanstack Query
- Bun installed
- PostgreSQL database (via HamCloud or local)
- API keys for integrations (HamBot, Notes Server, Google AI)
- Clone the repository:
git clone <your-repo-url>
cd hamflow- Install dependencies:
bun install- Set up environment variables:
cp .env.example .env
# Edit .env with your configuration
# Make sure to change JWT_SECRET to something secure- Run database migrations:
bun db:generate
bun db:migrate- Start development server:
bun dev- Initial setup (first time only):
- Navigate to http://localhost:3001/login
- Click "Setup account" to create your user
- Save the generated USER_PASSWORD_HASH to your .env file
- Use "Quick Login" for future access
The application will be available at:
- Frontend: http://localhost:3001
- Backend API: http://localhost:3000
bun dev- Start development servers (frontend + backend)bun build- Build for productionbun start- Start production serverbun db:generate- Generate database migrationsbun db:migrate- Run database migrationsbun db:studio- Open Drizzle Studio for database managementbun lint- Run ESLintbun type-check- Check TypeScript types
hamflow/
├── src/
│ ├── server/ # Backend (ElysiaJS)
│ │ ├── routes/ # API routes
│ │ ├── database/ # Database utilities
│ │ └── index.ts # Server entry with SSR
│ ├── pages/ # Frontend pages (Vike)
│ ├── components/ # React components
│ ├── hooks/ # Custom React hooks
│ ├── utils/ # Shared utilities
│ └── mastra/ # AI agents and tools
├── drizzle/ # Database schema and migrations
├── public/ # Static assets
└── scripts/ # Build and utility scripts
- Project scaffolding
- Database schema
- Basic routing
- HamCloud auth integration
- Board CRUD operations
- Drag-and-drop tasks
- Real-time WebSocket sync
- Work/Personal space separation
- Google Calendar integration
- Task due dates sync
- Agenda view
- Command bar with natural language
- Voice input
- HamBot notifications
- Reminder scheduling
See design_document.md for full feature specifications.