explaingit

avgupta456/github-trends

Analysis updated 2026-06-24

16,040PythonAudience · developerComplexity · 2/5Setup · easy

TLDR

Generates GitHub profile cards that show lines of code by language, repo, and time. Counts only commits you personally authored, not repo totals.

Mindmap

mindmap
  root((github-trends))
    Inputs
      GitHub OAuth
      Your commit history
    Outputs
      SVG profile card
      Language breakdown
      GitHub Wrapped summary
    Use Cases
      Show off coding stats in profile README
      Year-end recap of your coding
      Embed stats on a personal site
    Tech Stack
      Python
      FastAPI
      GitHub API
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Embed a lines-of-code stats card in your GitHub profile README

USE CASE 2

Get a year-end Wrapped style recap of your coding activity

USE CASE 3

Pull commit-level stats via the API to build a custom dashboard

What is it built with?

PythonFastAPIGitHub API

How does it compare?

avgupta456/github-trendsmodelscope/funasrwan-video/wan2.1
Stars16,04016,05116,027
LanguagePythonPythonPython
Setup difficultyeasyhardhard
Complexity2/54/54/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Hosted service at githubtrends.io is the default path. Self-hosting requires Python and GitHub OAuth setup.

In plain English

GitHub Trends is a tool that generates visual statistics cards for your GitHub profile, focusing on lines of code written rather than just star counts or commit numbers. Many developers use a profile README (a special file shown on your GitHub profile page) to show off their work, and GitHub Trends creates embeddable image cards that display breakdowns of your coding activity by programming language, by repository, and over time. What sets it apart from similar tools is that it analyzes your individual commits rather than just your public repositories. This means if you contribute to other people's open-source projects, or have collaborators contributing to yours, GitHub Trends still counts the lines you personally wrote rather than crediting you for all code in a repo. To use it, you sign up at githubtrends.io, connect your GitHub account, and then paste a short link into your profile's README file. The card updates automatically. There is also a "GitHub Wrapped" feature at githubwrapped.io, similar to Spotify Wrapped, that gives a year-end summary of your coding year. The project is written in Python and provides both a web interface for easy setup and a direct API for developers who want more customization.

Copy-paste prompts

Prompt 1
Walk me through adding a github-trends card to my GitHub profile README using githubtrends.io
Prompt 2
Show me how to call the github-trends API directly to fetch my language breakdown as JSON
Prompt 3
Help me self-host github-trends so my data never touches the hosted service
Prompt 4
Compare github-trends to github-readme-stats and explain when commit-level counting matters

Frequently asked questions

What is github-trends?

Generates GitHub profile cards that show lines of code by language, repo, and time. Counts only commits you personally authored, not repo totals.

What language is github-trends written in?

Mainly Python. The stack also includes Python, FastAPI, GitHub API.

How hard is github-trends to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is github-trends for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub avgupta456 on gitmyhub

Verify against the repo before relying on details.