BookForge is a powerful desktop application that enables users to generate complete books using various AI providers. Whether you're an author, educator, content creator, or just someone with a story to tell, BookForge makes it easy to transform your ideas into well-structured books.
- π€ Multi-Provider Support: Works with Groq, Claude, OpenAI, Gemini, and Ollama
- π° Token Tracking: Real-time token counting and cost estimation
- π Smart Generation: Two-phase generation for structure and content
- π¨ Customizable Output: Multiple export formats (Markdown, HTML, PDF)
- π₯οΈ Cross-Platform: Native desktop app for Windows, macOS, and Linux
- π Secure: Your API keys are encrypted and stored locally
- π― User-Friendly: Designed for non-technical users
- β‘ Fast: Streaming generation with real-time preview
Visit the Releases page to download the latest version for your platform:
- Windows: Download the
.exeinstaller - macOS: Download the
.dmgfile - Linux: Download the
.AppImageor use the Snap package
# macOS (Homebrew)
brew install --cask bookforge
# Linux (Snap)
sudo snap install bookforge
# Linux (Flatpak)
flatpak install flathub com.bookforge.BookForge- Launch BookForge from your applications menu
- Configure your AI provider in Settings
- Enter your book topic and any additional instructions
- Choose your provider and model
- Click Generate and watch your book come to life!
- Export in your preferred format
- Open Settings from the sidebar
- Select your preferred AI provider
- Enter your API key (keys are encrypted locally)
- Configure model preferences and endpoints
| Provider | Models | Notes |
|---|---|---|
| Groq | Llama 3.3, Mixtral | Fast inference, good for quick generation |
| Claude | Claude 3 Opus/Sonnet | High-quality output, great for creative writing |
| OpenAI | GPT-4, GPT-3.5 | Versatile, good balance of speed and quality |
| Gemini | Gemini Pro | Google's latest models |
| Ollama | Local models | Run models locally, no API key needed |
Topic: "Introduction to Machine Learning"
Style: Educational
Length: Medium (10 chapters)
- Writing Style: Academic, Casual, Professional, Creative
- Complexity: Beginner, Intermediate, Advanced, Expert
- Audience: General, Technical, Young Adult, Children
- Length: Short (5 chapters), Medium (10 chapters), Long (20+ chapters)
- Clean, portable format
- Compatible with Pandoc, Quarto, and other tools
- Includes front matter metadata
- Responsive design with multiple themes
- Print-friendly CSS
- Syntax highlighting for code blocks
- Professional formatting
- Customizable headers/footers
- Table of contents with page numbers
- Node.js 18+
- pnpm (recommended) or npm
- Git
# Clone the repository
git clone https://github.com/yourusername/bookforge.git
cd bookforge
# Install dependencies
pnpm install
# Run in development mode
pnpm dev
# Build for production
pnpm build
# Run tests
pnpm testbookforge/
βββ src/
β βββ main/ # Electron main process
β βββ renderer/ # Next.js frontend
β βββ shared/ # Shared types and utilities
β βββ preload/ # Electron preload scripts
βββ resources/ # Application resources
βββ dist/ # Build output
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- π§ Email: support@bookforge.app
- π¬ Discord: Join our community
- π Issues: GitHub Issues
- π Documentation: docs.bookforge.app
- Collaboration features
- Image generation integration
- Advanced templates
- Cloud sync
- Mobile companion app
- Publishing platform integration
