Skip to content

ImperialCrise/ASCIIGithubART

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3,929 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Version Bash License

๐ŸŽจ GitHub Pixel Art Generator

Transform your GitHub contribution graph into pixel art!
Write text, display logos, or create custom designs on your contribution history.

Stats


Warning

โš ๏ธ Before You Start

1. Fork this repository first! This script modifies git history. You need your own copy to use it.

2. GitHub takes 24-48 hours to update! After pushing your commits, the contribution graph won't update immediately. Be patient โ€“ it can take up to 24-48 hours for changes to appear.

3. Use a dedicated repository! Don't run this on important projects. Create a new repo or fork this one.


โœจ Features

  • ๐Ÿ“ Custom Text - Write any text on your contribution graph
  • ๐ŸŽฎ Templates - Pre-built designs (Bitcoin, Minecraft)
  • ๐ŸŽจ Gradient Support - Multiple intensity levels for depth
  • ๐Ÿ“… Any Year - Target any year from 2008 to present
  • ๐Ÿ”„ Reset Function - Easily remove pixel art commits
  • ๐Ÿ–ฅ๏ธ User-Friendly CLI - Modern command-line interface with colors

๐Ÿ“ฆ Installation

git clone git@github.com:ImperialCrise/ASCIIGithubART.git
cd ASCIIGithubART
chmod +x github_pixel_art.sh

๐Ÿš€ Quick Start

Preview a design

./github_pixel_art.sh preview --text "HELLO" --year 2020

Generate commits

./github_pixel_art.sh generate --text "HELLO" --year 2020
git push origin main --force

๐Ÿ“– Usage

./github_pixel_art.sh <command> [options]

Commands

Command Description
generate Generate pixel art commits
preview Preview the design without generating
reset Remove pixel art commits for a specific year
reset-all Clear all git history
list List available templates
help Show help message

Options

Option Description
-t, --text <TEXT> Text to display
-y, --year <YEAR> Target year (e.g., 2016)
-T, --template <NAME> Use a template (bitcoin, minecraft)
-p, --preview Preview only, don't generate
-f, --force Skip confirmation prompts
-h, --help Show help message
-v, --version Show version

๐ŸŽจ Templates

๐Ÿช™ Bitcoin (2009)

Perfect for celebrating Bitcoin's birth year!

./github_pixel_art.sh generate --template bitcoin --year 2009
 โ–‘   โ–‘   โ–‘โ–ˆโ–ˆโ–ˆ  โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ  โ–ˆโ–ˆโ–ˆ  โ–ˆโ–ˆ  โ–ˆโ–ˆโ–ˆ โ–ˆ  โ–ˆ โ–‘   โ–‘   โ–‘ 
โ–‘โ–‘โ–‘ โ–‘โ–‘โ–‘ โ–‘โ–‘โ–ˆ  โ–ˆ  โ–ˆ   โ–ˆ  โ–ˆ    โ–ˆ  โ–ˆ  โ–ˆ  โ–ˆโ–ˆ โ–ˆโ–‘โ–‘โ–‘ โ–‘โ–‘โ–‘ โ–‘โ–‘โ–‘
โ–‘ โ–‘ โ–‘ โ–‘ โ–‘ โ–ˆ  โ–ˆ  โ–ˆ   โ–ˆ  โ–ˆ    โ–ˆ  โ–ˆ  โ–ˆ  โ–ˆ โ–ˆโ–ˆโ–‘ โ–‘ โ–‘ โ–‘ โ–‘ โ–‘
โ–‘โ–‘โ–‘ โ–‘โ–‘โ–‘ โ–‘โ–‘โ–ˆโ–ˆโ–ˆ   โ–ˆ   โ–ˆ  โ–ˆ    โ–ˆ  โ–ˆ  โ–ˆ  โ–ˆ  โ–ˆโ–‘โ–‘โ–‘ โ–‘โ–‘โ–‘ โ–‘โ–‘โ–‘
โ–‘ โ–‘ โ–‘ โ–‘ โ–‘ โ–ˆ  โ–ˆ  โ–ˆ   โ–ˆ  โ–ˆ    โ–ˆ  โ–ˆ  โ–ˆ  โ–ˆ  โ–ˆโ–‘ โ–‘ โ–‘ โ–‘ โ–‘ โ–‘
โ–‘โ–‘โ–‘ โ–‘โ–‘โ–‘ โ–‘โ–‘โ–ˆ  โ–ˆ  โ–ˆ   โ–ˆ  โ–ˆ    โ–ˆ  โ–ˆ  โ–ˆ  โ–ˆ  โ–ˆโ–‘โ–‘โ–‘ โ–‘โ–‘โ–‘ โ–‘โ–‘โ–‘
 โ–‘   โ–‘   โ–‘โ–ˆโ–ˆโ–ˆ  โ–ˆโ–ˆโ–ˆ  โ–ˆ   โ–ˆโ–ˆโ–ˆ  โ–ˆโ–ˆ  โ–ˆโ–ˆโ–ˆ โ–ˆ  โ–ˆ โ–‘   โ–‘   โ–‘ 

