Skip to content

(Nearly) zero-config documentation framework for indie developers and product marketers Beautiful, fast, and maintainable. Clone, install, run.

License

Notifications You must be signed in to change notification settings

sturdy-barnacle/emberdocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

42 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

EmberDocs

Modern documentation framework with Git-native versioning, instant search, and developer-focused design.

License Status Next.js TypeScript


πŸš€ Quick Start

Get up and running in typically 2 minutes (with Node.js 18+ installed):

# Clone the repository
git clone https://github.com/sturdy-barnacle/emberdocs.git
cd emberdocs

# Install dependencies (~1-2 minutes)
npm install

# Configure (optional - EmberDocs works with defaults)
cp .env.example .env.local

# Start development server
npm run dev

Visit http://localhost:3000 to see your documentation site.

Note: The search index is automatically built during production builds (npm run build). For development, you can manually build it with npm run build:search if needed, but it's not required to get started.

Note: By default, the root route (/) redirects to your documentation index. To show the EmberDocs framework marketing landing page, set EMBERDOCS_SHOW_LANDING=true in .env.local.

Custom Documentation Content Directory

By default, EmberDocs uses docs/examples/ for documentation files. You can customize this by setting EMBERDOCS_CONTENT_DIR in .env.local:

# In .env.local
EMBERDOCS_CONTENT_DIR=docs/content  # Files stored in docs/content/ folder

After changing the directory, rebuild the search index:

npm run build:search

Custom Documentation Base Route

