Skip to main content

View your GitHub contributions as a graph in the terminal.

Project description

GitHub Contributions Viewer

A Python package to view your GitHub yearly contributions in the terminal, duplicating the 'grass' map from your GitHub profile pages.

Right now this app has minimal functionality and configuration, I have just packaged it to save the name. It will become much more useful very quickly!

Installation

You can install the package using uv:

uv install github-contrib-view

If you prefer to install it manually, you can clone the repository and run the following command:

uv sync
source .venv/bin/activate # or .venv/Scripts/activate on Windows

In either case, you will need to have uv installed.

Setup

You will need to have a GitHub Personal Access Token to use this, get one from GitHub.

Once you have one, you will need to set 2 env variables:

USERNAME=seapagan # YOUR GitHub username
GITHUB_PAT=ghp_xxxxxxxxxxxxxxxxxxxxxxxxx # the PAT you generated.

Very shortly this will be set from a config file and the command line.

Usage

Right now there are no options nor settings. Run the viewer as:

ghcview

The output uses emojie's for the colored boxes, ASCII-only mode is coming.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

github_contrib_view-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

github_contrib_view-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file github_contrib_view-0.1.0.tar.gz.

File metadata

  • Download URL: github_contrib_view-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.20

File hashes

Hashes for github_contrib_view-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c7b359598c43564277429a6ff1f143f65e774467e0348b0328fad9f05f0c8e37
MD5 2a3a92e53076ba6908ecf5df92fa9a3d
BLAKE2b-256 aede21253658d3df317c040597a43197ffc2349a4c041a20e33f6edb428c273b

See more details on using hashes here.

File details

Details for the file github_contrib_view-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for github_contrib_view-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7fb9998e45da6d8822afc4ba4d98b480fd7e88425afe8fd5a32e9cad1c253bf3
MD5 26ade2f9d3b7a174bb2b25f536fe5d1c
BLAKE2b-256 f3ad5b0774e7500ca6cb7172475e2b5b491f6031f51a3c29068c9f58ee5fb111

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page