Embed your live Codeforces stats in any GitHub README with a beautiful, auto-updating SVG card.
- Live Stats: Real-time rating, rank, and solved problems count
- Difficulty Breakdown: Visual breakdown of problems solved by rating range
- Top Topics: Most frequently solved problem tags
- Auto-Updates: Stats refresh automatically (cached for 5 minutes)
- GitHub Dark Theme: Seamlessly integrates with GitHub's dark mode
Add this to your GitHub profile README:
Replace YOUR_CF_HANDLE with your Codeforces username.
Try the live preview at your deployed URL to generate your custom embed code.
- Click the button above
- Connect your GitHub account
- Deploy
- Use your Vercel URL in the embed code
# Install dependencies
npm install
# Run development server
npm run dev
# Build for production
npm run buildVisit http://localhost:3000 to see the landing page.
GET /api/insight?username={handle}
Returns an SVG card with Codeforces stats for the specified user.