How devsushant03/git-push-sound works
Git Push Sound is a small VS Code extension that detects successful git push commands in integrated terminals and plays a configured WAV. Users can also toggle playback or test it through contributed commands. The runtime is centered on one extension controller and one playback module, with bundled or custom audio sent to native OS utilities. The README documents the terminal event and platform capabilities; source excerpts show the dispatch and playback logic. No other runtime subsystems are evident in the supplied tree.
Main entry points: player.ts Sound Player · package.json Commands & Settings · extension.ts Extension Controller · Om_Phat_Swaha.wav Bundled WAV
Components 8
VS Code Extension
- Commands & Settings
package.json - Extension Controller
src/extension.ts
Sound Playback
- Sound Player
src/player.ts - Bundled WAV
media/Om_Phat_Swaha.wav
Other components
- User
- Integrated Terminal
- Custom WAV
- OS Audio Utilities
Connections 8
- User → Commands & Settings: invokes
README.md - Commands & Settings → Extension Controller: registers
src/extension.ts - Integrated Terminal → Extension Controller: reports completion
README.md - Extension Controller → Sound Player: plays sound
src/extension.ts - Sound Player → Commands & Settings: reads settings
src/player.ts - Sound Player → Bundled WAV: reads fallback
src/player.ts - Sound Player → Custom WAV: reads configured file
src/player.ts - Sound Player → OS Audio Utilities: dispatches playback
src/player.ts