https://github.com/jckimble/github-graph-background
A toy program for getting your GitHub Contributions and creating a background image from it with many themes
https://github.com/jckimble/github-graph-background
background-image cli desktop github github-api github-contributions nodejs toy-project
Last synced: 4 months ago
JSON representation
A toy program for getting your GitHub Contributions and creating a background image from it with many themes
- Host: GitHub
- URL: https://github.com/jckimble/github-graph-background
- Owner: jckimble
- License: mit
- Created: 2023-02-22T02:42:55.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-10-01T14:06:59.000Z (4 months ago)
- Last Synced: 2025-10-01T16:08:43.148Z (4 months ago)
- Topics: background-image, cli, desktop, github, github-api, github-contributions, nodejs, toy-project
- Language: TypeScript
- Homepage:
- Size: 2.17 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Welcome to GitHub Graph Background 👋
[](https://github.com/semantic-release/semantic-release)

[](https://www.npmjs.com/package/@jckimble/github-graph-background)
[](https://github.com/jckimble/Github-Graph-Background#readme)
[](https://github.com/jckimble/Github-Graph-Background/blob/master/LICENSE)
> A toy program for getting your GitHub Contributions and creating a background image from it with many themes.
## Usage
```sh
npx @jckimble/github-graph-background
```
## Options
> 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 |
## Themes
> 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.
### Green (green and green:dark)


### Blue (blue and blue:dark)


### Red (red and red:dark)


### Rose (rose and rose:dark)


### Full Random (fullrandom and fullrandom:dark)


## From Source
### Install
```sh
git clone https://github.com/jckimble/github-graph-background
cd github-graph-background
npm install
```
### Usage
```sh
npm run start
```
### Run tests
```sh
npm run test
```
## Author
👤 **James C Kimble Jr**
- Website: https://jckimble.com
- Twitter: [@jckimble601](https://twitter.com/jckimble601)
- Github: [@jckimble](https://github.com/jckimble)
- LinkedIn: [@james-kimble-865092212](https://linkedin.com/in/james-kimble-865092212)
## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/jckimble/Github-Graph-Background/issues). You can also take a look at the [contributing guide](https://github.com/jckimble/Github-Graph-Background/blob/master/CONTRIBUTING.md).
## Show your support
Give a ⭐️ if this project helped you!
## Donations
[](https://www.buymeacoffee.com/jckimble)
## 📝 License
Copyright © 2023 [James C Kimble Jr](https://github.com/jckimble).
This project is [MIT](https://github.com/jckimble/Github-Graph-Background/blob/master/LICENSE) licensed.