A local-first novel writing application built with modern web technologies
- 🖥️ Local-First - Powered by LiveStore, all data is stored locally in the browser first
- 📝 Real-time Editing - Instant response without waiting for network
- 🔄 Auto Sync - Automatically syncs to Cloudflare Durable Objects
- 🌐 Cross-Device - Continue writing on any device after logging in
- 💾 Offline Support - Works perfectly without internet connection
- LiveStore
- TanStack Router
- shadcn/ui
- Hono
- Better-Auth
- Yjs
- Cloudflare Workers
- Durable Objects
# Clone the repository
git clone https://github.com/JinJieBeWater/dono.git
cd dono
# Install dependencies
pnpm install
# configure alchemy
pnpm alchemy configure
# cd into server app directory
cd apps/server
# create a .env file
cp .env.example .env
# generate a secret for better-auth, you can go to https://www.better-auth.com/docs/installation to generate one
# paste the secret to BETTER_AUTH_SECRET in .env
# generate a secret for alchemy, you can go to https://www.better-auth.com/docs/installation to generate one
# paste the secret to ALCHEMY_SECRET in .env
# cd into web app directory
cd apps/web
# create a .env file
cp .env.example .env
# Start development server
pnpm run dev