- Go to github.com
- Click "New" → "New repository"
- Name:
ai-prompt-optimizer - Make it Public (required for free Pages)
- Click "Create repository"
- Click "uploading an existing file"
- Upload all files from
github-deploy/folder:index.htmlstyles.cssscript.jsREADME.mdFEATURES.mdpackage.json
- Commit message: "Deploy AI Prompt Optimizer"
- Click "Commit changes"
- Go to Settings tab
- Scroll to "Pages" section
- Source: "Deploy from a branch"
- Branch: "main"
- Click "Save"
- URL:
https://yourusername.github.io/ai-prompt-optimizer - Wait 5-10 minutes for deployment
# Navigate to GitHub deployment folder
cd github-deploy
# Initialize git repository
git init
# Add all files
git add .
# Commit changes
git commit -m "Deploy AI Prompt Optimizer"
# Add remote repository (replace YOUR_USERNAME)
git remote add origin https://github.com/YOUR_USERNAME/ai-prompt-optimizer.git
# Push to GitHub
git branch -M main
git push -u origin mainThen enable Pages in GitHub repository settings.
- ✅
index.html- Main application - ✅
styles.css- Styling - ✅
script.js- JavaScript functionality - ✅
README.md- Documentation - ✅
FEATURES.md- Feature list - ✅
package.json- Project metadata - ✅
.gitignore- Git ignore file - ✅
CNAME.example- Custom domain example
Once deployed, your site will have:
- ✅ Professional UI with your branding
- ✅ Copy to clipboard functionality
- ✅ Start new prompt reset
- ✅ Dynamic context questions
- ✅ Mobile responsive design
- ✅ Footer with your LinkedIn profile
Your AI Prompt Optimizer will be live at:
https://yourusername.github.io/ai-prompt-optimizer
- 404 Error: Wait 10-15 minutes for deployment
- Styling Issues: Check if all files uploaded correctly
- JavaScript Errors: Open browser console to debug
- Check all files uploaded - All 6 files should be in repository
- Verify Pages settings - Source should be "Deploy from a branch"
- Clear browser cache - Hard refresh (Ctrl+F5 or Cmd+Shift+R)
Your AI Prompt Optimizer is ready for GitHub Pages! 🎉
Deploy it now and share it with the world!