Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Farmer

A GitHub Action that generates an animated GIF of your contribution graph being harvested.

Example

Features

  • 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

Usage

1. Create Workflow

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 }}

2. Add to README

![GitHub Farmer](./github-farmer.gif)

Inputs

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

Examples

Generate GIF for a different user:

- uses: shindonghwi/github-farmer@v1
  with:
    github-token: ${{ secrets.GITHUB_TOKEN }}
    username: torvalds
    output-path: torvalds-farm.gif

License

MIT

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages