A toy program for getting your GitHub Contributions and creating a background image from it with many themes.
npx @jckimble/github-graph-background
Github Token can be read from the GITHUB_TOKEN Environment Variable
Option | Description | Default |
---|---|---|
--output | Image Output | ./background.png |
--width | Image Width | 1366 |
--height | Image Height | 768 |
--margin | Spacing Between Blocks | 2 |
--token | GitHub Token | N/A |
--theme | Color Theme | green |
Special value of random picks a theme at random. Default theme is green. Current themes are: green, blue, red, rose, fullrandom and random along with their dark variants. Adding :dark after a theme name generates the dark version.
git clone https://github.com/jckimble/github-graph-background
cd github-graph-background
npm install
npm run start
npm run test
π€ James C Kimble Jr
- Website: https://jckimble.com
- Twitter: @jckimble601
- Github: @jckimble
- LinkedIn: @james-kimble-865092212
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Give a βοΈ if this project helped you!
Copyright Β© 2023 James C Kimble Jr.
This project is MIT licensed.