A browser extension that integrates TaskNotes with Gmail and other web pages, allowing you to create tasks directly from your browser.
- Gmail Integration: Add TaskNotes button directly to Gmail interface
- One-Click Task Creation: Create tasks from emails with extracted metadata
- Right-Click Context Menu: Add tasks from any webpage, selected text, or links
- Popup Interface: Full-featured task creation and settings management
- Connection Status: Real-time API connection monitoring
- Customizable Settings: Configure API port, authentication, default tags
- TaskNotes Plugin: Install and configure the TaskNotes plugin for Obsidian
- HTTP API Enabled: Enable the HTTP API in TaskNotes Settings → HTTP API tab
- Desktop Only: The TaskNotes API only works on desktop platforms
Install from the Chrome Web Store
Note that installing this way will receive updates more slowly while changes are approved in the Chrome Web Store.
- Download: Clone or download the latest release zip file
- Unzip the downloaded file
- Install
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode" (toggle in top right)
- Click "Load unpacked"
- Select the
tasknotes-browser-extensionfolder
- Open Chrome and go to
- Configure: Click the extension icon and configure your API settings in TaskNotes
- Download: Clone or download this repository
- Build: Run
npm install && npm run build(optional - pre-built files included) - Install:
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode" (toggle in top right)
- Click "Load unpacked"
- Select the
tasknotes-browser-extensionfolder
- Open Chrome and go to
- Configure: Click the extension icon and configure your API settings in TaskNotes
-
Enable TaskNotes API:
- Open Obsidian with TaskNotes plugin installed
- Go to Settings → TaskNotes → HTTP API tab
- Enable "Enable HTTP API"
- Note the port number (default: 8080)
- Optionally set an authentication token
- Restart Obsidian
-
Configure Extension:
- Click the TaskNotes extension icon in Chrome
- Enter your API port (should match TaskNotes settings)
- Enter authentication token if you set one
- Set default tags and priority
- Click "Test Connection" to verify setup
- Open Gmail in your browser
- Open any email
- Look for TaskNotes button in the toolbar
- Click the button to create a task with email metadata
- Task includes: Subject, sender, email URL, and preview
- Right-click on any webpage
- Select "Add to TaskNotes" from context menu
- Options available:
- Add current page
- Add selected text
- Add clicked link
- Add email (on Gmail)
- Click extension icon in Chrome toolbar
- Create custom tasks with title, priority, notes
- Quick actions: Add current page, view stats
- Configure settings: API port, auth token, defaults
- Monitor connection status
The extension communicates with your local TaskNotes API:
- Base URL:
http://localhost:{PORT}/api - Authentication: Optional Bearer token
- Endpoints Used:
GET /api/health- Connection testingPOST /api/tasks- Task creationGET /api/stats- Statistics display
-
Check TaskNotes API:
- Ensure Obsidian is running
- Verify API is enabled in TaskNotes settings
- Test with
curl http://localhost:8080/api/health
-
Check Extension Settings:
- Verify correct port number
- Check authentication token if using one
- Test connection in extension popup
-
Browser Issues:
- Refresh Gmail page
- Disable other extensions temporarily
- Check browser console for errors
- Refresh Gmail page
- Check URL: Must be
https://mail.google.com/* - Wait for load: Gmail takes time to fully load
- Check console: Look for JavaScript errors
- "Connection refused": TaskNotes API not running or wrong port
- "Unauthorized": Check authentication token
- "CORS error": API should automatically allow cross-origin requests
To add support for new email providers:
- Create content script in
content-scripts/ - Add CSS styles in
styles/ - Update
manifest.jsonwith new URL patterns - Add provider-specific extraction logic
- TaskNotes Plugin: Main Obsidian plugin
- TaskNotes Documentation: Full documentation
This project is licensed under the MIT License.
