Skip to content

bryant24hao/tab-cleanup

Repository files navigation

Tab Cleanup

A Chrome extension that helps you maintain a clean and efficient browsing experience by automatically managing inactive tabs.

Tab Cleanup Demo

Features

  • Smart Tab Management - Automatically identifies and manages tabs based on their last active time
  • Auto Cleanup - Schedule automatic cleanup with customizable intervals and thresholds
  • Flexible Time Ranges - Choose from preset options or set your own custom time range:
    • 1 hour / 12 hours / 24 hours / 1 week
    • Custom duration (minutes/hours/days)
  • Multi-language Support - English and Simplified Chinese (简体中文)
  • Dark/Light Theme - Switch between dark and light modes
  • Real-time Statistics - Shows the current number of tabs and potential cleanup candidates
  • Safe Operation - Always preserves your active tab, pinned tabs, and tabs playing audio

Installation

  1. Visit the Chrome Web Store (Coming soon)
  2. Search for "Tab Cleanup"
  3. Click "Add to Chrome"

Usage

  1. Click the Tab Cleanup icon in your Chrome toolbar
  2. View the current number of open tabs
  3. Choose a time range for cleanup:
    • Click any preset time range button
    • Or use the custom time range option
  4. Confirm the action to close inactive tabs
  5. Use Chrome's built-in restore feature if you need to recover any closed tabs

Development

Prerequisites

  • Node.js (v14 or higher)
  • npm or yarn

Getting Started

  1. Clone the repository:

    git clone https://github.com/bryant24hao/tab-cleanup.git
    cd tab-cleanup
  2. Install dependencies:

    npm install
  3. Start development mode:

    npm run dev
  4. Build for production:

    npm run build

Privacy & Security

We take your privacy seriously:

  • No data collection or tracking
  • No external server communication
  • All operations are performed locally
  • Minimal permission requirements

Support

Need help or have suggestions? We're here to help:

☕ Buy Me a Coffee

If you find this extension helpful, consider supporting the development:

Buy Me A Coffee

Buy Me a Coffee QR Code

Contributing

We welcome contributions! Here's how you can help:

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

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors