- Dynamic SVG Generator: Serves custom SVG metrics image cards at
/api/stats?username=yournameloaded with real-time statistics (stars, forks, repositories, followers, and language percentages). - Beautiful Web Interface: A glassmorphic dark-mode portfolio dashboard where users can query stats, configure themes, and preview badges.
- Visual Design Themes: Supports
dark(GitHub default dark),light(GitHub default light),cyber(cyberpunk cyan), andneon(neon magenta) card layouts. - Embedded Caching: Built-in 4-hour server HTTP caching (
Cache-Control) to bypass GitHub API rate limit constraints.
You can deploy this widget platform to Vercel in one click. Vercel automatically deploys the static dashboard pages and maps the Python serverless API functions to /api/stats.
git clone https://github.com/Lord1Egypt/devpulse.git
cd devpulse
pip install -r requirements.txtTo test the serverless SVG generator locally, run a Flask dev server:
export GITHUB_TOKEN="your_optional_github_token_here"
python -m flask --app api/stats run --port 5000Open your browser and navigate to:
http://localhost:5000/api/stats?username=Lord1Egypt&theme=cyber
| Parameter | Type | Required | Description |
|---|---|---|---|
username |
String | Yes | Your GitHub handle (e.g. Lord1Egypt). |
theme |
String | No | Color theme: dark (default), light, cyber, neon. |
Made with โค๏ธ by Lord1Egypt
โญ Star this repo if you find it useful!