Saturday, 12 April 2025

Show HN: Open-Sourced AI CLI Tool https://bit.ly/4luze0F

Show HN: Open-Sourced AI CLI Tool I’ve been working on Code2Docs, an open-source CLI tool that helps developers automatically generate inline documentation (docstrings + comments) for Python code using AI. It’s built to solve a common problem I’ve faced (and seen often in teams): We code by "vibe" — fast iterations, minimal docs, and then forget what the logic was months later. Code2Docs helps bridge that gap by documenting as you go — without breaking your flow. Right now it supports function-level documentation. Planned features include: - README.md generation for projects - API endpoint docs - Database schema documentation - Architectural diagrams for larger codebases It’s ideal for messy, fast-moving codebases or devs who hate writing docs manually. Requirements: - Python environment - OpenAI API key (stored locally, not uploaded anywhere) Try it out: - PyPI: https://bit.ly/4lB2djB - GitHub: https://bit.ly/42EkHIl Would love your thoughts, feedback, or suggestions — especially from devs juggling legacy or rapidly-growing projects. Thanks! https://bit.ly/4lku5Iq April 13, 2025 at 03:07AM

No comments:

Post a Comment