Turn your repos intojob-ready portfolio pieces

Poor documentation and messy git history cause hiring managers to skip over great code. Dokugen generates recruiter-ready READMEs and spotless Conventional Commits directly from your terminal.

dokugen

How Dokugen helps you ship faster.

Document, update and commit your project with everything you need, in one command.

dokugen generate

$ dokugen generate

Analyzing project files...

Scanning project files...

README.md created successfully

Instant README

dokugen update

$ dokugen update

Analyzing README structure...

Updating auto-generated sections...

Your custom content is untouched

Smart Updates

dokugen aic

$ dokugen aic

Files being committed:

Analyzing staged changes...

feat(auth): add device login

Commit with AI

Docs and commits, sorted in seconds

Dokugen is free, open source and works with any codebase, so you can spend your time building.

Trusted by developers

Real usage from real projects, updated live from the Dokugen backend.

2,137

generations so far

Works with any language

$ cd your-project

$ dokugen

✓ Detected project type

✓ README.md created successfully

React, Node, Python, Go, Rust, Java, PHP, C++ or Django. Install once, run it in any directory.

Getting Started

Method 1: Node.js

Install globally via npm, yarn, or pnpm if you have Node.js installed.

or: pnpm add -g dokugen@latest

Method 2: Python

Install via uv (recommended) or pip. The Python client is fully featured and production-ready.

or: pip install dokugen

3. Navigate to Project

Open your terminal and navigate to your project directory:

4. Launch Interactive Menu

Run the CLI command without arguments to open the interactive assistant:

5. Customize

Edit the generated README.md file to check the final output.

Features

System Design Diagrams

Developers love visuals, but manual diagrams go stale the second you push code. Dokugen automatically renders interactive, color-coded architecture flowcharts directly inside your README. Show off your system design instantly, build trust with users, and make your repo look 10x more professional without touching Figma.

Smart Updates

Never worry about losing your custom descriptions, notes, or badges. Smart Updates intelligently target only the auto-generated elements of your README, preserving your hand-written text perfectly. Keep your docs fresh and accurate without repeating your hard work.

Quality Commit Messages

Unprofessional git logs hurt your credibility. Boost your project's reputation with clean, Conventional Commit messages generated instantly from your actual file diffs. Save mental energy and push your changes with a single keystroke.

License Generation

Unlicensed code is dead code, companies won't touch it, and developers won't contribute. Protect your intellectual property and welcome contributors in seconds. Automatically detect the author and year, generate a compliant LICENSE, and get a human-readable summary so everyone feels safe using your work.

Zero-Config Experience

No API keys to copy and no account form to fill out. Sign in once through GitHub's secure device flow, then run Dokugen directly in any project.

Incremental Scanning

Don't waste time waiting for slow documentation builds. Our intelligent caching engine only rescans the files you modified, delivering lightning-fast updates in milliseconds. High performance that respects your development flow.

Custom Templates

Success leaves clues. If you admire a popular repository's layout, simply point Dokugen to it. We will replicate its exact structure and fill it with your project's details automatically, giving you the layout of top-tier projects instantly.

Interactive Prompt

Say goodbye to memorizing complex CLI arguments. Type a single command and let our friendly interactive guide walk you through README generation, licensing, and commits step-by-step. Smooth, effortless, and simple.

Language Agnostic

Dokugen works with any codebase! Whether your project is built in React, Node, Python, Go, Rust, Java, PHP, C++, or Django, it doesn't matter. Just install Dokugen globally on your machine using npm or Python, and run it in any directory.

Loading metrics...

Frequently Asked Questions

How do I install Dokugen?
Dokugen installs in seconds on any system. For Node.js users, run npm install -g dokugen or pnpm add -g dokugen. For Python, run uv tool install dokugen or pip install dokugen. You're just one command away from clean documentation.
Can I use custom templates?
Absolutely. Stand out from the crowd by matching the layout of your favorite repositories. Simply use the --template flag and provide any public README URL to instantly model your documentation after the best in the industry.
How does the AI Commit subcommand work?
Writing commits is tedious, but clean history is crucial for team projects. Dokugen reads your changes, writes Conventional Commits using Gemini, and lets you commit and push with one confirmation. Look professional without the cognitive load.
Does Dokugen require my own API keys?
No API keys or payment required to start. We provide a fully managed backend with shared API keys so you can experience Dokugen instantly. If you have extremely large projects or hit rate limits, you can easily plug in your own API key for unlimited use.
What is the license generation feature?
Did you know that without a LICENSE file, other developers legally cannot use, modify, or contribute to your code? Unlicensed repositories scare away contributors and companies alike. Protect your work and open the door to collaboration by running dokugen license. It auto-detects git details and generates a compliant LICENSE along with a human-readable summary that builds trust.
How do the colorized flowcharts work?
A picture is worth a thousand words. Dokugen automatically maps your project's structure and renders clean, color-coded architecture flowcharts inside your README. It assigns distinct colors to each service (like database, cache, or queue) and optimizes layout directions so your project structure is instantly readable.
What is the smart update command?
Most generators completely overwrite your manual edits, forcing you to copy-paste. Dokugen's smart update is different: it updates the technical directories and dependencies while leaving your carefully written descriptions, tutorials, and badges untouched. Keep your docs in sync with your code effortlessly.
Does Dokugen read my .env files or sensitive secrets?
Never. Dokugen explicitly ignores .env files and private credentials. Furthermore, Dokugen strictly respects everything in your repository's .gitignore file, so node_modules, build artifacts, and any custom ignored patterns are completely skipped during scans.

Want to improve Dokugen?

Dokugen is free and open-source. If it's saved you time, a star or a contribution goes a long way in keeping it alive and growing.

Contribute