lolcommits hooks git commits to capture a webcam photo, optionally animated or video, and store it with the commit hash.
Overview
lolcommits is a command-line tool that takes a webcam snapshot whenever you commit in a git repository. Images are saved under a configurable directory (default ~/.lolcommits), grouped by repository, with filenames based on the short commit SHA.
Enable it per repo with a git hook, or use git init template settings to enable captures across new repositories. Commands include viewing the last image, browsing stored files for the current project, and disabling hooks. Capture can be delayed for camera warmup, forked to avoid blocking the terminal, or run in stealth without notifications.
ImageMagick is required; optional ffmpeg enables short video or animated GIF captures. Plugins can alter images afterward, including adding commit message text, posting to external services, or other transforms. macOS, Linux, and Windows are supported with platform-specific dependency notes.
The tool is positioned as a humorous developer accessory: git history links to a visual record of who committed and when, with optional timelapse playback of stored captures.
Key features
- Git post-commit hook capture
- Webcam snapshot per commit
- Optional animated GIF or video
- Configurable delay and forked capture
- Plugin ecosystem
- Commit message image overlay
- Per-repository enable and disable
- Timelapse from stored images
Use cases
- Fun commit history with faces
- Team shared lolcommit archives
- Animated commit selfies
- Remembering build-breaking moments