Skip to content

CacheCat - A powerful Chrome Extension (Manifest V3) that provides a full-tab dashboard to view, edit, and manage website storage. Perfect for developers, QA testers, and power users.

License

Notifications You must be signed in to change notification settings

chinmay29hub/CacheCat

Repository files navigation

CacheCat 🐱

License: MIT Chrome Web Store Chrome Web Store Version React Vite

Available in the Chrome Web Store

CacheCat - Unified dashboard for all website storage management | Product Hunt

A powerful Chrome Extension (Manifest V3) that provides a full-tab dashboard to view, edit, and manage website storage. Perfect for developers, QA testers, and power users.

✨ Features

  • Complete Storage Management: View and edit Cookies, Local Storage, Session Storage, IndexedDB, and Cache Storage
  • Modern Dashboard: Beautiful, intuitive interface with light/dark theme support
  • Developer-Friendly: Perfect for debugging, testing, and managing web application storage
  • No DevTools Required: Standalone dashboard that works independently
  • Multiple Dashboards: Open multiple dashboards for different websites simultaneously

πŸš€ Quick Start

Installation

Option 1: Install from Chrome Web Store (Recommended)

  1. Visit the Chrome Web Store
  2. Click "Add to Chrome"
  3. Confirm installation
  4. Done! The extension is ready to use.

Option 2: Manual Installation (For Development)

  1. Clone the repository:

    git clone https://github.com/chinmay29hub/CacheCat.git
    cd CacheCat
  2. Install dependencies:

    npm install
  3. Build the extension:

    npm run build
  4. Load in Chrome:

    • Open Chrome and navigate to chrome://extensions/
    • Enable "Developer mode" (toggle in top-right)
    • Click "Load unpacked"
    • Select the dist/ directory

Usage

  1. Navigate to a website you want to inspect (e.g., https://github.com)
  2. Click the CacheCat extension icon in your toolbar
  3. Dashboard opens automatically attached to that website
  4. Navigate between storage types using the left sidebar:
    • πŸͺ Cookies
    • πŸ’Ύ Local Storage
    • πŸ“ Session Storage
    • πŸ—„οΈ IndexedDB
    • ⚑ Cache Storage

πŸ“‹ What You Can Do

Cookies

  • View all cookies with full details (name, value, domain, path, expiry, flags)
  • Add, edit, and delete cookies
  • Mask/unmask sensitive values
  • HttpOnly cookies visible and editable

Local Storage

  • Key/value table with inline editing
  • JSON pretty-view and validation
  • Import/Export JSON
  • Clear all with confirmation

Session Storage

  • Same features as Local Storage
  • Explicitly tied to the attached tab
  • Labeled "This tab only"

IndexedDB

  • Database β†’ Object Store β†’ Index hierarchy
  • Paginated record listing
  • Search by key or JSON path
  • CRUD operations on records
  • Export store (JSON array)
  • Clear store with confirmation

Cache Storage

  • List all caches
  • View entries with request/response details
  • Preview response headers and body
  • Delete individual entries
  • Refetch and replace entries
  • Delete entire cache with confirmation

πŸ› οΈ Development

Recommended Workflow

  1. Start watch mode (rebuilds on file changes):

    npm run dev
  2. Load extension in Chrome:

    • Open chrome://extensions/
    • Enable "Developer mode"
    • Click "Load unpacked" β†’ Select dist/ folder
    • Keep this tab open for quick reloads
  3. Make changes to files in src/

  4. Reload extension after each build:

    • Click the reload icon (πŸ”„) on the CacheCat extension card
    • Or use keyboard shortcut: Ctrl+R (Windows/Linux) or Cmd+R (Mac)
  5. Test changes:

    • Open a test website (e.g., github.com)
    • Click the extension icon
    • Verify your changes work

Development Tips

Fast Iteration:

  • Keep npm run dev running in a terminal
  • Keep chrome://extensions/ tab open for quick reloads
  • Use browser DevTools for debugging

Debugging:

  • Dashboard: Right-click dashboard tab β†’ "Inspect" (React DevTools recommended)
  • Background: chrome://extensions/ β†’ Find CacheCat β†’ Click "service worker" link
  • Agent/Content: Open DevTools on the target website β†’ Check Console

Code Quality:

# Check for errors
npm run lint

# Auto-fix issues
npm run lint -- --fix

# Format code
npm run format

Scripts

  • npm run dev - Watch mode (auto-rebuild on changes)
  • npm run build - Production build
  • npm run lint - Check code quality
  • npm run format - Format code with Prettier

For detailed development and contribution guide, see CONTRIBUTING.md.

πŸ“ Project Structure

CacheCat/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ background/     # Service worker
β”‚   β”œβ”€β”€ content/        # Content script bridge
β”‚   β”œβ”€β”€ agent/          # Page context script
β”‚   └── dashboard/       # React dashboard app
β”œβ”€β”€ icons/              # Extension icons (PNG)
β”œβ”€β”€ dist/               # Build output
β”œβ”€β”€ manifest.json       # Extension manifest
└── vite.config.js      # Build configuration

πŸ”§ Tech Stack

  • React - UI framework
  • Vite - Build tool
  • Tailwind CSS - Styling
  • Chrome Extension APIs - Storage access

πŸ“ Permissions

CacheCat requires the following permissions to function:

  • host_permissions: ["<all_urls>"] - Access storage on any website you want to inspect
  • permissions: ["cookies", "scripting", "activeTab", "alarms"] - Read/modify cookies, inject scripts, access active tab, schedule background tasks

Privacy & Security

πŸ”’ 100% Local Operation - All data stays on your device. No collection, no transmission, no tracking.

  • βœ… No data is collected or transmitted
  • βœ… No external API calls
  • βœ… No analytics or tracking
  • βœ… All operations happen locally in your browser

Why these permissions?

  • Storage access is only used when you explicitly click the extension icon on a website
  • All operations are performed locally - nothing leaves your computer
  • Perfect for developers debugging their own applications

See our Privacy Policy for complete privacy details.

🀝 Contributing

We welcome contributions! Please read our Contributing Guide for details on:

  • Development setup
  • Code style guidelines
  • Pull request process
  • Testing requirements

Contributions of all kinds are welcome - bug fixes, features, documentation, and more!

πŸ“„ License

MIT

About

CacheCat - A powerful Chrome Extension (Manifest V3) that provides a full-tab dashboard to view, edit, and manage website storage. Perfect for developers, QA testers, and power users.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages