A cross-browser extension for S.EE - URL shortening, text sharing, and file hosting service.
- URL Shortening: Shorten any URL with custom slugs and multiple domain options
- Text Sharing: Share code snippets and text with syntax highlighting support
- File Upload: Batch upload files with multiple export formats (Plain/Markdown/HTML/BBCode)
- QR Code Generation: Generate and export QR codes in PNG, SVG, or PDF format
- Context Menus: Right-click to shorten pages/links, show QR codes, share text, upload images
- History Management: Track and manage URLs, texts, and files with batch operations
- Draft Persistence: Input fields are saved automatically across sessions
- Dark/Light Theme: Automatic theme detection with manual toggle
- Cross-Browser: Works on Chrome (MV3) and Firefox (MV3)
-
Clone the repository:
git clone https://github.com/sdotee/browser-extensions.git cd browser-extensions -
Install dependencies:
bun install
-
Build the extension:
# For Chrome bun run build # For Firefox bun run build:firefox
-
Load the extension:
- Chrome: Go to
chrome://extensions/, enable Developer mode, click "Load unpacked", select.output/chrome-mv3/ - Firefox: Go to
about:debugging, click "This Firefox", click "Load Temporary Add-on", select.output/firefox-mv3/manifest.json
- Chrome: Go to
- Click the S.EE extension icon in your browser toolbar
- Enter your API token (get one at s.ee/user/developers)
- Click "Save Token & Continue"
- Current Page: Click "Shorten URL" to shorten the active tab's URL
- Custom URL: Enter any URL to shorten
- Custom Slug: Enable custom slug to create memorable short URLs
- Enter text or code to share
- Optional title (defaults to "Untitled")
- Select text type for syntax highlighting
- Drag & drop or select files (supports batch upload)
- Individual copy buttons for each uploaded file
- Batch copy with format options:
- Plain URLs
- Markdown links
- HTML links
- BBCode links
- Optional filename inclusion in export
Right-click on any page to access:
- Shorten This Page - Shorten current page URL
- Shorten This Link - Shorten a link (when right-clicking on links)
- Show QR Code - Generate QR code for page/link
- Share Selected Text - Share highlighted text
- Upload Image to S.EE - Upload image with automatic WebP conversion
- Tab-aware history for URLs, Texts, and Files
- Copy, open, or delete individual items
- Batch select and delete multiple items
- Clear all history per category
# Install dependencies
bun install
# Development mode with hot reload
bun run dev # Chrome
bun run dev:firefox # Firefox
# Build for production
bun run build # Chrome
bun run build:firefox # Firefoxsee-chrome-extension/
├── entrypoints/
│ ├── popup/
│ │ ├── index.html # Popup UI structure
│ │ ├── main.ts # Core popup logic
│ │ └── style.css # Styles with theme support
│ └── background.ts # Service worker for context menus
├── utils/
│ ├── sdk.ts # S.EE API client
│ └── storage.ts # Browser storage utilities
├── public/
│ └── icons/ # Extension icons
├── wxt.config.ts # WXT configuration
├── scripts/
│ └── release.sh # Release packaging script
└── .output/ # Built extensions
├── chrome-mv3/ # Chrome build
├── firefox-mv3/ # Firefox build
└── release/ # Packaged releases (.zip, .xpi)
- WXT - Next-gen Web Extension Framework
- TypeScript
- Vite
- QRCode.js
- jsPDF
- html2canvas
- DOMPurify
This extension:
- Only communicates with the S.EE API (https://s.ee)
- Stores your API token and preferences in browser sync storage
- Stores history locally on your device
- Does not collect or transmit any personal data
MIT License