Skip to main content

Automatically generate high-quality README for your application

Project description

Dokugen (Python Client)

Dokugen is a lightweight, AI-powered README.md generator command-line tool. It automates writing and updating project documentation, ensuring clean, consistent, and professional README files.


⚡ Quick Start

Installation

Install Dokugen globally using uv (recommended) or pip:

uv tool install dokugen
# or
pip install dokugen

🚀 Usage

1. Launch the Interactive Assistant

Simply run dokugen in your project folder to open the interactive setup assistant. From here, you can generate a README, update files, revert backups, or run AI-assisted Git commits.

dokugen

Note: If dokugen command is not in your PATH, you can also run it via Python:

python -m dokugen

2. Standalone Commands

Generate README

Scan your project files and construct a new README.md.

dokugen generate

Generate README with a custom Template

Use any public README.md file as a structure template.

dokugen generate --template https://raw.githubusercontent.com/username/repo/main/README.md

Smart Update README

Intelligently rebuilds auto-generated sections (tech stack, API details, file layout) while keeping your custom text, notes, and badges intact.

dokugen update

AI Git Commit (aic)

Analyze your staged files, generate a Conventional Commit message automatically, commit, and optionally push.

dokugen aic
# or
dokugen aic --push

Safety Backup Revert (revert)

Accidentally generated something you didn't like? Restore your previous README instantly from our automatic backup.

dokugen revert

✨ Features

  • Interactive Menu: Run dokugen with no arguments to navigate all tool actions in a beautiful console prompt.
  • Smart Updates: Re-run the generation process without losing your manual modifications. Only auto-generated blocks get updated.
  • AI-Powered Commits: Automatic staging and conventional commit message generation via Gemini.
  • Compressed Uploads: Efficiently packages codebases with 70–90% upload size compression to support larger projects.
  • Language Agnostic: Works out of the box with JavaScript, TypeScript, Python, Rust, Go, C#, C++, Java, and more.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🤝 Contributing

Contributions are welcome! Read our Contribution Guide to get started.

👤 Author


License: MIT Open Source Love Maintenance PyPI Made in Nigeria

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dokugen-14.0.2.tar.gz (43.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dokugen-14.0.2-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

Details for the file dokugen-14.0.2.tar.gz.

File metadata

  • Download URL: dokugen-14.0.2.tar.gz
  • Upload date:
  • Size: 43.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.3 {"installer":{"name":"uv","version":"0.10.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for dokugen-14.0.2.tar.gz
Algorithm Hash digest
SHA256 87d9c3de6e8399b213f4891eabc15f53f19e5f6cf000ad6009aad7fb6a50b943
MD5 32a99aad624810c47132f92d055f2858
BLAKE2b-256 4f9d031cf9733b1a35d447140c517c84891e6826f20596417b742186b847fa32

See more details on using hashes here.

File details

Details for the file dokugen-14.0.2-py3-none-any.whl.

File metadata

  • Download URL: dokugen-14.0.2-py3-none-any.whl
  • Upload date:
  • Size: 30.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.3 {"installer":{"name":"uv","version":"0.10.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for dokugen-14.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aa214b41e6667a1367528db0cf2a4fce6d0524d83b7d78bbef8c0e987a4235ca
MD5 51ca76c8fdf00c268f04e823e9afb410
BLAKE2b-256 dc9eade90853e43dc219ed628bfe7df78c225c5c323382de15c81b63a2b34595

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page