Lydie
Lydie is a modern writing workspace for structured documents, notes, and knowledge.
Install / Use
/learn @lydiehq/LydieREADME
Lydie
Lydie is a high-performance writing workspace that scales from simple notes to deeply structured, interconnected knowledge systems.

🚀 Quick Start
Development (SST, recommended)
bun install
bun run db:migrate
bun run dev
dev auto-starts Docker Postgres and auto-stops it on exit.
If you want to keep Postgres running after exit, use KEEP_DB_RUNNING=1 bun run dev.
This starts the local SST multiplexer and runs local dev processes for:
- Web App: http://localhost:3000
- Backend API: http://localhost:3001
- Zero Sync: http://localhost:4848
- Marketing: local Astro dev server in the SST tabs
sst dev still expects Postgres at localhost:5432; bun run dev now handles that automatically.
Development (Docker, optional)
bun run docker:dev
Access:
- Web App: http://localhost:3000
- Backend API: http://localhost:3001
- Zero Sync: http://localhost:4848
Run migrations (if needed):
bun run db:migrate
Production (AWS)
See Deployment Guide for AWS deployment with SST.
bun run deploy:prod
🛠️ Tech Stack
- Frontend: React, Vite, TanStack Router
- Backend: Hono, Better Auth
- Database: PostgreSQL, Drizzle ORM
- Real-time: Zero sync, WebSockets
- AI: Vercel AI SDK
- Infrastructure: SST (local orchestration + AWS), Docker (optional local/self-host)
📁 Project Structure
├── docker/ # Docker Compose + nginx config
├── infra/ # SST AWS infrastructure
├── packages/
│ ├── config/ # Environment configuration
│ ├── web/ # React SPA
│ ├── backend/ # Hono API server
│ ├── core/ # Shared logic
│ ├── database/ # Drizzle ORM schema
│ └── zero/ # Zero sync configuration
└── docs/
└── DEPLOYMENT.md # Local dev, self-hosting & AWS deployment
📦 Deployment Options
| Environment | Command | Notes |
| ------------- | ------------ | ------------------------------ |
| Local Dev | bun run dev | SST multiplexer + local processes |
| Local Dev (Alt) | bun run docker:dev | Docker Compose with hot reload |
| AWS Prod | bun run deploy:prod | ECS Fargate, S3, CloudFront |
🧪 Development
# Start local development (recommended)
bun run dev
# Optional: Docker-based development
bun run docker:dev
# Optional: run migrations
bun run db:migrate
# Optional: Postgres only for SST dev
bun run docker:db:up
🔄 CI/CD
GitHub Actions workflow included at .github/workflows/ci-cd.yml:
- Lint and type check
- Build Docker images
- Run E2E tests
- Deploy with SST
📚 Documentation
- Deployment - Local dev, self-hosting & AWS production deployment
- Migration Summary - Implementation details
📄 License
MIT License - See LICENSE for details
Related Skills
bluebubbles
350.8kUse when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration). Calls go through the generic message tool with channel="bluebubbles".
slack
350.8kUse when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
qqbot-channel
350.8kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
frontend-design
110.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
