+=========================================================================================+
| _____ _____ ______ ______ _ _ _____ _____ _______ ______ _____ __ __|
| / ____| __ \| ____| ____| \ | | / ____|_ _|__ __| | ____|/\ | __ \| \/ |
| | | __| |__) | |__ | |__ | \| |---| | __ | | | |----| |__ / \ | |__) | \ / |
| | | |_ | _ /| __| | __| | . ` |---| | |_ | | | | |----| __|/ /\ \ | _ /| |\/| |
| | |__| | | \ \| |____| |____| |\ | | |__| |_| |_ | | | | / ____ \| | \ \| | | |
| \_____|_| \_\______|______|_| \_| \_____|_____| |_| |_| /_/ \_\_| \_\_| |_|
+=========================================================================================+
| |
| _ _ |
| \ \/ / |
| .:::.. _ \ / _ |
| .::::::::. \ || / |
| .::::::::::. \__||__/ |
| .::::::. ___ || |
| ||| / \ || |
| _._._._._ ||| |_____| || |
| | ||||| | | /||\ |
| | | __|_____|__ _/||||\_ |
| _|_|_ |_________| | _ _ _ _ | /________\ |
| | | | | | | |_|_|_|_| | | | |
| |_____| |____|____| | | | __ | |
| _|_|_ _|||_||_ __========__ | | | | | | |
| | | | | /_//______\_/\| | |__|__|__| |
| | | | ____ | (o)_|________|_|) _____ | | | |
|___|_____|____|__|__|__|____`--------------`_|__|__|__|_______________|________|_________|
| \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \|
| /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /|
+=========================================================================================+
"It ain't much, but it's honest work."
Tired of staring at a barren, gray GitHub contribution graph? Need some crops in that field? Welcome to the Green Git Farm.
This is a dead-simple, zero-maintenance script that runs a tractor (GitHub Actions) over your profile every single hour to plant a green square. No heavy machinery needed.
Want your own automated green squares? Just follow these exact steps. It takes less than 2 minutes.
- Look at the top right of this page and click the Fork button.
- Click Create fork. This makes a copy of the farm on your own GitHub account.
By default, GitHub blocks automated bots from making changes. We need to give it permission.
- In your newly forked repository, click the Settings tab near the top.
- On the left sidebar, click Actions, then click General.
- Scroll all the way down to Workflow permissions.
- Select Read and write permissions.
- Click the green Save button.
- Click the Actions tab near the top of your repository.
- You will see a warning that workflows are disabled. Click the green I understand my workflows, go ahead and enable them button.
- On the left side, click on Auto Commit Farm.
- On the right side, click the Run workflow drop-down menu, then click the green Run workflow button.
Done! Your farm is now fully operational. The bot will automatically wake up and commit a new green square for you every hour.
๐ฑ Troubleshooting: Don't see your green square immediately? Don't panic! GitHub's contribution graph sometimes takes 5 to 10 minutes to update after a commit is made.
We keep things incredibly lightweight around here:
- No weird fertilizer: No dependencies, no heavy libraries. Pure basic Git commands.
- Keeps the yard clean: It writes its logs to a hidden
.commit_logfile, keeping your main directory spotless. - Fully automatic: Set the cron schedule and let the bot do the heavy lifting.
Look, farming green squares is fun, but don't try to sell this crop at the recruiter farmer's market. Anybody looking closely can tell it's an automated bot. Use this to cure your own hatred of gray boxes, but let your actual coding projects be your real cash crop.
Plant responsibly.