readmeg
v1.0.1
Published
Zero-config terminal tool powered by Gemini that automatically generates comprehensive, production-grade README files for local repositories.
Downloads
383
Maintainers
Readme
About The Project
Writing a comprehensive, high-quality README is often the most tedious part of finishing a project. readmeg solves this by automating the entire process.
By scanning your local repository structure, analyzing key manifest files (such as package.json, tsconfig.json, and .env.example), and leveraging the advanced contextual understanding of Google's Gemini AI, readmeg generates a production-grade, beautifully formatted README in seconds.
Here's why you should use readmeg:
- Zero-Config: No complex setup or configuration files required.
- Context-Aware: It parses your actual codebase structure and dependencies to write accurate documentation.
- Interactive CLI: Prompts you for key details to customize the output to your exact needs.
- Time-Saving: Instantly generates standard sections like Installation, Usage, Roadmap, and License.
Built With
Getting Started
To get a local copy up and running, follow these simple steps.
Prerequisites
- Node.js (v18.0.0 or higher recommended)
- Gemini API Key: You will need an API key from Google AI Studio.
Installation
- Clone the repository:
git clone https://github.com/iamtyroon/readme-gen.git - Navigate to the project directory and install dependencies:
cd readme-gen npm install - Create a
.envfile in the root directory and add your Gemini API key:GEMINI_API_KEY="YOUR_GEMINI_API_KEY" - Link the package globally to use the
readmegcommand anywhere:npm link
Usage
Once installed globally, you can run readmeg in any local repository to generate its documentation.
Run the Generator
Navigate to the target repository where you want to generate a README and run:
readmegCommand Line Options
You can also view help and available options directly from the CLI:
readmeg --helpHow It Works
- Codebase Scan:
readmeganalyzes your directory tree and identifies key configuration files. - Context Extraction: It extracts metadata, dependencies, and scripts from files like
package.jsonand.env.example. - AI Generation: The extracted context is sent to the Gemini API to draft a structured, professional README.md.
- Output: The generated markdown is saved directly to your workspace as
README.md.
Roadmap
- [ ] Support for additional language manifests (
Cargo.toml,pyproject.toml,go.mod) - [ ] Custom template selection (e.g., Minimal, Academic, Enterprise)
- [ ] Interactive terminal preview before writing to disk
- [ ] GitHub Actions integration for automated documentation updates
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
License
Distributed under the MIT License. See LICENSE for more information.
Contact
iamtyroon - @notyroon
Project Link: https://github.com/iamtyroon/readme-gen

