ReadmeX
An AI Powered README and Interactive Wiki Generator for Any Projects. AI驱动的README及交互式Wiki生成工具,面向中文的开源DeepWiki。
Install / Use
/learn @aibox22/ReadmeXREADME
<a id="readme-top"></a>
<!-- LANGUAGE SWITCH --> <div align="center">English | 简体中文
</div> <!-- PROJECT POSTER --> <div align="center"> <img src="images/poster.png" alt="Poster" width="50%"> </div><!-- PROJECT LOGO --> <br /> <div align="center"> <!-- <a href="https://github.com/aibox22/readmex"> <img src="images/logo.png" alt="Logo" height="100"> </a> --> <h3 align="center">readmex</h3> <p align="center"> 🚀 AI-Powered README Generator: Automatically creates beautiful READMEs and interactive wikis for any repository! Can run all in local with your own models. <br /> <a href="https://github.com/aibox22/readmex"><strong>Explore the docs »</strong></a> <br /> </p> <!-- PROJECT SHIELDS -->
[![Contributors][contributors-shield]][contributors-url] [![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url] [![Issues][issues-shield]][issues-url]
<!-- [![Latest Release][release-shield]][release-url] ![Release Date][release-date-shield] -->[![License][license-shield]][license-url]
<p align="center"> <a href="https://github.com/aibox22/readmex">View Demo</a> · <a href="https://github.com/aibox22/readmex/issues/new?labels=bug&template=bug-report---.md">Report Bug</a> · <a href="https://github.com/aibox22/readmex/issues/new?labels=enhancement&template=feature-request---.md">Request Feature</a> </p> </div> <!-- TABLE OF CONTENTS --> <details> <summary>Table of Contents</summary> <ol> <li> <a href="#about-the-project">About The Project</a> <ul> <li><a href="#built-with">Built With</a></li> </ul> </li> <li> <a href="#getting-started">Getting Started</a> <ul> <li><a href="#prerequisites">Prerequisites</a></li> <li><a href="#installation">Installation</a></li> </ul> </li> <li><a href="#usage">Usage</a></li> <li><a href="#roadmap">Roadmap</a></li> <li><a href="#contributing">Contributing</a></li> <li><a href="#license">License</a></li> <li><a href="#contact">Contact</a></li> <li><a href="#acknowledgments">Acknowledgments</a></li> </ol> </details> <!-- ABOUT THE PROJECT -->📖 About The Project
AI-Powered README Generator is an AI-powered tool that automatically generates comprehensive Markdown README files for your projects. It crafts well-structured documentation that includes project details, technology stack, setup instructions, usage examples, badges, logos, and more.
Key Features
- 🤖 AI-Powered READMEs: Generate comprehensive Markdown READMEs instantly.
- 🔗 Auto Badges: Creates and embeds relevant status badges (contributors, forks, stars, etc.).
- 🖼️ Smart Logo Design: Crafts a unique project logo automatically.
- 🧠 Tech Stack Identification: Automatically detects and includes the project's technology stack.
- 🌐 Context-Aware Intelligence: Tailors content to your project's specific context and needs.
Built With
- [![Python][Python]][Python-url]
- [![OpenAI][OpenAI]][OpenAI-url]
- [![Rich][Rich]][Rich-url]
Supported Programming Languages
<details> <summary>Click to expand supported languages</summary>Web Development
- JavaScript
- TypeScript
- HTML
- CSS
- SCSS
- Sass
- Less
- Stylus
- Pug
- Handlebars
- Mustache
- Twig
- Smarty
- Jinja
- Vue
Programming Languages
- Python
- Java
- C
- C++
- C#
- Go
- Rust
- PHP
- Ruby
- Swift
- Kotlin
- Scala
- R
- MATLAB
- Perl
- Lua
- Dart
- F#
- Visual Basic
- Assembly
- Objective-C
- Haskell
- Erlang
- Elixir
- Clojure
- CoffeeScript
- PowerShell
- Shell
- Batch
- Solidity
Build & Configuration
- Dockerfile
- Makefile
- CMake
- Gradle
- Maven
- Nix
- Terraform
Data & Documentation
- Jupyter
- Protobuf
- GraphQL
- WebAssembly
Editor & IDE
- Vim
- Emacs
🚀 Getting Started
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple steps.
Prerequisites
- Python 3.7+
Installation
- Install the package using pip:
pip install readmex
Configuration
readmex requires API keys for both the Language Model (for generating text) and the Text-to-Image model (for generating logos). You can configure these in one of two ways. Environment variables take precedence.
1. Environment Variables (Recommended for CI/CD)
Set the following environment variables in your shell:
export LLM_API_KEY="your_llm_api_key" # Required
export T2I_API_KEY="your_t2i_api_key" # Required
# Optional: Specify custom API endpoints and models
export LLM_BASE_URL="https://api.example.com/v1"
export T2I_BASE_URL="https://api.example.com/v1"
export LLM_MODEL_NAME="your-llm-model"
export T2I_MODEL_NAME="your-t2i-model"
# Optional: Embedding model configuration for RAG (Retrieval-Augmented Generation)
export EMBEDDING_API_KEY="your_embedding_api_key" # Optional, for web embedding models
export EMBEDDING_BASE_URL="https://api.example.com/v1" # Optional, for web embedding models
export EMBEDDING_MODEL_NAME="text-embedding-3-small" # Optional, embedding model name
export LOCAL_EMBEDDING="true" # Optional, use local embedding model (default: true)
# Optional: Performance configuration
export MAX_WORKERS="10" # Optional, max concurrent threads (default: 10)
2. Global Config File (Recommended for Local Use)
For convenience, you can create a global configuration file. The tool will automatically look for it.
- Create the directory:
mkdir -p ~/.readmex - Create the config file:
~/.readmex/config.json - Add your credentials and any optional settings. You can also include personal information, which will be used as defaults during interactive prompts:
{
"LLM_API_KEY": "your_llm_api_key",
"T2I_API_KEY": "your_t2i_api_key",
"LLM_BASE_URL": "https://api.example.com/v1",
"T2I_BASE_URL": "https://api.example.com/v1",
"LLM_MODEL_NAME": "gpt-4",
"T2I_MODEL_NAME": "dall-e-3",
"EMBEDDING_API_KEY": "your_embedding_api_key",
"EMBEDDING_BASE_URL": "https://api.example.com/v1",
"EMBEDDING_MODEL_NAME": "text-embedding-3-small",
"LOCAL_EMBEDDING": "true",
"MAX_WORKERS": "10",
"github_username": "your_github_username",
"twitter_handle": "your_twitter_handle",
"linkedin_username": "your_linkedin_username",
"email": "your_email@example.com"
}
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- USAGE EXAMPLES -->
💻 Usage
Once installed, you can use the readmex package in the command line. To generate your README, run the following:
Method 1: Using the installed command (Recommended)
readmex
Method 2: Running as a Python module
# Run the package directly
python -m readmex
# Or run the CLI module specifically
python -m readmex.utils.cli
Method 3: Development mode (for contributors)
# From the project root directory
python src/readmex/utils/cli.py
Command Line Options
All methods support the same command line arguments:
# Interactive mode (default)
readmex
# Generate for current directory
readmex .
# Generate for specific directory
readmex /path/to/your/project
# Generate MkDocs website
readmex --website
# Generate website and serve locally
readmex --website --serve
# Deploy to GitHub Pages
readmex --deploy
# Enable debug mode (skip LLM calls for testing)
readmex --debug
# Enable silent mode (auto-generate without prompts)
readmex --silent
# Enable verbose mode (show detailed information)
readmex --verbose
This will:
- generate a
project_structure.txtfile, which contains the project structure. - generate a
script_description.jsonfile, which contains the description of the scripts in the project. - generate a
requirements.txtfile, which contains the requirements of the project. - generate a
logo.pngfile, which contains the logo of the project. - generate a
README.mdfile, which contains the README of the project.
🗺️ Roadmap
- [ ] Prompt Engineering for Logo Generation
- [ ] Multi-language Support
- [ ] Enhanced AI Descriptions for Project Features
See the open issues for a full list of proposed features (and known issues).
<p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING -->🤝 Contributing
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Top contributors:
<a href="https://github.com/aibox22/readmex/graphs/contributors"> <img src="https://contrib.rocks/image?repo=aibox22/readmex" alt="contrib.rocks image" /> </a> <!-- LICENSE -->🎗 License
Copyright © 2024-2025 [readmex][readmex]. <br /> Released u

