gitmyhub

metrics

JavaScript ★ 17k updated 22d ago

📊 An infographics generator with 30+ plugins and 300+ options to display stats about your GitHub account and render them as SVG, Markdown, PDF or JSON!

Metrics generates visual SVG summaries of your GitHub activity, commit heatmaps, language breakdowns, stargazer maps, and 47-plus other panels, ready to embed in a profile readme or project page.

JavaScriptGitHub ActionsGitHub APIsetup: easycomplexity 2/5

Metrics is an infographics generator for GitHub. It produces visual summaries — most commonly SVG images — that describe activity, statistics, and patterns about a GitHub user, an organization, or even a specific repository. The classic use case is embedding the generated image at the top of your GitHub profile readme so visitors can see, at a glance, things like how active you are, which programming languages you write, who stars your projects, and where in the world they are.

The project is built around a plugin system: the README says it ships with more than 47 plugins and around 335 configuration options. Each plugin produces one panel inside the generated image. Examples shown in the README include an isometric commit calendar (a 3D-looking heatmap of your daily commits), a languages-activity panel that can analyze your repositories in depth or look at recent activity, a stargazers panel with line charts and a world map of where people who starred your projects come from, a lines-of-code-changed view with history, a starred-topics and recently-starred-repositories panel, a repository licenses panel showing the permissions and limitations of each license, a coding habits panel with charts and short factual observations, a contributors panel grouped by category or contribution count, a follow-up panel for issues and pull requests, and panels for comment reactions and notable people you interact with. Output can be rendered as SVG, Markdown, PDF, or JSON.

Someone would use this to make their GitHub profile more informative or visually distinctive, to share statistics about a project they maintain, or to give an organization a public dashboard of activity. It is a JavaScript project, runs as a GitHub Action (and can also be self-hosted), uses the GitHub API, and is highly configurable through the action's inputs. The full README is longer than what was provided.

Where it fits