Developer Launches API That Auto-Generates Code Docs in 13 Languages
A developer has built and released an API called DocGen that accepts source code as input and returns structured documentation — including README files, API references, and inline comments — in 13 languages. The tool uses DeepSeek's AI model for understanding code structure, Pygments for programming language detection, and includes 24-hour response caching to reduce costs. It automatically redacts sensitive strings such as API keys and passwords from generated output. The API is available on RapidAPI with a free tier of 50 requests per month, while paid plans start at $9.99 per month for 5,000 requests. The project is also open source, with its codebase publicly hosted on GitHub.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in