By default, documentation pages are served at /docs/*. You can change this URL prefix by setting EMBERDOCS_BASE_ROUTE in .env.local:

# In .env.local
EMBERDOCS_BASE_ROUTE=/documentation  # URLs: /documentation/getting-started/intro
EMBERDOCS_BASE_ROUTE=/help           # URLs: /help/getting-started/intro

Example: Use different directory and URL:

EMBERDOCS_CONTENT_DIR=content              # Files in content/ folder
EMBERDOCS_BASE_ROUTE=/documentation        # URLs at /documentation/*

πŸ“– About EmberDocs

EmberDocs is a modern documentation framework designed for developers who want:

  • Git-Native Versioning - Version detection from Git tags (routing planned for Phase 02)
  • Instant Search - <50ms for typical queries (FlexSearch with ⌘K shortcuts)
  • Dark Theme First - Developer-focused dark UI with light mode support
  • Mobile Optimized - Touch-optimized responsive design
  • Zero Config - Typically 2-minute setup time (with Node.js 18+ installed)
  • Privacy First - No third-party trackers
  • Free Forever - Core framework free to self-host
  • Theme Options - Choose between dark (default), light, or monochrome theme via EMBERDOCS_THEME

πŸ›  Technology Stack

Layer Technology
Frontend Next.js 16+, React 18+, TypeScript 5+
Styling Tailwind CSS 3+
Search FlexSearch (client-side)
Deployment Vercel, Netlify, or self-hosted

πŸ“‚ Project Structure

emberdocs/
β”œβ”€β”€ docs/                          # πŸ“‹ Example documentation (user-facing)
β”‚   └── examples/                  # Sample docs for testing/demonstration
β”œβ”€β”€ dev-docs/                      # πŸ’» Developer documentation
β”‚   β”œβ”€β”€ specs/                    # Technical specifications
β”‚   β”‚   β”œβ”€β”€ EMBERDOCS-TECHNICAL-SPEC.md
β”‚   β”‚   β”œβ”€β”€ EMBERDOCS-DATABASE-SCHEMA.md
β”‚   β”‚   β”œβ”€β”€ EMBERDOCS-API-SPEC.md
β”‚   β”‚   └── EMBERDOCS-ROADMAP.md
β”‚   β”œβ”€β”€ guides/                   # Development guides
β”‚   β”‚   β”œβ”€β”€ ARCHITECTURE-DECISIONS.md
β”‚   β”‚   β”œβ”€β”€ DEVELOPMENT-STANDARDS.md
β”‚   β”‚   β”œβ”€β”€ DEV-SETUP-VERIFICATION.md
β”‚   β”‚   └── FEATURE-DEPENDENCIES.md
β”‚   β”œβ”€β”€ planning/                  # Phase plans (e.g., mvp_phase01of02.md)
β”‚   β”œβ”€β”€ progress/                  # Daily progress logs
β”‚   β”œβ”€β”€ PROJECT-OVERVIEW.md        # Complete package overview
β”‚   β”œβ”€β”€ USER-STORIES.md            # User stories & personas
β”‚   β”œβ”€β”€ EMBERDOCS-LICENSING.md     # Licensing model
β”‚   β”œβ”€β”€ ACCESSIBILITY-AUDIT.md     # Accessibility audit results
β”‚   β”œβ”€β”€ Setup.md                   # Installation guide
β”‚   β”œβ”€β”€ Deployment.md              # Deployment guide
β”‚   └── Quick-Reference.md          # Developer cheat sheet
β”œβ”€β”€ brand/                         # 🎨 Brand & design system
β”‚   β”œβ”€β”€ emberdocs-brand-guidelines.md
β”‚   └── EMBERDOCS-STYLE-GUIDE.md
β”œβ”€β”€ mockups/                       # πŸ–Ό UI/UX mockups
β”‚   β”œβ”€β”€ landing/                   # Landing page variations
β”‚   └── ui/                        # Application UI screens
β”œβ”€β”€ logos/                         # πŸ”₯ Logo assets
└── src/                          # πŸ’» Source code

πŸ“š Documentation

For Developers

For Designers

For Contributors


🎯 Key Features

Core Features

  • βœ… Markdown & MDX support
  • βœ… Git-based versioning
  • βœ… Full-text search (<50ms for typical queries)
  • βœ… Dark/light themes
  • βœ… Mobile responsive
  • βœ… Code syntax highlighting
  • βœ… Table of contents auto-generation

Advanced Features

  • πŸ”„ Multi-language support (planned)
  • πŸ”„ API documentation generator
  • πŸ”„ Interactive examples
  • πŸ”„ Version comparison
  • πŸ”„ Privacy-first analytics

πŸ“Š Performance Targets

Metric Target Current
Search Response <50ms (typical) <50ms for typical queries
Initial Load (TTI) <1s -
Build Time <1s per page ~30s for 1000 docs
Lighthouse Score 100/100/100/100 ~90 accessibility, ~85 performance

πŸ—Ί Development Phases

MVP (Weeks 1-6)

Core documentation engine with markdown parsing, basic search, and dark mode.

Beta (Weeks 7-12)

Multi-version support, advanced search, mobile navigation, and CLI tool.

v1.0 (Weeks 13-16)

Performance optimization and hosted service.

πŸ‘‰ View Detailed Roadmap


πŸ” License

  • Core Framework: Proprietary source-available license (free to use and self-host; redistribution is not permitted)
  • Hosted Service: Proprietary (optional premium offering)

See EMBERDOCS-LICENSING.md for details.


🀝 Contributing

We welcome your feedback and bug reports! The best way to contribute is by submitting Issues:

Development Setup

If you'd like to contribute code, here's how to set up your development environment:

# Install dependencies
npm install

# Run tests
npm test

# Start development
npm run dev

Note: By submitting code contributions, you grant us a license to use your contribution as part of EmberDocs under our proprietary license. See LICENSE section 4 for details.


🌟 Design Philosophy

  1. Minimal & Functional - Focus on content, not decoration
  2. Developer First - Built by developers, for developers
  3. Privacy Matters - No tracking, no data collection
  4. Performance Obsessed - Every millisecond counts
  5. Open & Transparent - Source-available core

πŸ“ž Support & Community


πŸ™ Acknowledgments

Built with:


Made with πŸ”₯ by the EmberDocs team

About

(Nearly) zero-config documentation framework for indie developers and product marketers Beautiful, fast, and maintainable. Clone, install, run.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •