A free and open-source API that lets you frame your GitHub profile picture with creative themes. Use it in your README files, portfolios, or social media to showcase styled avatars.
🌐 Live API: https://frame-api.vercel.app
This project is a base skeleton API that currently includes only the code theme. Contributors can:
- Add new frame themes 🎨
- Propose new features ⚡
- Improve documentation and examples ✍️
The goal is to build a creative, community-driven way to style GitHub avatars.
Click on the Fork button at the top right of this repository to create a copy under your GitHub account.
git clone https://github.com/TechQuanta/github-avatar-frame-api.git
cd github-avatar-frame-apinpm installnpm run devNow open: http://localhost:3000
https://frame-api.vercel.app/api/frame/{theme}/{username}
{theme}→ The frame theme (e.g.,code){username}→ Your GitHub username
Example:
https://frame-api.vercel.app/api/frame/code/octocat
Check all available themes dynamically:
https://frame-api.vercel.app/api/themes
Example response:
{
"themes": [
{
"id": "code",
"name": "Code Frame",
"description": "Tech-inspired frame with brackets and lines"
}
]
}Embed a framed avatar in your README:
Replace your-username with your actual GitHub username.
We welcome contributions of all kinds:
- New themes in
public/frames/ - New features for the API
- Documentation updates
- Bug fixes and improvements
- 🍴 Fork the repository
- 🌿 Create a new branch for your feature
- 🎨 Add your theme or improvement
- 🧪 Test your changes locally
- 📝 Submit a pull request
- 🎨 Design new themes - Create unique frames for different use cases
- 🐛 Fix bugs - Help improve stability and performance
- ✨ Add features - Implement new functionality like animated frames
- 📚 Improve docs - Help others understand and use the project
- 🧪 Write tests - Ensure code quality and reliability
👉 See CONTRIBUTING.md for detailed contribution steps. 👉 All contributors must follow our CODE_OF_CONDUCT.md.
- Node.js & Express.js (TypeScript) → API backend
- Sharp → Image processing
- Vercel → Serverless deployment
- MongoDB (optional) → Future caching/metadata
- TypeScript → Type safety and better development
- Live API: https://frame-api.vercel.app
- Contributing Guidelines: CONTRIBUTING.md
- Code of Conduct: CODE_OF_CONDUCT.md
- Issues: GitHub Issues
If you find this project useful, please consider:
- ⭐ Star this repository - It helps others discover the project
- 🐛 Report bugs or suggest features in Issues
- 🤝 Contribute new themes and improvements
- 📢 Share it with the developer community
This project is licensed under the MIT License.