Skip to content

rubiin/github-activity-bash-script

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

GitHub Activity Demo Script

This script aims to prove why you should not be too quick at judging people by their GitHub activity stats.

The script will turn your contributions graph from this:

GitHub Activity Before

Into this:

GitHub Activity After

In 20-30 seconds.

Use for demo purposes only!

To execute just run the following commaind inside a demo repository:

  1. First download the script
  2. After that run the script
  3. Finally, push your changes to GitHub

Get started

ACTIVITY_BR=main && MAX_PAST_DAYS=365 && COMMIT_NB= && COMMIT_MAX=7 && \
curl -sL 'https://raw.githubusercontent.com/bobbyiliev/github-activity-bash-script/main/activity.sh' \
    | bash ;

Environment variables

env description type default value
ACTIVITY_BR working git branch string main
MAX_PAST_DAYS number of past days integer 365
COMMIT_NB exactly git commit number each past day. integer
COMMIT_MAX randomly git commit number each past day between [1..max] integer 7
  • COMMIT_MAX used only if COMMIT_NB is empty
  • if both COMMIT_MAX and COMMIT_NB, randomly commit number each past day between [1..7]

Introduction to Bash Scripting

In case that you are interested in learning more about Bash Scripting, make sure to checkout this open-source eBook:

Introduction to Bash Scripting

Blog Post

Here is why you should not be too quick at judging people by their GitHub activity stats

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%