Tired of silent, boring commits? This command-line tool installs a Git hook that plays a classic sitcom laugh track every time you successfully make a commit! It's a fun, simple way to bring a little joy to your daily coding workflow.
You must have Node.js (which includes npx) and Git installed on your machine.
The fastest way to use this tool is with npx. Navigate your terminal into any Git project and run this single command:
npx @yeetutils/sitcommitThe installer will run once, set up the hook in that project, and you're done!
If you love this tool and want it to feel like a native part of Git, you can install it globally.
-
Install the tool globally using npm:
npm install -g @yeetutils/sitcommit
-
Use the new
gitcommand: Thegit sitcommitcommand will now be available on your system. Navigate into any repository and run it to install the hook for that project.git sitcommit
Once installed via either method, just use Git as you normally would. After your next successful commit, you'll be rewarded with a laugh.
git add .
git commit -m "This commit deserves an audience"
# ... and you'll hear the laugh track!Want to use your own sound? Easy!
The installer places the sound file at .git/sounds/laugh-1.mp3 within your project. You can replace this file with your own audio by saving it to the same location with the same name.
The classic laugh track audio used in this project was sourced from YouTube.
- Source: Sitcom Laugh Track
- Creator: SamGordonRHK
A project by manasvihow