Complete guide to getting started with Doclific
curl -fsSL https://raw.githubusercontent.com/muellerluke/doclific/main/scripts/install.sh | bashThis will download the latest release for your platform, install the binary to/usr/local/bin(or ~/.local/bin if you don't have write permissions), and set up the frontend build files.
Note: Make sure ~/.local/bin(or /usr/local/bin) is in your PATH if it's not already.
~/.config/doclific/config.jsonYou can manage it using the get and set commands, or edit the file directly.
Current Status: Doclific currently supports Google's Gemini AI models. Support for OpenAI and Anthropic is planned for future releases.
To use AI-powered documentation generation, configure Google AI:
# Set your Google API key (required)
doclific set GOOGLE_API_KEY your-api-key-here
# The provider defaults to "google", but you can explicitly set it:
doclific set AI_PROVIDER google
# Set the model (optional, defaults to gemini-3-flash-preview)
doclific set AI_MODEL gemini-3-flash-previewFuture Support: OpenAI and Anthropic providers will be supported in upcoming releases. The configuration keys (OPENAI_API_KEY,ANTHROPIC_API_KEY) are already available for future use.
Doclific includes powerful ERD diagramming capabilities. You can create detailed Entity Relationship Diagrams directly within your documentation. The AI assistant can help generate ERDs based on your codebase structure, making it easy to visualize database relationships and schema designs.
Use the built-in whiteboarding feature to create visual architecture diagrams, system designs, and flowcharts. Perfect for documenting complex systems, planning new features, and visualizing how different components interact in your codebase.
Initialize a project:
cd /path/to/your/project
doclific initStart the server:
doclificOpen the web interface: The browser will open automatically, or navigate to http://localhost:6767
Create documentation: Use the Notion-like editor to create and edit your documentation. Use the slash menu (/) to add blocks, ERD diagrams, whiteboards, and more to visualize your architecture.
Use AI assistance: Select AI options from the slash menu (/) in the editor to generate documentation, ERDs, and diagrams using AI
doclific init, your project will have:your-project/
└── doclific/
└── [documentation folders]/
├── config.json
└── content.mdxEach documentation folder contains:
config.json: Metadata (title, icon)content.mdx: The documentation content in MDX formatVideo tutorial or walkthrough placeholder
Add a video demonstrating Doclific's features here
Install Doclific and start documenting your codebase today