vstat

Vibe Stats - AI Dev Tools Status Monitor

A Chrome/Edge browser extension that monitors the real-time status of AI developer tools (Claude AI and GitHub Copilot) with cool AI-themed vibe indicators and comprehensive incident reporting through an intuitive popup interface.

Chrome Extension Manifest V3 Status AI Powered

πŸ“„ Privacy Policy - Learn about our data collection and privacy practices

✨ Features

πŸš€ Quick Start

For End Users

  1. Install from Chrome Web Store (coming soon)
  2. Or load unpacked for development:
    git clone https://github.com/todddube/vstat.git
    cd vstat
    # Open chrome://extensions/ β†’ Enable Developer Mode β†’ Load Unpacked β†’ Select this folder
    

For Developers

# Clone the repository
git clone https://github.com/todddube/vstat.git
cd vstat

# Install test dependencies
cd tests && npm install && cd ..

# Run tests
npm test

# Build for production
npm run build

# Run visual tests
npm run test:visual

πŸ“‹ Installation Instructions

Coming soon - Extension will be available on Chrome Web Store

Method 2: Load Unpacked (Development/Testing)

  1. Download the Extension:
    git clone https://github.com/todddube/clstat.git
    # OR download ZIP from GitHub and extract
    
  2. Install in Chrome/Edge:
    • Open Chrome and navigate to chrome://extensions/
    • Enable β€œDeveloper mode” (toggle in top-right corner)
    • Click β€œLoad unpacked”
    • Select the vstat directory (or build/ for production build)
    • The Claude status icon should appear in your browser toolbar
  3. Pin the Extension:
    • Click the puzzle piece icon in the toolbar
    • Pin the Claude Status Monitor for easy access

Method 3: Production Build

# Build production-ready extension
npm run build

# Load the ./build directory in Chrome
# This gives you the exact same files that would be on the Chrome Web Store

System Requirements

🎯 Usage Guide

πŸš₯ Status Icon Meanings

Icon Status Badge Description
⚑ Green Operational None All dev tools are vibing! πŸ”₯
⚑ Yellow Minor Issues Number (1-4+) Some services affected, shows count
⚑ Red Major/Critical ! or Number Significant service disruption
⚑ Gray Unknown None Cannot determine status (network/API error)

πŸ“± Popup Interface

Click the extension icon to open a detailed status popup with two main sections:

🚨 Active Issues Tab

πŸ“š Last 5 Incidents Tab

⌨️ Keyboard Shortcuts

πŸ—οΈ Architecture & Development

πŸ“ Project Structure

vstat/
β”œβ”€β”€ πŸ“„ manifest.json              # Extension configuration (Manifest V3)
β”œβ”€β”€ βš™οΈ background.js              # Service worker (dual-service monitoring)
β”œβ”€β”€ 🎨 popup.html                 # Popup interface HTML
β”œβ”€β”€ πŸ“± popup.js                   # Popup interface logic
β”œβ”€β”€ πŸ€– icons/                     # Cool AI-themed vibe icons (16px to 128px)
β”‚   β”œβ”€β”€ ai-vibe-16.png            # Toolbar icon (small)
β”‚   β”œβ”€β”€ ai-vibe-32.png            # Standard icon
β”‚   β”œβ”€β”€ ai-vibe-48.png            # Large icon
β”‚   └── ai-vibe-128.png           # Extension page icon
β”œβ”€β”€ πŸ› οΈ dev/                       # Development tools and assets
β”‚   β”œβ”€β”€ scripts/                  # Utility scripts (version sync, etc.)
β”‚   └── README.md                 # Development tools documentation
β”œβ”€β”€ 🎨 design/                    # Design assets and tools
β”‚   └── cool-vibe-icons.html     # Icon generator tool
β”œβ”€β”€ πŸ§ͺ tests/                     # Comprehensive test suite
β”‚   β”œβ”€β”€ unit/                     # Unit tests for components
β”‚   β”œβ”€β”€ integration/              # Integration tests
β”‚   β”œβ”€β”€ visual-test-viewer.html   # Interactive visual testing
β”‚   β”œβ”€β”€ VISUAL_TESTING.md         # Visual testing guide
β”‚   └── README.md                 # Testing documentation
β”œβ”€β”€ πŸ”§ build-extension.js         # Production build script
β”œβ”€β”€ πŸ“– BUILD.md                   # Build system documentation
└── πŸ“š README.md                  # This documentation

