Skip to content

AdmGenSameer/save-tabs-extension

Repository files navigation

📑 Save My Tabs - Browser Extension

A modern Chrome/Edge extension for saving, organizing, and managing your browser tabs with AI-powered features.

✨ Features

🎯 Core Features

  • Save All Tabs - Save all open tabs across all windows
  • Save Current Window - Save only tabs from current window
  • Quick Save - One-click save with auto-generated names
  • My Saves - View and manage all saved sessions
  • Smart Grouping - Auto-group tabs by website domain
  • Search - Quickly find saved tabs
  • Export/Import - Backup as JSON or HTML
  • Find Duplicates - Detect and close duplicate tabs
  • Dark/Light Theme - Toggle between themes

🤖 AI-Powered Features (New!)

  • AI Auto-Naming ⭐ - Smart session names based on tab content
    • Example: "💻 🤖 React Documentation & Learning Resources"
  • AI Categorization 🎯 - Automatically group tabs by category
    • Categories: Development, Work, Shopping, Entertainment, Social, Research
  • AI Summary 📝 - Generate intelligent session summaries
    • Shows what you're working on in natural language

🚀 Installation

1. Load Extension

  1. Download or clone this repository
  2. Open Chrome/Edge and go to chrome://extensions
  3. Enable "Developer mode" (top right)
  4. Click "Load unpacked"
  5. Select the extension folder

2. Enable AI Features (Optional)

For the best experience with AI-powered features:

See detailed guide: CHROME_AI_SETUP.md

Quick steps:

  1. Visit chrome://flags/#optimization-guide-on-device-model
  2. Set to "Enabled BypassPerfRequirement"
  3. Visit chrome://components
  4. Update "Optimization Guide On Device Model"
  5. Reload extension

Note: Extension works perfectly without AI! All features have smart fallbacks.

📖 Usage

Basic Operations

  1. Save tabs: Click "Save All" or "Save Window"
  2. View saved: Click "My Saves"
  3. Restore: Click "🔁 Restore" on any session
  4. Search: Type in search box to filter
  5. Delete: Right-click tabs or click "🗑️ Delete"

AI Features

  1. AI Naming: Just save - AI automatically generates smart names
  2. AI Categorize: Click "🤖 AI Categorize" to group tabs by content
  3. AI Summary: Click "📝 AI Summary" for session overview

🎨 Screenshots

Modern, responsive design with:

  • Clean 2-column button layout
  • Gradient backgrounds and hover effects
  • Custom dialogs (no browser popups)
  • Smooth animations
  • Dark and light themes

📚 Documentation

🔧 Technical Details

Built With

  • Manifest V3
  • Chrome Built-in AI (Gemini Nano)
  • Pure JavaScript (no frameworks)
  • Modern CSS with gradients and animations

Browser Support

  • Chrome 128+ (for AI features)
  • Chrome 88+ (without AI)
  • Edge 88+
  • Other Chromium browsers

Permissions

  • tabs - Read and manage tabs
  • storage - Save session data locally
  • host_permissions - Access tab URLs for AI analysis

🤖 About AI Features

Privacy & Performance

100% Private - AI runs locally, no data sent to servers
Free - Uses Chrome's built-in AI (no API keys)
Fast - Responses in < 1 second typically
Optional - Works great without AI enabled

How It Works

  1. Chrome downloads AI model (one-time, ~1.5GB)
  2. Extension uses window.ai.languageModel API
  3. AI analyzes tab content locally
  4. Generates smart names/categories
  5. Falls back to keywords if AI unavailable

🐛 Bug Fixes

Recent Fixes

  • ✅ Fixed individual tab delete showing browser dialog
  • ✅ All delete operations now use custom styled dialog
  • ✅ Consistent UI across all interactions

🔮 Roadmap

Implemented:

  • ✅ AI Auto-Naming
  • ✅ Smart Categorization
  • ✅ Session Summaries
  • ✅ Custom delete dialogs

Future Ideas:

  • Semantic duplicate detection
  • Smart recommendations
  • Auto-tagging with hashtags
  • Natural language search
  • Session analytics

📝 License

This project is open source. Feel free to use, modify, and distribute.

🤝 Contributing

Contributions welcome! Feel free to:

  • Report bugs
  • Suggest features
  • Submit pull requests
  • Improve documentation

💡 Tips

  1. Use AI naming - Let AI create descriptive names automatically
  2. Categorize often - Keep tabs organized by content type
  3. Export regularly - Backup your important sessions
  4. Search is powerful - Filter by URL or title instantly
  5. Try both themes - Switch between dark/light for comfort

🎯 Use Cases

  • Developers - Save research, docs, and Stack Overflow tabs
  • Students - Organize research by topic
  • Shoppers - Save product comparison tabs
  • Researchers - Group articles and papers
  • Anyone - Reduce tab clutter, restore sessions later

📞 Support

Having issues?

  1. Check CHROME_AI_SETUP.md for AI setup
  2. Try test-ai.html to verify AI is working
  3. Extension works without AI (fallback mode)
  4. Open an issue with details

🙏 Acknowledgments

  • Chrome Built-in AI (Gemini Nano)
  • Modern web standards
  • Open source community

Made with ❤️ for better tab management

Stop losing your tabs. Start organizing with AI.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors