Capture tasks from any web page into TaskNotes: your mdbase collection, or the Obsidian vault the TaskNotes plugin runs in.
- Quick add. Click the toolbar button or press Alt+Shift+T,
type a task the way you would in TaskNotes (
Reply to Sam tomorrow 3pm #work @email +Launch), and press Enter. Dates, tags, contexts, projects, priority and recurrence are read as you type and shown before you save. - From the page. The task links back to the page it came from. GitHub issues and pull requests, and Gmail and Outlook messages, suggest their own title; a short selection becomes the title and a longer one is quoted in the task's notes.
- Right-click. Add a task from selected text, a link or the page itself.
- Address bar. Type
task, a space, then the task, and press Enter. - Drafts are kept. If the popup closes before you save, what you typed is still there when you open it again on the same page.
Choose in the extension's settings (right-click the toolbar button → Options).
Sign in to mdbase, pick a collection, and allow the extension to use it. Tasks are created in the collection's TaskNotes task type, named and filled in the same way the TaskNotes app does it, and they sync to every device. The collection must already be set up for TaskNotes: open it once in the TaskNotes app first.
The extension asks mdbase only to read the collection (to learn its statuses, priorities and naming rules) and to create records.
Firefox can't sign in to mdbase yet, so the Firefox build offers Obsidian only.
Uses the HTTP API of the TaskNotes plugin on this computer. Obsidian must be running.
- In Obsidian, open Settings → TaskNotes → Integrations → HTTP API, turn it on and set an API token. Note the port (8080 by default).
- In the extension's settings choose Obsidian, enter the port and token, and click Save and connect.
Natural-language parsing, statuses, priorities, projects and templates come from the plugin, so tasks match ones you create in Obsidian.
- Chrome Web Store: TaskNotes
- GitHub: download a zip from the latest release,
unzip it, open
chrome://extensions, turn on Developer mode, click Load unpacked and pick the folder. In Firefox, openabout:debugging#/runtime/this-firefoxand loadmanifest.jsonfrom the Firefox zip as a temporary add-on.
Upgrading from version 1 keeps your Obsidian port, token and default tags. The buttons version 1 added inside Gmail, Outlook and GitHub are gone: open the popup on those pages instead, which fills in the subject or issue title.
Requires Node 22.
npm install
npm run build # dist/chrome and dist/firefox
npm run check # typecheck, lint, tests and builds
npm run package # zips in dist/ for the stores and releasesLoad dist/chrome (or dist/firefox/manifest.json) unpacked to try a build.
Build variants:
| Command | Output | Use |
|---|---|---|
npm run build |
dist/chrome, dist/firefox |
Store builds against production mdbase |
TASKNOTES_DEV_KEY=1 npm run build:chrome |
dist/chrome-dev |
Unpacked Chrome build with a fixed ID, against production |
MDBASE_ENV=lab npm run build:chrome |
dist/chrome-lab |
Unpacked Chrome build against mdbase LAB |
mdbase only accepts sign-in from extension IDs listed in the extension's mdbase app
manifest (scripts/manifest.mjs). Store builds use the Chrome Web Store ID; development
and LAB builds carry a public key so they always load as
bpcblaeaghagohijhhghbbeniecjflhg.
Bump the version in package.json (and package-lock.json), merge, then push a tag
v<version> from main. The release workflow checks and packages the build, creates a
draft GitHub release with both zips, and uploads the Chrome zip to the Chrome Web Store
and submits it for review; it goes live when review passes. The Firefox zip is attached
to the release for manual submission.
The Web Store step signs in to Google without a stored key: only release.yml, run for a
v* tag in the chrome-web-store environment, may act as the publisher's service account.
src/popup/: the capture popup (Preact).src/options/: settings, including mdbase sign-in and collection choice.src/background.ts: the service worker: context menus, thetaskaddress-bar keyword and notifications.src/backends/obsidian.ts: the TaskNotes plugin's HTTP API.src/backends/mdbase/: mdbase. The SDK runs its worker in an offscreen document (offscreen.html), which the service worker opens on demand and every extension page shares.tasks.tsandtask-path.tscreate tasks by the collection's TaskNotes rules, using@tasknotes/modelandtasknotes-nlp-core.
MIT