💤 NapTab

Put your tabs to sleep — not your computer.

Why NapTab?

A high-performance Chrome extension that auto-suspends inactive tabs using blazing-fast WebAssembly.

⚡ Fast by Design

C++ LRU Cache compiled to WebAssembly for instant tab management.

🌙 Auto-Nap

Automatically sleeps tabs beyond your active limit (default: 10).

🛡️ Whitelist Essentials

Keep crucial tabs like Docs or Spotify always active.

📊 Dashboard

View, wake, or suspend tabs instantly from a sleek control panel.

🛠️ How to Install

  1. Clone or download the repository
  2. Compile with Emscripten
    emcc lru.cpp ...
  3. Visit chrome://extensions
  4. Enable Developer Mode → Load Unpacked → Select naptab/