8000 GitHub - isa-programmer/githubfetch: Github profile information on your terminal
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

isa-programmer/githubfetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

80 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GitHubFetch

A Neofetch-like CLI tool that beautifully displays GitHub profile information in your terminal β€” complete with ASCII art and contribution heatmaps.

✨ Features

  • GitHub user info with bio, followers, repos, etc.
  • ASCII-rendered GitHub profile picture (multiple styles)
  • Contribution heatmap visualization
  • Works in your terminal β€” especially tailored for Kitty

πŸ”§ Requirements

For local (non-Docker) usage:

Installing (Standalone)

sudo curl https://raw.githubusercontent.com/isa-programmer/githubfetch/refs/heads/main/githubfetch.py -o /usr/local/bin/githubfetch
sudo chmod +x /usr/local/bin/githubfetch

Development Setup

Clone the repository:

git clone git@github.com:isa-programmer/githubfetch.git
cd githubfetch/

Set up virtual environment (optional but recommended):

For Linux/macOS:

python -m venv venv
source venv/bin/activate

For Windows:

python -m venv venv
venv\Scripts\activate

Install dependencies:

pip install -r requirements.txt

Run locally:

python githubfetch.py <github-username>

Docker Usage

▢️ Run the CLI

docker run -it ghcr.io/isa-programmer/githubfetch:latest <github-username> [options]

βœ… Examples

# Basic usage
docker run -it ghcr.io/isa-programmer/githubfetch:latest <github-username> --ascii --heatmap

# With GitHub token (inline)
docker run -it --env GITHUB_TOKEN="your_token" ghcr.io/isa-programmer/githubfetch:latest <github-username> --ascii --heatmap

# Using .env file
docker run -it --env-file .env ghcr.io/isa-programmer/githubfetch:latest <github-username> --ascii --heatmap

Note: Always use -it for proper terminal output support.


βš™οΈ Options & Flags

Basic Info

githubfetch <github-username>

With ASCII Avatar

githubfetch <github-username> --ascii[=style]

With Contribution Heatmap

githubfetch <github-username> --heatmap

ASCII Styles

Style Description Example Characters
bold Thick, high-contrast @%#*+=-:.
fine Thin, detailed characters .,:;i1tfLCG08@
retro Classic terminal style .'^",:;Il!i><~`
block Solid block-based look β–‘β–’β–“β–ˆ

You can also disable color rendering with --nocolor.


Using GitHub Token (for heatmap or high-rate API access)

Authenticated requests are needed for:

  • Contribution heatmap
  • Higher API rate limits
  • Private info (if token has permissions)

Set the token:

Option 1: Shell Config (recommended for local use)

export GITHUB_TOKEN="your_personal_access_token"

Option 2: Docker .env file

Create .env file:

GITHUB_TOKEN=your_personal_access_token

Then run with:

docker run -it --env-file .env ghcr.io/isa-programmer/githubfetch:latest <username> --ascii --heatmap

Examples

# Default style
githubfetch <github-username> --ascii

# Retro ASCII
githubfetch <github-username> --ascii=retro

# Block style, no color
githubfetch <github-username> --ascii=block --nocolor

# Heatmap with ASCII
githubfetch <github-username> --ascii --heatmap

🀝 Contributing

Contributions, issues and feature requests are welcome!

  1. Fork the repo
  2. Create a new branch
  3. Submit a PR

Example output

example image

heatmap

my-heatmap

Releases

No releases published

Packages

 
 
 
0