Use your favourite LLM to document for your entire codebase with just one command!
- Install with 1 command:
npm install -g reppy
- 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
- Run the documentation generator:
reppy
Run reppy -h
to see a list of available commands.
N.B. You can also run
reppy
withnpx reppy
- 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
- Implement logic to allow for optional re-documentation of existing functions
- Typescript & Javascript
- Rust
- Golang
- Java
- Python
- OpenAI
- Azure OpenAI
- Amazon Bedrock
- Anthropic
- Cohere
- Groq
This project is licensed under the MIT License - see the LICENSE file for details.