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.1.tar.gz (43.2 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.1-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dokugen-14.0.1.tar.gz
  • Upload date:
  • Size: 43.2 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.1.tar.gz
Algorithm Hash digest
SHA256 f8402251e37b4cf4ae065a6d5203f05d6f720046855db56e942b438ff4cc73e3
MD5 4e3fbdfbaf8f9f652f12ccaccbd54776
BLAKE2b-256 0ec6bc2d65ea4e221b49cfc9ebe1171a0928bc9fc32ae0add14b8191f8c4ab53

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dokugen-14.0.1-py3-none-any.whl
  • Upload date:
  • Size: 29.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9dbd28875289018f076c314df5312f117e168f832ed3b140499d73b836a9b469
MD5 772b4682750ab08c0b64216dbae2519e
BLAKE2b-256 7e07163c1fe83c4b1d845936d078c145766e9d39daf4ce3e2cf94283c902e06c

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