visualize your github contributions graph in 3D!
- Fully customizable.
- Export to STL ascii or binary for 3D printing.
- Embed anywhere.
theme to be used throughout the app.
can be any hex color, minus the #
.
for example: https://g3c.vercel.app?username=tool3&theme=ccff00
show or hide menu.
can be true
or false
.
for example: https://g3c.vercel.app?username=tool3&menu=false
font to use for text.
can be geistmono
, grotesque
, inter
, monaspace
.
for example: https://g3c.vercel.app?username=tool3&font=grotesque
material to use for bars and text.
can be standard
or matcap
.
for example: https://g3c.vercel.app?username=tool3&material=matcap
matcap to be used for bars and text.
only applied if material
is set to matcap
.
use matcap_
prefix and any number between 0 and 60.
for example: https://g3c.vercel.app?username=tool3&material=matcap&matcap=matcap_33
here are the steps to run this project locally:
- clone this repo and npm install
git clone https://github.com/tool3/contributions && cd contributions/ && npm install
- create a
.env
file in the root directory of the project. - Add the following environment variables:
a.NEXT_PUBLIC_SITE_URL=http://localhost:3000
- if a different port is used update here.
b.GITHUB_TOKEN
- this should be a github access token with repo read.
For your convenience, change <YOUR_TOKEN>
below to your github access token and copy this entire block into your terminal to run all of the above steps.
git clone https://github.com/tool3/contributions \
&& cd contributions/ \
&& npm install \
&& touch .env \
&& echo "NEXT_PUBLIC_SITE_URL=http://localhost:3000" >>> .env \
&& echo GITHUB_TOKEN=<YOUR_TOKEN> >>> .env
Open an issue! I'd love to hear your feedback!