Stop writing documentation. Start weaving masterpieces.
An intelligent CLI tool that scans your codebase and generates high-style, professional READMEs instantly.
Writing a README is the most boring part of coding. Wizard solves this by acting as a Technical Architect. It doesn't just list files; it reads your logic, understands your architecture, and styles your documentation like a 10k-star GitHub repository.
| Feature | Description |
|---|---|
| 🧠 Deep Context | Scans all .py, .js, .html, and .css files to understand your logic. |
| 🎭 Custom Persona | Tell the Wizard to be "Funny," "Professional," or "Minimalist." |
| 🚀 Global Access | Run it from anywhere on your system like yt-dlp. |
| 🛡️ Zero-Config Key | Saves your API key locally—enter it once, use it forever. |
wizard/
├── core/
│ ├── scanner.py # The "Eyes": Scans and filters your codebase.
│ └── generator.py # The "Brain": Crafts the AI prompt and styles.
├── main.py # The "Face": Beautiful terminal interface (Rich).
├── config.py # The "Memory": Handles persistent API keys.
└── requirements.txt # The "Gear": Necessary libraries.
- The Scanner (Eyes): The tool walks through your directory, ignoring "trash" like
venv,.git, and__pycache__. It extracts the most important parts of your code. - The Generator (Brain): It builds a massive prompt including your code context and sends it to the Groq Llama 3.3-70b model.
- The Weaver: The AI returns structured Markdown with badges, tables, and architecture breakdowns, which is then saved as
README.md.
If you want to customize the Wizard or build your own version:
git clone https://github.com/AbelXeon/wizard.git
cd wizard
python -m venv venv
source venv/Scripts/activate # Windows
pip install -r requirements.txtYou can change the "style" of the generated README by editing core/generator.py. Find the prompt variable and tell the AI exactly how you want it to behave!
Run the script:
python main.py .The Wizard will ask for your Groq API Key. It saves this to ~/.wizard_config so you never have to provide it again.
To use the Wizard like a professional system tool (no python command needed):
-
Compile to EXE:
pyinstaller --onefile --name wizard main.py
-
Make it Global: Move
dist/wizard.exeto a folder (e.g.,C:\MyTools). AddC:\MyToolsto your Windows System PATH. -
Use it Anywhere: Open any folder on your computer and simply type:
wizard .
- Security: Your API key is stored locally in your User profile and is never uploaded.
- Overwrite: Running the Wizard will automatically overwrite your existing
README.md—always back up if you have manual notes!