Skip to main content

Auto-generate README files from folder structure

Project description

Repo Size Stars Forks Issues Markdown

PROJECT README GEN

Auto-generate README files from folder structure with optional AI enhancement using Groq API.

SAMPLE

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


© 2026 Zenith Open Source Projects. All Rights Reserved. Zenith is a Open Source Project Idea's by @roshhellwett

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

projectreadmegen-1.7.2.tar.gz (34.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

projectreadmegen-1.7.2-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

File details

Details for the file projectreadmegen-1.7.2.tar.gz.

File metadata

  • Download URL: projectreadmegen-1.7.2.tar.gz
  • Upload date:
  • Size: 34.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for projectreadmegen-1.7.2.tar.gz
Algorithm Hash digest
SHA256 4d58e3cee77a40542c1f76b22d051ad66593d6327470472d6022f1b4bc456d3c
MD5 09d8a9b16abcc15f33abed08328890dc
BLAKE2b-256 7d3def529efdebd892d9ba0b94e52bc78b5177f612f58c454112b0220817aab6

See more details on using hashes here.

File details

Details for the file projectreadmegen-1.7.2-py3-none-any.whl.

File metadata

File hashes

Hashes for projectreadmegen-1.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cc5318633939e2e35427eb50f78970ae19f986f4bd3ef13b7fbf67f795124cf9
MD5 52357d6f9be79366b347dbd2f8b7741c
BLAKE2b-256 c8d2d93e16c0a82c551e76cfd4a60bf01a286879c2a9d478d1600b649db8c8cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page