A GitHub Action that generates an animated GIF of your contribution graph being harvested.
- Arrow character harvests your yearly GitHub contributions
- Egg hatches into a chick every 1000 contributions
- Displays commit and PR statistics
- Smooth wave animation on completion
Add .github/workflows/github-farmer.yml to your profile repository:
name: GitHub Farmer
on:
schedule:
- cron: '0 0 * * *' # Daily update
workflow_dispatch: # Manual trigger
permissions:
contents: write
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shindonghwi/github-farmer@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}| Input | Description | Required | Default |
|---|---|---|---|
github-token |
GitHub token for API access | Yes | - |
username |
GitHub username | No | Repository owner |
output-path |
Output path for GIF | No | github-farmer.gif |
Generate GIF for a different user:
- uses: shindonghwi/github-farmer@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
username: torvalds
output-path: torvalds-farm.gifMIT