πŸ”§ Core Components

Service Worker (background.js)

AI-Themed Vibe Icon System

πŸ§ͺ Testing

Comprehensive Test Suite

The extension includes a full testing framework with both automated and visual testing capabilities:

# Run all tests
npm test

# Run visual tests with browser interface
npm run test:visual

# Open interactive visual testing tool
npm run visual:viewer

# Validate visual assets
npm run visual:validate

Test Coverage

Visual Testing Tools

πŸ“– Complete Testing Documentation

πŸ“¦ Building for Production

Quick Build Commands

# Validate all files before building
npm run validate

# Build production-ready zip file
npm run build

# Build and clean up temporary files  
npm run build:clean

# Complete release preparation (validate + build)
npm run prepare-release

Build Output

Chrome Web Store Submission

  1. Run npm run build to create production zip
  2. Go to Chrome Developer Dashboard
  3. Upload the zip file from ./dist/ directory
  4. Complete store listing information and submit for review

πŸ“– Complete Build Documentation

πŸš€ Release Management

Automated Release Workflow

The project includes a GitHub Action for automated releases that handles version bumping, building, tagging, and creating GitHub releases.

Quick Release Commands

# Check version sync status
npm run version:check

# Sync versions (manifest.json is source of truth)
npm run version:sync

# Prepare for release (build and validate)
npm run prepare-release

# Ready for GitHub Action release
npm run release:patch    # For patch releases (1.0.0 β†’ 1.0.1)
npm run release:minor    # For minor releases (1.0.0 β†’ 1.1.0)
npm run release:major    # For major releases (1.0.0 β†’ 2.0.0)

GitHub Action Release Process

The automated release workflow is triggered manually from the GitHub Actions tab:

  1. Go to GitHub Actions: Navigate to the Actions tab in your repository
  2. Select Release Workflow: Choose β€œRelease Build and Deploy”
  3. Run Workflow: Click β€œRun workflow” and specify:
    • Version Type: patch, minor, or major
    • Release Notes: Optional custom notes for the release

What the GitHub Action Does

The automated workflow performs these steps:

  1. πŸ“‹ Version Management:
    • Reads current version from manifest.json
    • Bumps version according to semver (patch/minor/major)
    • Updates both manifest.json and package.json
  2. πŸ” Validation & Build:
    • Validates all extension files
    • Runs the build process with npm run build:clean
    • Creates production-ready zip file
  3. πŸ“ Git Operations:
    • Commits version changes to repository
    • Creates and pushes git tag (e.g., v1.2.3)
    • Pushes changes to main branch
  4. πŸš€ GitHub Release:
    • Creates GitHub release with changelog
    • Attaches extension zip file and manifest
    • Generates Chrome Web Store submission notes
  5. πŸ“¦ Chrome Web Store Prep:
    • Provides submission checklist
    • Includes store description template
    • Ready-to-upload zip file

Manual Version Management

For more granular control, use the version sync utilities:

# Set specific version
npm run version:set 1.2.3

# Bump version types
npm run version:bump patch   # 1.0.0 β†’ 1.0.1
npm run version:bump minor   # 1.0.0 β†’ 1.1.0
npm run version:bump major   # 1.0.0 β†’ 2.0.0

# Check if manifest.json and package.json are in sync
npm run version:check

# Sync package.json to manifest.json version
npm run version:sync

# Check About popup version consistency
npm run about:check

Release Workflow Best Practices

  1. Pre-Release Checklist:
    • βœ… All tests pass: npm test
    • βœ… Visual tests validate: npm run test:visual
    • βœ… Build succeeds: npm run prepare-release
    • βœ… Extension loads and works in Chrome
  2. Release Types:
    • Patch: Bug fixes, small improvements
    • Minor: New features, significant enhancements
    • Major: Breaking changes, major redesigns
  3. Post-Release:
    • βœ… Download zip from GitHub release
    • βœ… Submit to Chrome Web Store Developer Dashboard
    • βœ… Test released version in clean browser profile

