Skip to content

Vignesh025/copilot-roast-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Copilot Roaster πŸ”₯

Get roasted every time you use GitHub Copilot. Because AI-assisted coding deserves a sense of humor.

A hilarious VS Code extension that tracks your GitHub Copilot usage and delivers witty, contextual roasts based on how dependent you've become on AI assistance.

Status License VS Code


🎯 Overview

Ever wondered how many times you've accepted a Copilot suggestion? This extension counts them all and roasts you accordingly. The more you use Copilot, the more savage the roasts get!

Features:

  • πŸ”₯ Real-time roast notifications on every Copilot acceptance
  • πŸ“Š Persistent usage statistics tracked across sessions
  • πŸ“ˆ Progressive roasting levels from "Beginner" to "Transcendent"
  • βš™οΈ Customizable intensity levels (mild, medium, savage)
  • πŸ’Ύ Local storage - no data leaves your machine
  • πŸ˜„ 600+ unique roasts across all dependency levels

πŸ“¦ Installation

From VS Code Marketplace

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "Copilot Roaster"
  4. Click Install
  5. Start coding and get roasted! πŸ”₯

Manual Installation

  1. Clone this repository
  2. Run npm install
  3. Run npm run compile
  4. Press F5 to launch Extension Development Host

πŸš€ Usage

Basic Usage

Simply use GitHub Copilot normally. Every time you accept a suggestion, you'll get a witty roast notification!

You: *accepts Copilot suggestion*
Roaster: "That's 42 acceptances today. Your keyboard must feel lonely."

Commands

Open Command Palette (Ctrl+Shift+P / Cmd+Shift+P) and search for:

Command Description
Copilot Roaster: Show Stats View your total and session acceptance statistics
Copilot Roaster: Reset Stats Reset your acceptance counter (fresh start!)

Settings

Customize the extension in VS Code Settings (Ctrl+, / Cmd+,):

{
  "copilotRoaster.enabled": true,           // Enable/disable roasting
  "copilotRoaster.intensity": "medium"      // mild, medium, or savage
}

🎭 Roast Levels

The roasts escalate based on your total acceptances:

Acceptances Level Vibe
0-5 Beginner Playful and teasing
6-10 Early Adopter Noticing the habit
11-20 Early Adopter Gentle ribbing
21-50 Regular User Getting spicy
51-100 Heavy User Real roasting begins
101-150 Obsessed Savage territory
151-300 Extreme No mercy
301-600+ Legendary/Transcendent Absolute chaos πŸŒͺ️

Sample Roasts

0-50 acceptances:

  • "Oh look, baby's first Copilot suggestion! 🼼"
  • "Remember when you used to write code? Me neither."
  • "Your keyboard must feel lonely."

51-150 acceptances:

  • "Are you coding or just playing 'Accept Suggestion Simulator 2024'?"
  • "Your 'GitHub Contributions' should really say 'GitHub Copilot Contributions'."
  • "At this rate, Copilot should be listed as a co-author on your commits."

151+ acceptances:

  • "Breaking news: Local developer discovers they're just a human 'Tab' button."
  • "You've achieved coding enlightenment: Understanding nothing, accepting everything."
  • "Congratulations! You've won the award for 'Most Suggestions Accepted'. The prize? More dependency. πŸ†"

πŸ“Š How It Works

  1. Detection: The extension monitors your text document changes in VS Code
  2. Analysis: Uses heuristics to identify Copilot suggestion acceptances (multi-line code insertions with code patterns)
  3. Tracking: Increments your acceptance counters (total and session)
  4. Roasting: Selects and displays an appropriate roast based on your usage level
  5. Storage: Persists your statistics locally in VS Code settings

βš™οΈ Configuration

Extension Settings

{
  "copilotRoaster.enabled": true,
  // Enable or disable the extension
  
  "copilotRoaster.intensity": "medium"
  // Roast intensity level
  // Options: "mild" (beginner roasts only)
  //          "medium" (all roasts)
  //          "savage" (all roasts including harshest ones)
}

For VS Code Settings:

Press Ctrl+, (Cmd+, on Mac) and search for "copilot roaster"


πŸ“ Project Structure

copilot-roaster/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ extension.ts          # Main extension entry point
β”‚   β”œβ”€β”€ roastGenerator.ts     # Roast selection logic
β”‚   β”œβ”€β”€ copilotTracker.ts     # Usage tracking
β”‚   └── types.ts              # TypeScript interfaces
β”œβ”€β”€ roasts/
β”‚   └── roasts.json           # 600+ roasts database
β”œβ”€β”€ package.json              # Extension manifest
β”œβ”€β”€ tsconfig.json             # TypeScript config
β”œβ”€β”€ roaster.png               # Extension icon
β”œβ”€β”€ LICENSE                   # MIT License
└── README.md                 # This file

πŸ› οΈ Development

Prerequisites

  • Node.js (v16+)
  • npm or yarn
  • VS Code
  • GitHub Copilot extension installed

Setup

# Clone the repo
git clone https://github.com/yourusername/copilot-roaster.git
cd copilot-roaster

# Install dependencies
npm install

# Compile TypeScript
npm run compile

# Watch mode for development
npm run watch

Testing

  1. Press F5 in VS Code to launch Extension Development Host
  2. A new VS Code window opens with the extension loaded
  3. Use GitHub Copilot normally and accept suggestions
  4. Watch the roasts appear!

Adding More Roasts

Edit roasts/roasts.json to add more roasts. Structure:

{
  "category": "heavy_user",
  "minAcceptances": 51,
  "maxAcceptances": 75,
  "roasts": [
    "Your new roast here!",
    "Another roast here!"
  ]
}

πŸ› Troubleshooting

Roasts not appearing?

  • Ensure GitHub Copilot extension is installed and active
  • Check that the extension is enabled in settings
  • Verify you're making multi-line code changes (not single characters)
  • Check Output panel for error messages

Stats not persisting?

  • VS Code settings might be read-only
  • Try resetting stats command
  • Restart VS Code

False positives (detecting non-Copilot changes)?

  • The extension uses heuristics - some manual multi-line edits might trigger it
  • This is intentional to catch most real Copilot suggestions
  • If problematic, adjust shouldCountAsAcceptance() in extension.ts

πŸ“ Disclaimer

This extension is meant to be fun and humorous! πŸ˜„

It celebrates AI-assisted development and the reality that many developers use Copilot. The roasts are all in good spirit - we all use AI tools, and that's perfectly fine! This extension is just a playful way to acknowledge the dependency with a laugh.

It's not meant to criticize your coding ability or Copilot's usefulness. It's just comedy! 🎭


🀝 Contributing

Found a funny roast? Want to add more? Contributions are welcome!

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/more-roasts)
  3. Add your roasts to roasts/roasts.json
  4. Commit your changes (git commit -m 'Add hilarious new roasts')
  5. Push to the branch (git push origin feature/more-roasts)
  6. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

You're free to use, modify, and distribute this extension!


πŸ“Š Stats

  • 600+ roasts across all dependency levels
  • 12 roast categories from beginner to transcendent
  • Zero external dependencies (lightweight!)
  • MIT Licensed (free for everyone!)

πŸ”— Links


πŸ’¬ Feedback & Support

Found a bug? Have a roast suggestion? Open an issue!


Remember:

The best part about AI-assisted coding? The roasts you get along the way. πŸ”₯


Happy coding (and roasting)! πŸ˜„

Contributors