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.1.tar.gz (33.9 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.1-py3-none-any.whl (35.9 kB view details)

Uploaded Python 3

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

Hashes for projectreadmegen-1.7.1.tar.gz
Algorithm Hash digest
SHA256 8ea11dcc82adf8da17e867537a40cbac3bf926870a2ac21dccb2cf6843d5e346
MD5 b072dd4fe0b09bd7eb9a58864dad94aa
BLAKE2b-256 e52b677d8c926c52183491e1c73ad5b42587abf6915ede0a2c7165cff416d460

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for projectreadmegen-1.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ef06e165847305791753bd5fbb6608e07e6dae9df4423b81080cef7f51ff3b8
MD5 9d20b4c1f897eef4997ee1400f612ab6
BLAKE2b-256 86ace0f257ae9f26894b8282c74913a3a8aed8a4833499927fa7da7768f336d2

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