Transform any GitHub repository into professional documentation instantly β or build a standout GitHub profile with handcrafted templates. Smart README analyzes your codebase and generates comprehensive, well-structured READMEs using Google's Gemini AI.
π Live Demo: https://smart-readme.vercel.app
- β¨ Features
- πΈ Screenshots
- π οΈ Tech Stack
- βοΈ Getting Started
- π Usage
- π Project Structure
- π¨ Profile Templates
- π€ Contributing
- π License
- π€ AI-Powered Generation β Gemini 2.5 Flash analyzes your repo and writes accurate, detailed documentation
- π¨ Tone Control β Choose from Professional, Beginner-friendly, Funny, or Corporate styles
- βοΈ Special Instructions β Add custom context like contributor names, university project details, or specific sections
- π Emoji Toggle β Enable or disable emojis with one click to match your project's vibe
- ποΈ Live Editor β Edit the generated README with syntax highlighting in real-time
- ποΈ Instant Preview β See the rendered markdown beside your editor as you type
- πΎ Copy to Clipboard β Grab your README with one click
- π§βπ» 5 Handcrafted Templates β Obsidian, Dawn, Minimal, Aurora, and Terminal styles
- π Live Preview β Preview updates instantly as you type your details
- π·οΈ GitHub Stats & Badges β Auto-included stats cards, language charts, and social badges
- π One-Click Copy β Copy the finished README and paste it into your GitHub profile repo
- π§οΈ Cinematic Dark UI β Obsidian theme with animated code rain background
- β‘ Splash Screen β Scanning animation on load
- π Repo Stats Odometer β Animated stars and forks counter after generation
| Layer | Technology |
|---|---|
| Framework | Next.js 15 (App Router) |
| Language | TypeScript |
| Styling | Tailwind CSS |
| Animations | Framer Motion |
| AI Model | Google Gemini 2.5 Flash |
| Markdown | react-markdown + remark-gfm |
| Analytics | Vercel Analytics |
| Deployment | Vercel |
- Node.js (LTS)
- A Google Gemini API key β get one free at aistudio.google.com
git clone https://github.com/rauf17/smart-readme.git
cd smart-readme
npm installCreate a .env.local file in the root:
GEMINI_API_KEY=your_gemini_api_key_herenpm run dev- Click Repository README on the landing page
- Paste any public GitHub repository URL into the search bar
- Select your preferred tone (Professional, Funny, etc.)
- Optionally toggle emojis on/off
- Add special instructions if needed (contributor names, project context)
- Click Generate
- Edit the result in the live editor
- Copy your README
- Click Profile README on the landing page
- Hover over templates to preview styles β click one to select it
- Fill in your details (name, bio, skills, projects, social links)
- Click Generate README
- Copy and paste into your
<username>/<username>GitHub repository'sREADME.md
smart-readme/
βββ app/
β βββ api/
β β βββ generate/ # Gemini AI generation route
β β βββ github/ # GitHub repo data fetcher
β βββ globals.css
β βββ layout.tsx
β βββ page.tsx # Main app (landing, repo, profile modes)
βββ components/
β βββ CodeRain.tsx # Animated code rain background
β βββ LoadingOverlay.tsx # Splash screen animation
β βββ OdometerStats.tsx # Animated stars/forks counter
β βββ Toast.tsx # Copy confirmation toast
βββ public/
βββ icon.png
| Template | Style | Accent |
|---|---|---|
| π Obsidian | Dark, cinematic, dev-forward | Cyan |
| π Dawn | Warm, clean, approachable | Orange |
| β» Minimal | Type-first, no noise | Slate |
| π Aurora | Purple & teal, expressive | Violet |
| β¨ Terminal | Green-on-black, hacker chic | Green |
- Fork the repo
- Create a branch:
git checkout -b feat/your-feature - Commit:
git commit -m "feat: add your feature" - Push:
git push origin feat/your-feature - Open a Pull Request
MIT License β free to use and modify.
Built by rauf17
β Star this repo if it saved you time!