Release Files Structure

After a GitHub Action release, you’ll find:

πŸ“¦ GitHub Release Assets:
β”œβ”€β”€ πŸ“ vibe-stats-v1.2.3.zip      # Ready for Chrome Web Store
β”œβ”€β”€ πŸ“„ manifest.json              # Updated manifest file
└── πŸ“ Release Notes               # Automated changelog

🌐 Chrome Web Store Submission:
β”œβ”€β”€ πŸ“‹ Submission checklist
β”œβ”€β”€ πŸ“ Store description template
└── πŸ”— Developer dashboard link

πŸ“– Complete Build Documentation πŸš€ Detailed Release Guide

πŸ”— API Integration

Dual-Service API Integration

Anthropic Status APIs (Claude AI):

GitHub Status APIs (GitHub Copilot):

Status Mapping Logic

| API Response | Extension Status | Icon Color | Badge | |————–|β€”β€”β€”β€”β€”β€”|β€”β€”β€”β€”|——–| | none, operational | Operational | 🟒 Green | None | | minor | Minor Issues | 🟑 Yellow | Service count | | major, critical | Major Issues | πŸ”΄ Red | ! or count | | Network/Parse Error | Unknown | βšͺ Gray | None |

πŸ› οΈ Development Setup

Prerequisites

Development Workflow

  1. Clone and Setup:
    git clone https://github.com/todddube/vstat.git
    cd vstat
    cd tests && npm install && cd ..
    
  2. Load in Browser:
    • Open chrome://extensions/
    • Enable Developer Mode
    • Load Unpacked β†’ Select project directory
  3. Development Cycle:
    # Make changes to code
       
    # Test changes
    npm test
       
    # Test visual components
    npm run test:visual
       
    # Build for testing
    npm run build
       
    # Reload extension in Chrome
    
  4. Debugging:
    • Background Script: chrome://extensions/ β†’ β€œInspect views: service worker”
    • Popup Interface: Right-click extension icon β†’ β€œInspect popup”
    • Console Logs: Check both background and popup consoles

Icon Development

The extension uses custom AI-themed vibe icons optimized for high-resolution displays. Icon development tools are located in the dev/icon-generator/ folder:

AI Vibe Icon Generator

# Open the HTML icon generator in your browser
start dev/icon-generator/create-ai-vibe-icons.html
# Or double-click the file to open in default browser

See dev/README.md for detailed usage instructions.

Icon Features

Icon Development Workflow

  1. Open dev/icon-generator/create-ai-vibe-icons.html in browser
  2. Icons are auto-generated with download links
  3. Download all four sizes (ai-vibe-16.png through ai-vibe-128.png)
  4. Replace existing files in icons/ folder
  5. Reload extension in Chrome to see changes

πŸ”§ Configuration

Extension Settings

The extension uses sensible defaults that work for most users:

Customization

Advanced users can modify settings by editing:

πŸ› Troubleshooting

Common Issues

πŸ”΄ Extension Not Loading

Symptoms: Extension doesn’t appear in toolbar Solutions:

🟑 Status Not Updating

Symptoms: Icon stays gray or doesn’t change Solutions:

πŸ”΄ Popup Not Opening

Symptoms: Clicking icon does nothing or shows errors Solutions:

πŸ”„ Performance Issues

Symptoms: Browser slowdown or high memory usage Solutions:

Debug Tools

Getting Help

πŸ“š Documentation Index

🀝 Contributing

Development Contributions

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Test your changes: npm test && npm run test:visual
  4. Build and validate: npm run prepare-release
  5. Commit with clear messages: git commit -m 'Add amazing feature'
  6. Push to your fork: git push origin feature/amazing-feature
  7. Create a Pull Request with detailed description

Code Standards

Testing Requirements

πŸ“„ License

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

⭐ Acknowledgments


πŸ”— Quick Links

Made with ❀️ for the Claude community