English | 简体中文
AI-README
🚀 AI-Powered README Generator: Automatically creates Markdown, logos, badges, and more. Never waste hours on docs again!
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
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
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 ai-readme-tools
Configuration
ai-readme 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"
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 ~/.aireadme - Create the config file:
~/.aireadme/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",
"github_username": "your_github_username",
"twitter_handle": "your_twitter_handle",
"linkedin_username": "your_linkedin_username",
"email": "your_email@example.com"
}
Usage
Once installed, you can use the aireadme package in the command line. To generate your README, run the following:
aireadme
Or you can run the python script directly:
python src/aireadme/cli.py --project-path /path/to/your/project --output-dir /path/to/output
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).
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:
🎗 License
Copyright © 2024-2025 ai-readme.
Released under the MIT license.
Contact
Email: lintaothu@foxmail.com
Project Link: https://github.com/thu-ailab/ai-readme
QQ Group: 2161023585 (Welcome to join our QQ Group to discuss and get help!)
Metadata
Release files for ai-readme-tools 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ai_readme_tools-0.2.2.tar.gz | 29.5 kB | Without provenance | Details for ai_readme_tools-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ai_readme_tools-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for ai_readme_tools-0.2.2-py3-none-any.whl |
Total release size: 58.1 kB
Release files / ai_readme_tools-0.2.2.tar.gz
| Download URL | ai_readme_tools-0.2.2.tar.gz |
|---|---|
| Size | 29.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de0ead1a4f610da75bf410c0ea6740a8487b21cba168202188e6d3594212b996
|
|
BLAKE2b-256 checksum How to use checksums |
65703b92ababa0160c09b6b03a99176b055fa2722c1da724a20de4084fabcf43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Release files / ai_readme_tools-0.2.2-py3-none-any.whl
| Download URL | ai_readme_tools-0.2.2-py3-none-any.whl |
|---|---|
| Size | 28.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd4f44a9f3952d4ceb120e757ae6c499a06d596f091967990ca048a8a558552b
|
|
BLAKE2b-256 checksum How to use checksums |
667eff8e33755519039ad4720340285f90f20158c49f0982236c37fcd862c6a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Security for ai-readme-tools 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.