Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/activitywatch/contributor-stats

Generating contributor stats for the ActivityWatch project
https://github.com/activitywatch/contributor-stats

contributor git-statistics github-api github-stats gitstats gource visualization

Last synced: 2 months ago
JSON representation

Generating contributor stats for the ActivityWatch project

Awesome Lists containing this project

README

        

contributor-stats
=================

[![Build](https://github.com/ActivityWatch/contributor-stats/actions/workflows/build.yml/badge.svg)](https://github.com/ActivityWatch/contributor-stats/actions/workflows/build.yml)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Typechecking: Mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)

A project to generate full contributor stats across all ActivityWatch and SuperuserLabs repositories.

Output from this tool is shown on [the ActivityWatch website](https://activitywatch.net/contributors/) for ActivityWatch repos, and not yet anywhere for SuperuserLabs repos (but will someday).

## Features

- Generate tables from git history with number of active days, number of commits, and diff stats.
- Generate statistics from GitHub activity (issues, comments, PRs).
- Create a video visualization, such as the one made for [ActivityWatch]().

## Gource visualization

This also includes scripts to produce a visualization of the commit history with [gource](https://gource.io/).

Usage:

```
cd video
./gource-output.sh
```

NOTE: It assumes you have the repos cloned with a certain directory structure. You will probably need to modify the script to suit your folder structure.

### Output

[![Example of visualization rendered with gource](http://img.youtube.com/vi/zjIn43lZq3U/0.jpg)](http://www.youtube.com/watch?v=zjIn43lZq3U "ActivityWatch Development Visualization 2014-2020, with Gource")