-
Go to github.com and create a new repository
- Name it:
github-docs-generator - Set visibility to Public (required for open source)
- Do NOT initialise with a README
- Name it:
-
Open your terminal inside the project folder and run:
git init
git add .
git commit -m "initial commit"
git branch -M main
git remote add origin https://github.com/YOUR_USERNAME/github-docs-generator.git
git push -u origin mainReplace YOUR_USERNAME with your actual GitHub username.
- Go to vercel.com and sign in with GitHub
- Click "Add New Project"
- Find and import your
github-docs-generatorrepository - Leave all build settings as default
- Do not click Deploy yet — complete Step 3 first
Before deploying:
- Scroll down to "Environment Variables"
- Add the following variable:
- Name:
GEMINI_API_KEY - Value: your Gemini API key from aistudio.google.com/apikey
- Name:
- Click "Add"
- Now click "Deploy"
Vercel will give you a public URL like:
https://github-docs-generator-xyz.vercel.app
Share it with anyone — no API key required on their end.
Any time you push changes to GitHub, Vercel redeploys automatically:
git add .
git commit -m "your update message"
git pushInstall the Vercel CLI and run locally with your .env file:
npm install -g vercel
vercel devMake sure your .env file in the project root contains:
GEMINI_API_KEY=your_key_here