📈 Create GIFs from user's GitHub activity graph
No non-Go dependencies required, so the binary is cross-platform!
- fogleman/gg: 2D graphics library
- urfave/cli: CLI framework
- If your GitHub profile does not yet display activity overviews, enable it
- Run the CLI with a GitHub handle
gifhub camilogarcialarotta
The application will generate a GIF named after the user inside./out
For more information on available flags, rungifhub --help
go get github.com/camilogarcialarotta/gifhub
brew install camilogarcialarotta/brews/gifhub
First, clone the repository and build the image
git clone https://github.com/CamiloGarciaLaRotta/gifhub.git
cd gifhub
docker build . -t gifhub
Then, create a directory of your choice to store the output GIF.
Run the container with the created directory mounted to /app/out
mkdir out
docker run -t \
-v $(pwd)/out:/app/out \
gifhub camilogarcialarotta
Special thanks to:
- bclindner for the name idea
- DestructiveReasoning for math help and testing on Linux distros
- erickzhao for testing on OSX