Skip to content
 
 

Repository files navigation

Logo

GitHub widgets by Kretoffer

Dynamic SVG widgets for GitHub, ready to embed into your README
Explore the docs »

Report Bug · Request Feature

Tests Deploy github-widgets.kretoffer.com Stars Issues LICENSE

Quick Start

Open the official widget builder at github-widgets.kretoffer.com, pick a widget, customize it, and copy the generated snippet into your README.md. That's it.

Widgets

Issues Roadmap

A roadmap card generated from repository issues, with status badges (open/closed), labels and a custom heading.

Issues Roadmap

![Issues Roadmap](https://github-widgets.kretoffer.com/api/issues-list/{GITHUB_USERNAME}/{GITHUB_REPO})

Parameters

Parameter Default Description
count 20 Number of issues to show
header-text Roadmap Card heading text
width 500 Card width in px, 3001600
theme default Predefined widget theme
labels true Show labels on issue card
closed false Show closed issues
animation-duration 0.7 Time in seconds (s) for one issue to appear, not the whole animation. Issues appear one by one; total animation time = animation-duration × number of issues. 0 — no animation

Issues Roadmap

![Issues Roadmap](https://github-widgets.kretoffer.com/api/issues-list/kretoffer/github-widgets?count=2&header-text=My%20Roadmap&width=500&theme=default&closed=true)

User Stats

A stats card for any GitHub user: stars, commits, PRs, issues, followers and more, split into responsive columns.

User Stats

![User Stats](https://github-widgets.kretoffer.com/api/user-stats/{GITHUB_USERNAME})

Parameters

Parameter Default Description
columns 1 Number of columns, 14; auto picks ceil(sqrt(count))
width 500 Card width in px, 3001600
theme default Predefined widget theme
animation-duration 0.7 Time in seconds (s) for one metric to appear. 0 — no animation

Each metric can be toggled with a show-{key} parameter, true by default:

Key Query param Metric
stars show-stars Total stars
commits show-commits Total commits
commits-year show-commits-year Commits this year
prs show-prs Total pull requests
issues show-issues Total issues
repos show-repos Total repositories
contributed show-contributed Repositories contributed to
followers show-followers Followers
following show-following Following
forks show-forks Total forks
starred show-starred Repos starred
merged-prs show-merged-prs Merged pull requests

Example hiding two metrics:

![User Stats](https://github-widgets.kretoffer.com/api/user-stats/kretoffer?columns=3&show-starred=false&show-merged-prs=false)

Tech Stack

A skill table card with Simple Icons logos, grouped into sections, for your tech stack.

Tech Stack

![Tech Stack](https://github-widgets.kretoffer.com/api/tech-stack?skills=--Programming%20Languages--%7Cpython%7CFastAPI:fastapi%7C--Databases--%7Cpostgresql&header-text=My%20Stack)

The skills parameter is a |-separated list of items. A token wrapped in -- on both sides (e.g. --Programming Languages--) becomes a section header. A plain slug (e.g. python) renders the matching Simple Icons logo with a pretty title. Use Title:slug (e.g. FastAPI:fastapi) to set a custom title for a slug.

Parameters

Parameter Default Description
skills Required. `
header-text Card heading text
columns 4 Number of columns, 110
show-titles true Show captions under icons
icon-size 48 Icon size in px, 16128
use-original-colors true Use brand colors from Simple Icons; false falls back to the theme text color
icon-color Override icon color for all tiles (e.g. #e6edf3)
gap 16 Gap between tiles in px, 064
width 500 Card width in px, 3001600
theme default Predefined widget theme
animation-duration 0.6 Time in seconds (s) for one element to appear. 0 — no animation

Self-hosting

Run your own instance with Docker:

docker run -e GITHUB_TOKEN=your_token -p 8000:8000 ghcr.io/kretoffer/github-widgets:latest

Required environment variables (see .env.example):

  • GITHUB_TOKEN — GitHub token used to fetch repository data

Then point your embeds to your own host instead of the public instance.

Development

uv sync --all-groups
uv run github-widgets

Quality checks:

uv run ruff check
uv run pyright
uv run pytest

Project layout:

src/
├── api/                 # FastAPI routes
├── schemas/             # Pydantic models
├── templates/           # SVG templates
└── tools/               # GitHub API and render logic

License

License

About

Dynamic SVG roadmap widget for GitHub. Embed in any README

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Packages

Contributors

Languages