by Nate Theeraphat .C
Record a screen, one window or a region, with mic and system audio, cursor on or off. Saves small WebM files to your vault and embeds them in the note.
Try the interactive demo · Releases · Sponsor
Screen recorder for Obsidian desktop. Record a whole screen, one app window, or a region you draw. Your mic and system audio are recorded too, and the video lands in your vault as a WebM or MP4 file, embedded in the note you're working on.
The project site has a working copy of the plugin's interface. Click through a recording there and a side panel explains what the plugin does at each step.
What it does
- Pick a screen or window from thumbnails. For a region, pick a screen and drag a rectangle over its preview.
- Record with the cursor or without it. Leaving it out needs a small helper program (see below).
- Microphone and system audio are both on by default and mixed into one track. System audio works on macOS 13+ and Windows; on Linux only the mic is recorded.
- Video is capped at 1920×1200. MP4 (the default) uses H.264, which runs on the hardware encoder: on 1080p screen content it took about a quarter of the CPU that AV1 did, so hour-long recordings don't heat the machine up. Audio is AAC at 128 kbps, and it plays in almost any player. WebM uses AV1 when available (VP9 or VP8 otherwise) with Opus audio at 64 kbps. It's encoded on the CPU and can come out smaller.
- Files are saved as
Recordings/cap-YYYYMMDD-HHmmss.mp4(or.webm; the folder is configurable) and inserted as![[…]]at your cursor. - Recordings are written to disk every second while they run, so memory use stays flat and stopping is instant, even after three hours. If Obsidian crashes or is force-closed mid-recording, the next start finishes the file and puts it in your recordings folder; at most the last second or two is lost.
- Turn on MP3 too and the recording is split: a silent video and an MP3 of the audio (128 kbps stereo), saved together as
Recordings/cap-YYYYMMDD-HHmmss/cap-YYYYMMDD-HHmmss.mp4and….mp3. Both are embedded. - While recording, a red timer sits in the status bar. Click it to stop. Hover it, or the ribbon icon, to see a live preview of what is being recorded.
Use
- Click the camera icon in the left ribbon, or run cap-sort: Start recording… from the command palette.
- Choose Screen, Window or Region, then pick a source.
- Set Cursor, Microphone, System audio, MP3 too and the format (MP4 or WebM). The defaults come from the plugin settings.
- Click Start recording. To stop, click the red timer in the status bar, click the ribbon icon again, or run cap-sort: Stop recording.
macOS permissions
The first time, macOS asks whether Obsidian may record the screen (and use the mic). If you said no earlier, the picker shows a button that opens System Settings → Privacy & Security → Screen Recording. Turn Obsidian on there, then quit and reopen Obsidian.
The cursor helper
Obsidian runs on Chromium, and Chromium always draws the mouse pointer in screen captures. It ignores the request to leave it out. To record without the cursor, cap-sort uses cap-sort-helper, a small Rust program (about 1 MB) built on scap. It captures frames with the pointer left out and hands them to the plugin, which crops, encodes and saves them exactly like the frames it gets from Chromium.
Network use: the helper isn't bundled. When you turn the cursor off for the first time, the picker offers Download helper. Clicking it downloads the binary for your OS from this repository's GitHub releases into .obsidian/plugins/cap-sort/bin/. Nothing else is downloaded or sent anywhere, and recordings never leave your vault.
The helper's source is in helper/, and the release binaries are built by .github/workflows/helper.yml.
What the plugin can access
The community review lists two capabilities for cap-sort:
- Shell execution (
child_process): starts the downloaded helper from the plugin'sbin/folder with fixed arguments (capture <screen|window> <id> --fps <n> --max-width 1920), and only when you record with the cursor off. It runs nothing else. - File system outside the vault API (
fs): checks whether the helper is installed, creates.obsidian/plugins/cap-sort/bin/, and writes the helper there with execute permission. For WebM recordings it also overwrites 8 bytes in the file's header at stop (the duration, so players can seek), because the vault API can't write at an offset. Everything else, including writing recordings to.obsidian/plugins/cap-sort/tmp/while they run and moving them into your folder, goes through Obsidian's vault API.
The release assets and the helper binaries carry GitHub artifact attestations, so you can check they were built from this repository: gh attestation verify main.js --repo th3r-dev/cap-sort.
Install
cap-sort needs Obsidian 1.15 or later on macOS, Windows or Linux. It doesn't run on mobile.
From Community plugins
- Open Settings → Community plugins. If Restricted mode is on, click Turn on community plugins.
- Click Browse and search for cap-sort.
- Click Install, then Enable.
cap-sort has been submitted to the community directory. Until it shows up there, use one of the options below.
With BRAT
Install the BRAT plugin, run BRAT: Add a beta plugin for testing, and enter th3r-dev/cap-sort. BRAT keeps it updated from this repository's releases.
By hand
Download main.js, manifest.json and styles.css from the latest release into <vault>/.obsidian/plugins/cap-sort/, then enable cap-sort under Settings → Community plugins.
Releasing
Feature branches merge into dev. A release is a pull request from dev into main.
- On
dev, set the new version (x.y.z, nov) inmanifest.jsonandpackage.json, add it toversions.jsonwith the lowest Obsidian version it supports, and updateRELEASE_NOTES.md. - Open a pull request from
devintomain. - Merge it.
On every push to main, .github/workflows/release.yml reads the version from manifest.json. If that version hasn't been released yet, it checks the three version files agree, runs the tests, builds, and publishes release x.y.z with main.js, manifest.json and styles.css, which is what Obsidian installs. A merge that doesn't change the version publishes nothing. The community directory reads manifest.json from main, so it only sees a version once it's merged. The same merge publishes the cursor helper as release helper-vX.Y.Z when the version in helper/Cargo.toml is new (.github/workflows/helper.yml); the plugin downloads from the release named in HELPER_RELEASE in src/main.ts, so bump both together.
Build
npm install
npm run build # type-check + bundle main.js
npm test # unit tests (node --test)
cd helper && cargo build --release # the cursor helper
helper/vendor/scap is scap 0.1.0-beta.1 with small fixes, each marked cap-sort patch: on macOS it couldn't size windows belonging to other apps, and on Windows it didn't compile against the windows-capture 1.5 it depends on.
Status
Tested on macOS 27.3 with Obsidian 1.15.1: screen, window and region capture, cursor on and off, with audio. The Windows and Linux helpers are built in CI but haven't been tested by hand yet. See TEST_PLAN.md and SRS.md.
Support
Found a bug? Open an issue. Found a security problem? Report it privately, as SECURITY.md describes. If cap-sort saves you time, you can sponsor its development.
MIT licensed. MP3 encoding is done by @breezystack/lamejs, a JavaScript port of LAME, licensed LGPL-3.0 and bundled into main.js. To use a modified version, change it in node_modules and run npm run build.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.