Clipper - Browser Text Highlighting Extension
Clipper is a browser extension that lets you save and manage highlighted text from any webpage. It's a handy tool for collecting important quotes, snippets, or references while browsing the web.
Features
- Text Highlighting: Select text on any webpage and save it with a single click
- Organized Collection: All your saved highlights are stored in one convenient place
- Website Context: Each highlight saves the source URL and page title for reference
- Dark/Light Mode: Switch between themes to suit your preference
- Responsive Design: Clean UI built with React and Tailwind CSS
Technology Stack
- Frontend: React 19 with TanStack Router for navigation
- Styling: Tailwind CSS with shadcn/ui components
- Build Tools: Vite and TypeScript
- Extension APIs: Chrome Extension API for browser integration
Project Structure
/src/background
: Background service worker for the extension
/src/content
: Content scripts that run on webpages
/src/components
: Reusable UI components
/src/routes
: Application pages (main view and settings)
/src/lib
: Utility functions and type definitions
Getting Started
Prerequisites
Installation
- Clone the repository
git clone <repository-url>
cd clipper
- Install dependencies
npm install
- Development
npm run dev
- Build for production
npm run build:extension
Loading the extension in Chrome
- Open Chrome and navigate to
chrome://extensions
- Enable "Developer mode"
- Click "Load unpacked" and select the
dist
directory that was created during the build process
Usage
- Navigate to any webpage
- Select text you want to save
- Click the "Save" button that appears
- Click on the Clipper extension icon to view all your saved highlights
- Use the settings menu to toggle between dark and light mode
License
MIT