This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

Python 89.8%
Other 10.2%
18 1 0

Clone this repository

https://git.vm.fail/thehale.dev/gource_org https://git.vm.fail/did:plc:k2rowza4uvkckwx64anfgujx
ssh://git@knot1.tangled.sh:2222/thehale.dev/gource_org ssh://git@knot1.tangled.sh:2222/did:plc:k2rowza4uvkckwx64anfgujx

For self-hosted knots, clone URLs may differ based on your setup.


README.md

Gource Org#

Create Gource animations for an entire organization's repositories!

Installation
  1. Install Python 3.8 or later
  2. Create a virtual environment
    python -m venv .venv
    
  3. Activate the virtual environment
    # bash
    source .venv/bin/activate
    # Windows (Powershell)
    .venv/Scripts/Activate.ps1
    # Windows (cmd)
    .venv/Scripts/activate.bat
    
  4. Install dependencies
    pip install -r requirements.txt
    
  5. Install gource
    # Ubuntu 20.04
    sudo apt install gource 
    
  6. Install ffmpeg
    # Ubuntu 20.04
    sudo apt install ffmpeg
    
  7. Create a GitHub Personal Access Token (classic) with the repo scope.

Usage#

Configuration#

Make a copy of the file config.json.dist with the name config.json.

  • Set the token to the token you created in the setup.
  • Set the organization to the GitHub username of the org whose repos you want to animate.

Authors#

After running the script once, you can run the following command to list all the authors found across all repositories.

cat gource.log | cut -d '|' -f 2 | sort | uniq 

Place these names in the config to deduplicate/rename authors

Creating the Animation#

Run the script

python gource_org.py

License#

This project is licensed under the Mozilla Public License v2.0

Note, however, that it requires gource and ffmpeg to be installed on your system. Since gource is licensed under GPL-3.0, the combined work may need to be used under the terms of the GPL-3.0 (consult a lawyer for your specific case).