Auto-generate README files from folder structure
Project description
PROJECT README GEN
Auto-generate README files from folder structure with optional AI enhancement using Groq API.
Installation
pip install projectreadmegen
OR
PyPi - (https://pypi.org/project/projectreadmegen)
Quick Start
# Run directly with Python
python -m projectreadmegen generate .
# Or add to PATH for convenience
set PATH=%PATH%;%APPDATA%\Python\Python314\Scripts
# Then use simple command
projectreadmegen generate .
Usage
Generate README (Quick Mode)
# Basic - template-based
python -m projectreadmegen generate .
# With AI enhancement
python -m projectreadmegen generate . --ai
python -m projectreadmegen generate . -a
# Auto-detect AI when API key available
python -m projectreadmegen generate . --auto-ai
Interactive Mode
# Start menu
python -m projectreadmegen
# Or CLI-based interactive
python -m projectreadmegen interactive .
python -m projectreadmegen interactive . --ai
Options
| Flag | Short | Description |
|---|---|---|
--template |
-t |
Template: minimal, standard, full, academic |
--output |
-o |
Output filename (default: README.md) |
--depth |
-d |
Tree depth (default: 3) |
--ai |
-a, --grok |
Use Groq AI for enhanced README |
--auto-ai |
Auto-use AI when API key available | |
--force |
-f |
Overwrite without confirmation |
--dry-run |
Preview without saving | |
--no-badges |
Disable badge generation | |
--version |
-V |
Show version |
Commands
| Command | Description |
|---|---|
generate |
Generate README from folder |
interactive |
Interactive Q&A mode |
start |
Start interactive menu |
update |
Check and install updates |
version |
Show version info |
Menu Mode
Run python -m projectreadmegen for interactive menu:
1 Create README with AI
2 Create Normal README (template-based)
3 Manage API Key
4 View Credits Status
5 Update projectreadmegen
6 Help & Commands
7 Exit
Configuration
Create readmegen.config.json in project root:
{
"template": "standard",
"ai_enabled": true,
"groq_api_key": "your_key_here",
"include_badges": true,
"include_tree": true,
"max_tree_depth": 3,
"output_file": "README.md"
}
API Key
Get free Groq API key: https://console.groq.com/keys
# Set environment variable
export GROQ_API_KEY=your_key_here
# Windows
$env:GROQ_API_KEY="your_key_here"
Features
- Auto-detect - Project type and tech stack detection
- Folder Tree - ASCII tree visualization
- AI Generation - Groq-powered enhanced README
- 4 Templates - minimal, standard, full, academic
- Badges - Auto language and license badges
- Smart Caching - Faster repeated scans
- Template Memory - Remembers last template per project
- Update Detection - Warns if README modified externally
- Credit System - 5 free AI uses/day (then use your own key)
Credits
- 5 free AI uses per day
- Add your own Groq API key for unlimited use
- Groq API Generator
© 2026 Zenith Open Source Projects. All Rights Reserved. Zenith is a Open Source Project Idea's by @roshhellwett
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 projectreadmegen-1.7.1.tar.gz.
File metadata
- Download URL: projectreadmegen-1.7.1.tar.gz
- Upload date:
- Size: 33.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ea11dcc82adf8da17e867537a40cbac3bf926870a2ac21dccb2cf6843d5e346
|
|
| MD5 |
b072dd4fe0b09bd7eb9a58864dad94aa
|
|
| BLAKE2b-256 |
e52b677d8c926c52183491e1c73ad5b42587abf6915ede0a2c7165cff416d460
|
File details
Details for the file projectreadmegen-1.7.1-py3-none-any.whl.
File metadata
- Download URL: projectreadmegen-1.7.1-py3-none-any.whl
- Upload date:
- Size: 35.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ef06e165847305791753bd5fbb6608e07e6dae9df4423b81080cef7f51ff3b8
|
|
| MD5 |
9d20b4c1f897eef4997ee1400f612ab6
|
|
| BLAKE2b-256 |
86ace0f257ae9f26894b8282c74913a3a8aed8a4833499927fa7da7768f336d2
|