Play funny sound effects on every Git commit.
Turn boring commits into a party ๐
flowchart TD
User["๐ค User (Developer)"]
Git["๐ Git Client"]
PostCommitHook["๐ post-commit Hook (hooks/post-commit)"]
SoundFiles["๐ต Sitcom Laugh Tracks (~/.git-laugh-sounds/*.mp3)"]
AudioPlayer["๐ง Audio Player (playsound, mpg123, afplay)"]
Installer["โก global-install.sh"]
Uninstaller["๐๏ธ uninstall.sh"]
User --makes commit--> Git
Git --triggers--> PostCommitHook
PostCommitHook --selects random mp3--> SoundFiles
PostCommitHook --calls--> AudioPlayer
Installer --sets up hooks & sounds--> PostCommitHook
Installer --copies--> SoundFiles
Uninstaller --removes--> PostCommitHook
Uninstaller --removes--> SoundFiles
git-laugh.vedio.mp4
- ๐ Play a random
.mp3from your sound library on git commit - โก Works across Linux, macOS, Windows (via WSL/terminal)
- ๐ CLI commands to play, add, and list sounds
- ๐ Easy setup via global Git hooks
Clone the repo and install it locally:
- Clone the repository
git clone https://github.com/eleven-dev-cafe/git-laugh-track.git
cd git-laugh-track- Install dev dependencies:
pip install -r requirements.txt- Install the CLI command
git-laugh
pip install .You can also uninstall the CLI (if youโve laughed enough)
pip uninstall git-laugh-trackPlace .mp3 files into your /sounds directory
- Default:
~/.git-laugh-sounds/
Or add via CLI:
git-laugh add <path-to-sound>Once installed, you can use the CLI tool:
Setup Git hooks and sounds for laugh sounds
git-laugh install Remove Git hooks and Sounds
git-laugh uninstallPlay a random laugh sound on each commit..
git-laugh play - Run
git commit -m "fix bug"โ plays a random sound ๐ถ - Run
git pushโ plays another random sound(soon...)
This project is licensed under the BSD 3-Clause License.
Gyarsilal Solanki
Need Help! in installation, Join us:
You can also discuss your ideas, share feedbacks, and coordinate contributions.
Because coding is serious businessโฆ but your commits donโt have to be ๐คฃ
If you find this project helpful, consider giving it a โญ to support!