Skip to content

rauf17/readme-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

28 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Smart README β€” AI README Generator

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

Next.js TypeScript Tailwind CSS Framer Motion Google Gemini Vercel


πŸ“‘ Table of Contents


✨ Features

Repository README Generator

  • πŸ€– 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

Profile README Generator (New!)

  • πŸ§‘β€πŸ’» 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

UI & Experience

  • 🌧️ 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

πŸ“Έ Screenshots

Splash Screen

Splash screen with SMART README scanning animation

Landing Page

Landing page showing the two mode cards

Repository Mode β€” URL Input

Repo mode with the prominent URL input hero overlay

Repository Mode β€” Editor, Preview & Special Instructions

Split editor and render panel with syntax highlighting and special instructions open

Profile Mode β€” Template Selection

Profile mode showing the 5 template cards in the left column

Profile Mode β€” Form & Live Preview

Profile form filled in with live preview rendering on the right

πŸ› οΈ Tech Stack

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

βš™οΈ Getting Started

Prerequisites

Installation

git clone https://github.com/rauf17/smart-readme.git
cd smart-readme
npm install

Environment Setup

Create a .env.local file in the root:

GEMINI_API_KEY=your_gemini_api_key_here

Run Locally

npm run dev

Open http://localhost:3000


πŸš€ Usage

Repository README

  1. Click Repository README on the landing page
  2. Paste any public GitHub repository URL into the search bar
  3. Select your preferred tone (Professional, Funny, etc.)
  4. Optionally toggle emojis on/off
  5. Add special instructions if needed (contributor names, project context)
  6. Click Generate
  7. Edit the result in the live editor
  8. Copy your README

Profile README

  1. Click Profile README on the landing page
  2. Hover over templates to preview styles β€” click one to select it
  3. Fill in your details (name, bio, skills, projects, social links)
  4. Click Generate README
  5. Copy and paste into your <username>/<username> GitHub repository's README.md

πŸ“ Project Structure

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

🎨 Profile Templates

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

🀝 Contributing

  1. Fork the repo
  2. Create a branch: git checkout -b feat/your-feature
  3. Commit: git commit -m "feat: add your feature"
  4. Push: git push origin feat/your-feature
  5. Open a Pull Request

πŸ“„ License

MIT License β€” free to use and modify.


Built by rauf17

⭐ Star this repo if it saved you time!

About

Generate professional READMEs from any GitHub repo using AI. Features tone control, live editor, and syntax highlighting. Powered by Gemini 2.5 Flash.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors