Everyone's a book. Each post is a chapter.
Chapters is a calm, intentional social platform for people with inner lives, curious minds, and discernment.
It's built for those who prefer depth over noise, reading over scrolling, and reflection over performance.
Discovery happens through ideas and writing, not algorithms or virality.
At its core, Chapters is a place to read closely, think deeply, and write when you're ready.
Muse AI lives quietly inside the experience as a creative and thinking companion, offering prompts, reflection, and support only when invited, never replacing the human voice.
Chapters is for people who:
- Read closely and think carefully
- Enjoy ideas, questions, and unfinished thoughts
- Value discernment over speed
- Want technology that respects attention
You don't need to be a writer.
You don't need to publish.
You just need an inner life.
- Current Status
- Quick Start
- Project Structure
- Tech Stack
- Design Philosophy
- Key Features
- Development
- Documentation
- Deployment
- What Makes Chapters Different
- Screenshots
- Contributing
- License
Backend: β
Complete (70+ tests passing)
Mobile App: β
Complete (React Native + Expo)
Web App: β
Complete (Next.js 14)
Deployment: π§ Ready for production setup
All core features implemented and tested. Ready for deployment to Render (backend), Netlify (web), and Expo EAS (mobile).
# Windows
scripts\start-dev.bat
# Mac/Linux
chmod +x scripts/start-dev.sh
./scripts/start-dev.shChoose option 1 (Full Docker) for the easiest setup.
# Windows
scripts\seed-docker.bat
# Mac/Linux
chmod +x scripts/seed-docker.sh
./scripts/seed-docker.shCreates 5 demo users (password: password123), chapters, and engagement data.
cd frontend
npm install
npm run devcd mobile
npm install
npm startAccess Points:
- Backend API: http://localhost:8000
- API Docs: http://localhost:8000/docs
- Web App: http://localhost:3000
For detailed setup, see docs/setup.md
chapters/
βββ backend/ # FastAPI backend (Python)
β βββ app/ # Application code
β β βββ auth/ # Authentication
β β βββ books/ # User profiles
β β βββ chapters/ # Chapter posts
β β βββ study/ # Drafts & notes
β β βββ library/ # Feeds & discovery
β β βββ muse/ # AI companion
β β βββ ... # Other modules
β βββ alembic/ # Database migrations
β βββ tests/ # Test suite (70+ tests)
β βββ pyproject.toml # Dependencies
β
βββ frontend/ # Next.js web app (TypeScript)
β βββ src/
β β βββ app/ # Pages (App Router)
β β βββ components/ # UI components
β β βββ hooks/ # React Query hooks
β β βββ services/ # API clients
β βββ package.json
β
βββ mobile/ # React Native app (TypeScript)
β βββ app/ # Expo Router pages
β βββ src/
β β βββ components/ # UI components
β β βββ hooks/ # React Query hooks
β β βββ services/ # API clients
β βββ package.json
β
βββ docs/ # Documentation
β βββ requirements.md # Feature requirements
β βββ design.md # System architecture
β βββ tasks.md # Implementation plan
β βββ visuals.md # Design system
β βββ README.md # Docs guide
β
βββ docker-compose.yml # Service orchestration
- Framework: FastAPI (Python 3.11+)
- Database: PostgreSQL 15+ with pgvector
- ORM: SQLAlchemy + Alembic migrations
- Cache & Queue: Redis 7+
- AI: OpenAI API (GPT-4, DALL-E 3, embeddings)
- Storage: S3-compatible (Cloudflare R2 / AWS S3)
- Testing: pytest with property-based tests
- Framework: React Native with Expo
- Language: TypeScript
- State: React Query + Zustand
- Animations: Reanimated 3
- Navigation: Expo Router
- Framework: Next.js 14 (App Router)
- Styling: Tailwind CSS + shadcn/ui
- Animations: Framer Motion
- Deployment: Netlify
Chapters is built with calm intentionality:
- Finite by Design - No infinite scroll, all feeds are bounded
- Intentional Publishing - One Open Page per day (max 3 stored)
- Privacy First - Everything starts private in Study
- AI as Companion - Muse assists but never overrides, only when invited
- Calm Engagement - No trending, no leaderboards, no streaks
- Colors: Warm, muted palette (Paper White, Ink Black, Soft Sage)
- Typography: Serif for reading, sans-serif for UI
- Interactions: Subtle, never demanding attention
- Inspiration: Books, libraries, lamplight, ink on paper
See docs/visuals.md for complete design system.
Write with intention:
- Open Pages - Daily publishing allowance (3 max, 1 per day)
- Study - Private workspace for drafts, notes, voice memos
- Rich Blocks - Text, images, audio, video, quotes (max 12 per chapter)
- Edit Window - 30 minutes to refine after publishing
- Muse AI - Writing prompts, title suggestions, tone shaping (optional, invited)
Read and discover:
- Library - Visual bookshelf of Books you follow
- Quiet Picks - 5 daily AI-curated recommendations (taste, not popularity)
- Spines - Discover Books through their work, not profiles
- Page-Turn Reading - Smooth, book-like experience on mobile
Share your work:
- Chapters - Rich, multimedia posts with mood and theme
- AI Covers - DALL-E 3 generated chapter covers (optional)
- Book Profile - Your living anthology with Inside Flap (bio)
- Privacy Controls - Public or private Books
Engage thoughtfully:
- Hearts - Appreciate chapters that resonate (Soft Sage, not red)
- Bookmarks - Save chapters to return to
- Shelf - Curate Books you want to keep close
- Margins - Comments hidden by default, revealed on demand
Connect through work:
- Between the Lines - Intimate 1:1 conversations (requires mutual follows + 3 chapters)
- Resonance - AI-calculated compatibility between readers
- Shelf - Public curation of Books that matter to you
- No Cold Outreach - All connection requires established presence
cd backend
poetry run pytest # Run all tests
poetry run pytest tests/properties/ # Property-based tests
poetry run pytest -v # Verbose outputcd backend
poetry run alembic revision --autogenerate -m "description"
poetry run alembic upgrade head
poetry run alembic downgrade -1cd backend
poetry run rq worker # Start background job worker# Web
cd frontend
npm run dev # Development server
npm run build # Production build
npm run lint # Lint check
# Mobile
cd mobile
npx expo start # Start Expo dev server
npx expo start --ios # iOS simulator
npx expo start --android # Android emulatorComprehensive documentation in the docs/ folder:
- vision.md - Product philosophy, manifesto, glossary, and copy guidelines
- requirements.md - Complete feature requirements (200+ requirements)
- design.md - System architecture and data models
- tasks.md - Implementation plan (41 tasks, mostly complete)
- visuals.md - Design system and color palette
- testing.md - Testing strategy and property tests
- deployment.md - Deployment guide
Quick reference for key terms (see vision.md for complete list):
User Identity:
- Book - Your profile (not "account")
- Inside Flap - Your bio (not "about")
- Book Portrait - Your profile picture
- Bindings - Account security (password)
Content:
- Chapter - A post (not "update")
- Open Page - Daily publishing allowance
- Block - Content element (text, image, audio, video, quote)
- Study - Private workspace for drafts and notes
Discovery:
- Library - Main view (not "feed")
- Bookshelf - Books you follow
- Spines - People discovery through work
- Quiet Picks - Daily AI recommendations
- Shelf - Curated collection of Books
Engagement:
- Heart - Appreciate a chapter (Soft Sage, not red)
- Bookmark - Save for later
- Margins - Comments (hidden by default)
- Between the Lines - Private 1:1 conversations
AI:
- Muse - Your creative companion (not "bot")
- Taste Profile - AI-learned preferences
- Resonance - Compatibility between readers
See docs/README.md for a guide to all documentation.
# Set environment variables in Render dashboard
# Deploy from GitHub with auto-deploy enabled
# PostgreSQL and Redis managed servicescd frontend
npm run build
# Deploy via Netlify dashboard or CLIcd mobile
eas build --platform all
eas submit --platform allSee docs/deployment.md for detailed instructions.
- No infinite scrolling - Bounded, page-based navigation
- No trending lists - Calm discovery through taste profiles
- No streak pressure - Create on your own schedule
- No red hearts - Soft Sage for gentle engagement
- No viral mechanics - Quality over virality
- No pure white/black - Warm, paper-like colors
- No auto-publish AI - Muse suggests, you decide
- No cold outreach - Between the Lines requires mutual trust
Library - Your Reading Space
Discover chapters through Bookshelf, New Chapters, Quiet Picks, Books & Spines, and Themes
Study - Your Private Workspace
Write and refine your chapters in private with Muse's gentle guidance
Muse AI - Your Creative Companion
Get suggestions for openings, titles, moods, and refinements - only when invited
Between the Lines - Thoughtful Conversations
Intimate 1:1 conversations with readers who resonate with your work
Preferences - Personalize Your Experience
Customize your Book profile, security settings, and Muse preferences
Chapters is built with intention and care. Before contributing, please read CONTRIBUTING.md to understand our values and approach.
We welcome thoughtful contributions that align with our philosophy of calm, depth, and respect for attention.
See LICENSE file for details.
Chapters is slow by design. It rewards reflection, depth, and presence.
Welcome to Chapters. Take your time.
Built with: FastAPI β’ React Native β’ Next.js β’ PostgreSQL β’ OpenAI
Designed for: Depth β’ Reflection β’ Authentic Expression