๐ŸŒฒ Minecraft Scene

Add a tree and terrain next to your text!

./github_pixel_art.sh generate --text "iCrise" --template minecraft --year 2016
 โ–ˆ  โ–ˆโ–ˆโ–ˆ     โ–ˆ                            โ–‘โ–‘       
   โ–ˆ                                    โ–‘โ–‘โ–‘โ–‘โ–‘     
 โ–ˆ โ–ˆ     โ–ˆโ–ˆ โ–ˆ  โ–ˆโ–ˆ  โ–ˆโ–ˆ                  โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘    
 โ–ˆ โ–ˆ    โ–ˆ   โ–ˆ โ–ˆ   โ–ˆ โ–ˆ                   โ–‘โ–‘โ–‘โ–‘โ–‘     
 โ–ˆ โ–ˆ    โ–ˆ   โ–ˆ  โ–ˆ  โ–ˆโ–ˆโ–ˆ           โ–‘         โ–’โ–’      
 โ–ˆ โ–ˆ    โ–ˆ   โ–ˆ   โ–ˆ โ–ˆ             โ–’   โ–’โ–’    โ–’โ–’      
 โ–ˆ  โ–ˆโ–ˆโ–ˆ โ–ˆ   โ–ˆ โ–ˆโ–ˆ   โ–ˆโ–ˆ         โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“

๐Ÿ“Š Intensity Levels

The script supports 4 intensity levels for gradient effects:

Symbol Commits Color
โ–ˆ 25 Dark green
โ–“ 15 Medium-dark green
โ–’ 8 Medium green
โ–‘ 3 Light green

๐Ÿ”ง Examples

Simple text

./github_pixel_art.sh generate --text "CODE" --year 2018

Preview before generating

./github_pixel_art.sh preview --text "PIXEL" --year 2015

Force mode (no prompts)

./github_pixel_art.sh generate --template bitcoin --year 2009 --force

Reset a specific year

./github_pixel_art.sh reset --year 2016
git push origin main --force

Full reset

./github_pixel_art.sh reset-all --force
git push origin main --force

โš ๏ธ Important Notes

  1. Force Push Required: After generating commits, you need to force push:

    git push origin main --force
  2. Private Contributions: Make sure "Private contributions" is enabled in your GitHub settings to see the graph.

  3. Email Matching: Your git email must match your GitHub account email:

    git config user.email "your-github-email@example.com"
  4. Year Calculation: The contribution graph for a year starts on the Sunday before January 1st, so some commits may have dates from the previous year.


๐Ÿ› ๏ธ Supported Characters

Type Characters
UPPERCASE A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
lowercase a b c d e f g h i j k l m n o p q r s t u v w x y z
Numbers 0 1 2 3 4 5 6 7 8 9
Symbols ! . , - _ : / ' "
Space (2 pixels wide)

Test all characters:

./github_pixel_art.sh preview --text "Hello World 2024!" --year 2020

๐Ÿ“‹ Requirements

  • Bash 4.0+
  • Git
  • date command (GNU coreutils)

๐Ÿค Contributing

Feel free to open issues or submit pull requests!


๐Ÿ“„ License

MIT License - feel free to use this for your own contribution graphs!


Made with โค๏ธ by ImperialCrise

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages