Skip to content

Generate documentation for your entire codebase with just one command!

License

Notifications You must be signed in to change notification settings

meta-introspector/reppy

 
 

Repository files navigation

🪄 reppy - let AI document your code

Use your favourite LLM to document for your entire codebase with just one command!

npm version

image

⭐️ Quick Start

  1. Install with 1 command:
npm install -g reppy
  1. Add your chosen LLM API key to your project's .env file (check .env.example for options):
OPENAI_API_KEY=sk-1293527sd1824h

or, set it via your console:

export OPENAI_API_KEY=sk-1293527sd1824h
  1. Run the documentation generator:
reppy

Run reppy -h to see a list of available commands.

N.B. You can also run reppy with npx reppy

Features

  • Git-awareness (ensures existing changes are committed before running)
  • Auto-commit after documentation
  • Saves your wallet by skipping functions that are already documented
  • Concurrently process documentation tasks
  • Create a REPPY-README.md file to document all the functions in your codebase

Coming soon

  • Implement logic to allow for optional re-documentation of existing functions

Support

Langauges

  • Typescript & Javascript
  • Rust
  • Golang
  • Java
  • Python

Models

  • OpenAI
  • Azure OpenAI
  • Amazon Bedrock
  • Anthropic
  • Cohere
  • Groq

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Generate documentation for your entire codebase with just one command!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 98.9%
  • JavaScript 1.1%