Show HN: I built a CLI tool that uses AI to document an entire Python codebase

Show HN: I built a CLI tool that uses AI to document an entire Python codebase

For years, I've dealt with the pain of undocumented Python projects. It makes onboarding new devs a nightmare and brings refactoring to a crawl. Existing tools can lint for missing docstrings, but they don't actually write them for you.

I wanted a tool that could just fix the problem. So, I built Docu-AI Pro.

It's a simple Python CLI tool that recursively scans a directory, finds every function without a docstring, and uses an AST-based analysis (a smart simulation of an AI for now) to generate a clear, helpful one. It correctly identifies parameters, return statements, and even infers the function's purpose from its name and structure.

It's idempotent, so you can run it safely on a project anytime. The goal is to get a codebase from 0% to 80% documented in about 5 minutes.

I've packaged it as a lifetime deal for $49. I'm hoping to build it into a more powerful tool with true LLM integration in the future, and early buyers will get all 1.x updates.

I'd love for you to check it out and hear your feedback.

Link: https://stirring-dieffenbachia-dfcdcf.netlify.app/

Comments (0)

No comments yet