Skip to content

About

A small web scraping tools to collect your wikipedia contribution metrics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Wiki Contribution Dashboard

Your edits are out there. Ever wondered who's actually reading them?

Now you can find out. For every Wikipedia article you've edited, this dashboard shows you exactly how many people have read it since your change went live — powered by live data from the Wikipedia APIs.

This is your impact, made visible: one simple, powerful number that reveals how far your knowledge travels and how many readers your work reaches every single day. ✨

Wiki Metrics dashboard

Setup

uv sync
# or: python -m venv .venv && source .venv/bin/activate && pip install httpx

Requires Python 3.12+.

Usage

python main.py <wikipedia-username>
python main.py dy1012
python main.py dy1012 --limit 100

The script:

  1. Queries zh.wikipedia.org user contributions for the given username
  2. Sends a User-Agent of {user}/1.0 ({user}@gmail.com) (Wikimedia API policy)
  3. Loads pageview metrics from the Wikimedia REST API for each first-edited title
  4. Writes results to data/YYYYMMDD.json

Output

Each JSON file is a list of [article, total_views, days, average_views] rows, with a leading Total summary row.

Dashboard

Serve the project root and open dashboard.html:

python -m http.server 8000
# then open http://localhost:8000/dashboard.html

The dashboard discovers dated JSON files under data/ and lets you filter/sort article metrics. You can also upload a JSON file manually.

About

A small web scraping tools to collect your wikipedia contribution metrics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages