AI-powered README generator. Point it at any repo.
Project description
Scanner I
About
This project is an AI-powered README generator, designed for senior software engineers to analyze a repository context and extract structured information for a README file, targeting public GitHub repositories.
How It Works
The project utilizes a decision layer that picks the right model backend, either Ollama or Groq, based on the preferred model specified in the config.json file. It then uses the chosen model to generate a README file by analyzing the repository context and extracting relevant information. The project consists of several components, including a scanner, analyzer, and router, which work together to generate the README file. The scanner gathers information about the repository, the analyzer processes this information and generates a context string, and the router decides which model to use. The project also includes a parser that takes the model's output and converts it into a validated AnalysisObject, which is then used to generate the README file.
Teck Stack
- Python 3.11
- Typer 0.12
- Rich 13
- Pathspec 0.12
- Pydantic 2
- Jinja2 3
Prerequisites
- Python 3.11+
- pip
- Git
Installation
- Run:
git clone https://github.com/owner/repo
- Run:
cd repo
- Run:
pip install -r requirements.txt
- Run:
cp .env.example .env
- Run:
pip install .
Usage
Generate a README file for the current repository
readmegen
Generate a README file for a specific repository
readmegen --repo https://github.com/owner/repo
Generate a README file with a specific model
readmegen --model groq
Scripts
| Command | Description |
|---|---|
readmegen |
Generate a README file for the current repository |
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file readmegen_rs-0.1.0.tar.gz.
File metadata
- Download URL: readmegen_rs-0.1.0.tar.gz
- Upload date:
- Size: 33.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61391c6d7089abbd0347c806391d9dc16cc965b6cbef003cc344f51f1ec9f384
|
|
| MD5 |
4d54a8dba0dc5b008431c0fc0f5e772d
|
|
| BLAKE2b-256 |
0502d93801b4dac3d74d5258ed35b2d219376a02fc91d7ed3eb768e3d08464b1
|
File details
Details for the file readmegen_rs-0.1.0-py3-none-any.whl.
File metadata
- Download URL: readmegen_rs-0.1.0-py3-none-any.whl
- Upload date:
- Size: 40.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b789f1ec9b3618f937a642cf934cde1b7c3b9e769304e3f882e59e8eeb50637
|
|
| MD5 |
b6b5752362c1d474cd5b6d9486081706
|
|
| BLAKE2b-256 |
6f0e1b639c32426aa0ae58253997fc0de8fc849b481676895b68cb898dc7ee73
|