Doclific is an internal documentation tool that features a modern, Notion-like rich text editor for creating and managing your project documentation. Built with a powerful CLI and a beautiful web interface, Doclific makes it easy to document your codebase, APIs, and project knowledge.
- π Notion-like Editor: Rich text editing experience with support for headings, lists, code blocks, and more
- π Codebase Integration: Reference code snippets directly from your repository
- π Smart Navigation: Organized folder structure for easy documentation management
- β‘ Fast & Local: Runs entirely on your machine - no external services required
- π Auto-Updates: Automatically checks for and installs updates
Install Doclific with a single command:
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/binif you don't have write permissions) - Set up the frontend build files
- Automatically add skills for Cursor and Claude Code to
~/.cursor/skillsor~/.claude/skills(if those directories exist)
Note: Make sure ~/.local/bin (or /usr/local/bin) is in your PATH if it's not already.
Skills Installation: The installation script will automatically add Doclific skills to Cursor and Claude Code if those applications are installed. If the skills are not automatically added, you can manually copy them from the skills/ directory in this repository to ~/.cursor/skills/ or ~/.claude/skills/ as needed.
Doclific includes skills that allow Cursor and Claude Code to automatically generate documentation for your project. Here's how to use them:
To generate documentation for a specific document, simply ask Cursor or Claude Code:
Write documentation for the "Getting Started" document
or
Generate documentation for the "API Reference" page
The AI will:
- Find the document by title in your
doclific/folder - Write well-structured MDX documentation to the
content.mdxfile - Use code snippets from your codebase when relevant
To create an Entity Relationship Diagram (ERD) for your database schema, you must explicitly request an ERD:
Create an ERD diagram for my database schema
or
Generate an ERD showing the relationships between Users, Posts, and Comments tables
When you request an ERD, the AI will:
- Ask you about your database schema (tables, columns, relationships)
- Generate the properly formatted JSON for the ERD component
- Add the
<ERD>component to your documentation
Important: If you want an ERD diagram, make sure to mention "ERD" or "Entity Relationship Diagram" in your prompt. The AI will not automatically create ERDs unless you specifically request them.
- Be specific about which document you want to update
- Mention if you want code snippets included
- For ERDs, describe your tables, columns, and relationships clearly
- You can ask for multiple documents to be updated in one session
Start the Doclific server (default command).
doclific
# or specify a custom port
doclific --port 8080Options:
-p, --port: Port to listen on (default: 6767)
The server will automatically open your browser to the web interface.
Initialize a new Doclific project in the current directory.
doclific initThis creates a doclific folder structure where your documentation will be stored.
Get a configuration value.
doclific get DEEPLINK_PREFIXAvailable keys:
DEEPLINK_PREFIX- Prefix for deep linking
Set a configuration value.
doclific set DEEPLINK_PREFIX https://example.comShow the current version of Doclific.
doclific versionManually check for updates and install the latest version.
doclific updateNote: Doclific automatically checks for updates when you run any command. This command is useful for manual updates or checking update status.
Doclific stores configuration in ~/.config/doclific/config.json. You can manage it using the get and set commands, or edit the file directly.
-
Initialize a project:
cd /path/to/your/project doclific init -
Start the server:
doclific
-
Open 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
After running doclific init, your project will have:
your-project/
βββ doclific/
βββ [documentation folders]/
βββ config.json
βββ content.mdx
Each documentation folder contains:
config.json: Metadata (title, icon)content.mdx: The documentation content in MDX format
Doclific automatically checks for updates every time you run a command. If a newer version is available, it will:
- Download and install the update
- Exit with a message asking you to restart the command
- Continue normally if already up to date
You can disable auto-updates by running the update command manually when needed.
- Go 1.25+ (for building from source)
- Node.js 20+ (for building the frontend)
- A modern web browser
Copyright Β© 2026 Luke Mueller
Licensed under the Apache License, Version 2.0
See LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
For issues, questions, or feature requests, please open an issue on GitHub.