@yeetutils/sitcommit
v1.4.0
Published
A CLI to install a fun laugh track git hook in any repository.
Downloads
21
Readme
Sitcom Laugh Track Git Hook (@yeetutils/sitcommit)
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.
Quick Start (Recommended)
Prerequisites
You must have Node.js (which includes npx) and Git installed on your machine.
Installation
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!
Advanced Installation (for the git sitcommit command)
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/sitcommitUse 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
Usage
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!Customization
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.
Acknowledgements
The classic laugh track audio used in this project was sourced from YouTube.
- Source: Sitcom Laugh Track
- Creator: SamGordonRHK
A project by manasvihow
