A Firefox extension for managing tab sessions with your Linkding bookmark server. LinkTabs allows you to automatically save and open tab bundles, making it easy to organize your browsing sessions.
- Session Management: Start sessions with bundles to automatically open all bookmarks
- Auto-tracking: New tabs are automatically added to the active bundle
- Tab Management: Closing tabs removes them from the bundle
- Bundle Control: Use the popup or sidebar to manage your sessions
- Real-time Sync: Changes are synchronized with your Linkding server in real-time
- Firefox browser
- A running Linkding server instance
- Linkding API token
-
Download the Extension
- Clone or download this repository
- Extract the files to a local directory
-
Install in Firefox
- Open Firefox
- Navigate to
about:debugging - Click "This Firefox"
- Click "Load Temporary Add-on"
- Select the
manifest.jsonfile from the LinkTabs directory - Note: The extension includes an explicit addon ID (
linktabs@example.com) to enable storage API functionality
-
Configure LinkTabs
- Click the LinkTabs icon in your Firefox toolbar
- Click "Open Settings" if not configured
- Enter your Linkding server URL (e.g.,
https://bookmarks.example.com) - Enter your API token (found in your Linkding Settings page)
- Test the connection and save
-
Via Popup:
- Click the LinkTabs icon in the toolbar
- Select a bundle from the list
- Click "Start Session"
- All bookmarks in the bundle will open in new tabs
-
Via Sidebar:
- Click the LinkTabs icon in the sidebar
- Browse bundles and their bookmarks
- Click "Start Session" on any bundle
- Auto-tracking: Any new tabs you open will be automatically added to the active bundle
- Auto-removal: Closing tabs will remove them from the bundle
- Session Status: The extension shows which bundle is currently active
- Click "End Session" in either the popup or sidebar
- All tabs associated with the bundle will be closed
- Tab tracking will stop
- Add Current Tab: Use the sidebar to add the current tab to any bundle
- Remove Bookmarks: Click the trash icon next to any bookmark in the sidebar
- View Bookmarks: Expand bundles in the sidebar to see all bookmarks
- Install and configure your Linkding server
- Create bundles in the Linkding web interface
- Add bookmarks to bundles using tags or bundle filters
- Get your API token from Settings → API Token
Access settings by:
- Right-clicking the LinkTabs icon → Options
- Or clicking "Open Settings" from the popup/sidebar
Settings Available:
- Linkding Server URL
- API Token
- Connection test
LinkTabs/
├── manifest.json # Extension manifest
├── background/
│ └── background.js # Background script for tab tracking
├── common/
│ ├── api.js # Linkding API client
│ ├── storage.js # Storage management
│ └── utils.js # Utility functions
├── popup/
│ ├── popup.html # Popup interface
│ ├── popup.js # Popup logic
│ └── popup.css # Popup styling
├── sidebar/
│ ├── sidebar.html # Sidebar interface
│ ├── sidebar.js # Sidebar logic
│ └── sidebar.css # Sidebar styling
├── options/
│ ├── options.html # Settings page
│ ├── options.js # Settings logic
│ └── options.css # Settings styling
├── icons/
│ ├── icon-16.svg # Extension icons
│ ├── icon-32.svg
│ ├── icon-48.svg
│ └── icon-128.svg
└── README.md # This file
LinkTabs integrates with the Linkding REST API:
- Bundles:
GET /api/bundles/- List all bundles - Bookmarks:
GET /api/bookmarks/?bundle=<id>- Get bookmarks for a bundle - Create Bookmark:
POST /api/bookmarks/- Add new bookmark - Delete Bookmark:
DELETE /api/bookmarks/<id>/- Remove bookmark - Check Bookmark:
GET /api/bookmarks/check/?url=<url>- Check if URL exists
-
"Storage API will not work with a temporary addon ID" Error
- This is fixed in the current version with explicit addon ID
- Reload the extension if you see this error
- The extension now includes
linktabs@example.comas the addon ID
-
"API not configured" Error
- Go to extension settings
- Enter your Linkding server URL and API token
- Test the connection
-
"Connection test failed"
- Verify your Linkding server URL is correct
- Check that your API token is valid
- Ensure your Linkding server is accessible
-
Tabs not being tracked
- Make sure a session is active
- Check that the tab URL is valid (not internal Firefox pages)
- Verify the extension has necessary permissions
-
Bookmarks not syncing
- Check your internet connection
- Verify Linkding server is running
- Check browser console for error messages
To enable debug logging:
- Open Firefox Developer Tools (F12)
- Go to Console tab
- Look for LinkTabs-related messages
- Clone the repository
- Make your changes
- Load the extension in Firefox using
about:debugging
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is open source. Please check the license file for details.
For issues and questions:
- Check the troubleshooting section above
- Review the Linkding API documentation
- Open an issue on the project repository
- Initial release
- Basic session management
- Popup and sidebar interfaces
- Auto-tracking of tabs
- Integration with Linkding API