
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Code2Docs: An AI-powered, open source CLI tool for generating inline code documentation, API references, database schema docs, and project READMEs from your codebase.
Code2Docs is an AI-powered CLI tool that helps you generate high-quality documentation for your codebase — including inline docstrings, API documentation, database schema descriptions, and project READMEs.
⚠️ This project is still under active development. Expect new features and improvements regularly.
📚 Base Repo: https://github.com/xKarinSan/Code2Docs
💬 Community Discord: https://discord.gg/qugCeYBYud
🌐 Landing Page: https://code2docs-open-source.netlify.app/
🔗 LinkedIn: https://www.linkedin.com/company/code2docs
Install the CLI:
pip install code2docs-cli
Run the CLI to verify the installation:
c2d
To begin using Code2Docs:
c2d save-key sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
--help
Lists ALL the commands for Code2Docs CLI
code-doc
(Beta)Generates inline documentation (docstrings and comments) for your codebase.
c2d code-doc
api-doc
(Coming Soon)Generates documentation for your API endpoints.
c2d api-doc
db-doc
(Coming Soon)Generates documentation for your database schema.
c2d db-doc
readme-doc
(Beta)Generates a project-level README.md based on your codebase.
c2d readme-doc
archi-doc
(Beta)Generates an architecture diagram based on the structure of your codebase.
c2d archi-doc
save-key
Saves your OpenAI API key locally for authentication.
c2d save-key sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
load-key
Displays the currently saved OpenAI API key.
c2d load-key
--help
Displays all available commands and usage.
c2d --help
FAQs
Code2Docs: An AI-powered, open source CLI tool for generating inline code documentation, API references, database schema docs, and project READMEs from your codebase.
We found that code2docs-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.