Skip to content

manueldezman/github-docs-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub README Generator

An open source, AI-powered documentation generator for any public GitHub repository. Paste a repo URL, select a doc type, and get a complete markdown document in seconds.

Live demo: github-docs-generator


Features

  • Generates 2 documentation types: README and Quickstart.
  • Fetches real repo metadata, file structure, and existing README from the GitHub public API
  • Powered by Google Gemini 2.5 Flash via a secure backend proxy
  • No API key required for end users
  • Clean, responsive dark UI

Tech stack

Layer Technology
Frontend HTML, CSS, JavaScript (vanilla)
Backend Vercel Serverless Function (Node.js)
AI Google Gemini 2.5 Flash
Hosting Vercel (free tier)

Project structure

github-docs-generator/
├── public/
│   ├── index.html
│   ├── styles.css
│   └── app.js
├── api/
│   └── generate.js
├── .env              ← gitignored
├── .gitignore
├── vercel.json
├── DEPLOY.md
└── README.md


Local development

Prerequisites

Setup

  1. Clone the repo:
git clone https://github.com/manueldezman/github-docs-generator.git
cd github-docs-generator
  1. Create a .env file in the root:
GEMINI_API_KEY=your_gemini_api_key_here
  1. Start the local dev server:
vercel dev
  1. Open http://localhost:3000 in your browser.

Deployment

See DEPLOY.md for the full step-by-step guide to deploying on Vercel.


Contributing

Contributions are welcome! Here's how to get started:

  1. Fork the repository
  2. Create a new branch: git checkout -b feature/your-feature-name
  3. Make your changes
  4. Commit: git commit -m "feat: describe your change"
  5. Push: git push origin feature/your-feature-name
  6. Open a Pull Request

Good first issues

  • Add a light mode toggle
  • Improve mobile responsiveness

Commit message format

Use conventional commits:

feat: add new doc type
fix: handle private repo error gracefully
style: update button hover state
docs: update README

License

MIT — free to use, modify, and distribute.


Built by 0xdezman

About

An AI-powered README generator for any public GitHub repository.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors