File size: 1,165 Bytes
461ab98
20a2ac1
 
 
 
461ab98
1218984
 
461ab98
 
20a2ac1
 
461ab98
 
20a2ac1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
title: HF Contributions Graph
emoji: 📊
colorFrom: green
colorTo: green
sdk: gradio
sdk_version: 5.9.1
python_version: "3.10"
app_file: app.py
pinned: false
license: mit
short_description: GitHub-style contribution calendar for Hugging Face users
---

# 🤗 Hugging Face Contributions Graph

A GitHub-style contribution calendar that visualizes your activity on Hugging Face Hub.

## Features

- **GitHub-style calendar**: Exact replica of GitHub's contribution graph UI
- **All activity types**: Tracks commits across models, datasets, and spaces
- **Interactive**: Click any day to see contribution details
- **Statistics**: Total contributions, streaks, and repo breakdown
- **Dark/Light themes**: Switch between color schemes

## How it works

This app uses the Hugging Face Hub API to:
1. Fetch all your public repositories (models, datasets, spaces)
2. Get commit history for each repository
3. Aggregate commits by date
4. Display as a contribution calendar

## Usage

Enter any Hugging Face username and click "Fetch Contributions" to see their activity graph.

## Privacy

Only public repositories are counted. Private repos require authentication.