Complete Documentation

bots-n-cats Documentation

Everything you need to know about making your code purr

Introduction

bots-n-cats is a GitHub App that transforms your development activity into a live, ambient soundtrack. Each commit, pull request, merge, deploy, and test result generates unique musical patterns, creating an audio representation of your codebase's heartbeat.

How it works: GitHub webhooks trigger our audio engine, which generates real-time musical compositions using Tone.js synthesis. Each event type has unique musical characteristics that reflect its meaning.

Installation

Step 1: Install the GitHub App

  1. Visit the GitHub App installation page
  2. Choose which repositories to enable (specific repos or all repositories)
  3. Click "Install" to authorize the app
  4. You'll be redirected to the success page

Step 2: Grant Permissions

bots-n-cats requires the following GitHub permissions:

  • Read access to repository events (push, pull request, issues)
  • Read access to workflows (for CI/CD events)
  • Webhook subscriptions for real-time event processing

Privacy Note: bots-n-cats only reads event metadata (event type, timestamp, repository name). We never access your source code or commit contents.

Configuration

Repository Settings

After installation, configure your repository settings:

  • Enable/Disable Audio: Turn soundtrack generation on or off per repository
  • Volume Settings: Adjust base volume for event sounds
  • Event Filters: Choose which events trigger sounds
  • Sharing: Generate public or private stream URLs

Team Access

Share your repository's soundtrack with your team:

  1. Open the bots-n-cats dashboard
  2. Select your repository
  3. Click "Share Stream"
  4. Copy the stream URL and send to team members

Event Types

bots-n-cats supports 6 core event types, each with unique musical characteristics:

๐ŸŸข Code Push

Triggered when commits are pushed to any branch

Musical Style:

Bass synth arpeggio (like a purr)

Parameters:

120 BPM, C minor pentatonic

๐Ÿ”ต Pull Request

Triggered when PRs are opened, updated, or reviewed

Musical Style:

Sustained chord progression

Parameters:

100 BPM, F major

๐ŸŸฃ Merge

Triggered when PRs are merged or branches are merged

Musical Style:

Resolution cadence (major key)

Parameters:

110 BPM, G major

๐ŸŸ  Deploy

Triggered by deployment workflows (production/staging)

Musical Style:

Dramatic transition with reverb

Parameters:

130 BPM, D mixolydian

โœ… Test Pass

Triggered when CI tests complete successfully

Musical Style:

Bright major chord (happy chirp)

Parameters:

140 BPM, A major

โŒ Test Fail

Triggered when CI tests fail

Musical Style:

Dissonant cluster (warning)

Parameters:

90 BPM, E diminished

Musical Mapping

bots-n-cats uses sophisticated musical algorithms to map development activity to audio:

Emotion Categories

๐Ÿ”ด Tension

Failures, conflicts โ†’ minor key, dissonance

๐Ÿ’š Resolution

Merges, fixes โ†’ major key, consonance

โšก Activity

Commits, comments โ†’ increased rhythm

๐Ÿ“ˆ Growth

New features โ†’ layering, complexity

Parameter Mapping

  • Commit frequency โ†’ BPM (tempo)
  • Lines changed โ†’ Duration and complexity
  • Programming language โ†’ Instrument type
  • Test pass/fail โ†’ Effects intensity
  • Time of day โ†’ Ambient texture layers

Usage

Listening to Your Soundtrack

  1. Open the bots-n-cats dashboard
  2. Select your repository from the list
  3. Click "Play Stream" to start listening
  4. Adjust volume and enable/disable specific events
  5. Share the stream URL with your team

Best Practices

  • Play your soundtrack in the background during work hours
  • Use headphones for immersive experience
  • Enable desktop notifications for important events
  • Share streams during standup meetings for team awareness
  • Archive notable soundtracks as development milestones

Troubleshooting

No sound is playing

  • Check that the app is installed on your repository
  • Verify webhooks are enabled in repository settings
  • Ensure your browser allows audio playback
  • Check volume settings in the dashboard

Events are not triggering

  • Check GitHub App permissions
  • Verify webhook deliveries in GitHub settings
  • Look for failed webhook requests in GitHub
  • Contact support if issues persist

Audio is choppy or laggy

  • Check your internet connection
  • Close other browser tabs using audio
  • Try a different browser (Chrome recommended)
  • Reduce volume or disable some event types

Frequently Asked Questions

Is bots-n-cats free?

Yes! bots-n-cats is free for personal projects and open source repositories. Team plans with additional features coming soon.

Can I use real cat sounds instead of synthesized ones?

Real cat sound integration is coming in a future update! We're currently curating a library of pitch-tuned cat samples.

Does this slow down my GitHub workflows?

No. bots-n-cats processes webhooks asynchronously and does not affect your CI/CD pipeline performance.

Can I customize the musical mappings?

Custom mappings are planned for a future release. For now, you can enable/disable specific events and adjust volume.

Is my code data secure?

Yes. bots-n-cats only reads event metadata (type, timestamp, repo name). We never access your source code or commit contents.

Can I record or download my soundtrack?

Recording and download features are planned for premium tiers. Currently, soundtracks are live-streamed only.

Need More Help?

Our team is here to help you get the most out of bots-n-cats