Add a spark of joy to coding: hear a surprise sound every time you commit. By default, itβs a sitcom laugh track.
For the Love of Code 2025 hackathon entry.
- Cross-platform:
- macOS (
afplay
) - Linux (
aplay
,paplay
,ffplay
)
- macOS (
- Quick setup with a single command!
- Ease of use thanks to simple CLI
Make sure you have Make installed, then run:
make install
Thatβs it! You can now use the git-audio
command.
- Install the hook into a repository
git-audio repo:commit
- Commit!
- Run
git-audio global:commit
git init
orgit clone
as usual- Commit!
Configuration files are stored in $HOME/.git-audio/
$HOME/.git-audio/
ββ audio.wav
ββ cli.sh
ββ config.sh
ββ templates
ββ hooks
ββ post-commit
To change the audio, run:
git-audio audio:set /path/to/your/audio
See the documentation for complete instructions.
GitHub Copilot for co-piloting
- π Freesound for the audio
- π og.new for the cover image