Skip to content
androparPublic

About

Scribble: talk and draw on your screen, paste annotated screenshots and a transcript into any coding agent. On-device. macOS, Windows, Linux. (Formerly voice-annotate.)

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

Scribble icon

Scribble

Talk and draw on your screen, paste the result into any coding agent.
An app for macOS, Windows and Linux that turns "this thing here is broken" into annotated screenshots and a transcript that says exactly which mark you meant, and when. On-device, no API keys.

Download for macOS · Windows installer · Linux · Website

Annotated screenshot of a training dashboard next to the capture.md an agent receives

Why

Explaining a UI problem to an agent in text takes longer than fixing it, and a bare screenshot loses the pointing: this number, that legend, move this button there. Scribble records what you say while you draw. Every mark is numbered and burned into the image. The transcript then cites the mark at the word you were saying when you drew it, with its location in image pixels:

This best [#1 circled (301,290)-(450,340) in frame 1] accuracy says 312%. That has to be a units bug…

The agent gets both what you meant and where it is, and can act on it without a back-and-forth. The figure above is real output: the screen is a mockup, the voice is macOS text-to-speech, and everything else is the actual pipeline (example capture.md).

Features

  • Snapshot (⌃⌥⌘S) freezes every display. You draw and talk over the frozen screen. You can hide the overlay, navigate somewhere else and take the next shot without stopping the recording.
  • Walkthrough (⌃⌥⌘R) records the screen while you keep working. Hold ⌃⌥ to draw laser-pointer marks that fade away. Agents can't watch video, so the recording becomes an adaptive keyframe storyboard (up to 30 frames), picked from screen changes, clicks, speech and annotations.
  • Dictation (⌃⌥⌘T) records only your voice and copies the plain transcript, for prompts you'd rather say than type.
  • Point or draw. The arrow, box, ellipse, highlighter and pin tools make numbered marks for pointing at things. The pen is for drawing (a layout idea, a word, a sketch): its strokes stay exactly as drawn and get no badges. Strokes drawn in one go become a single [drawing (n strokes) over …] reference at the moment you started.
  • Grounded references. Each mark appears in the transcript as [#n <shape> <coords> in frame k], aligned to word-level timestamps.
  • Multi-display. All displays are captured in parallel. In walkthroughs, the cursor position decides which display a keyframe comes from.
  • Detail crops. On 4K/6K displays, annotated regions also get a native-resolution crop, so small text stays readable after downscaling.
  • Light on the chat. By default the clipboard gets the transcript plus capture.md, not the images. Agents that can read files (Claude Code in the terminal or desktop app) open the frame paths listed in it when they need them. For web chats, Recent captures → capture.md + images attaches the frames too.
  • Your language. Narrate in any of the 100 languages Whisper supports, or let it auto-detect: pick one in Settings → Transcription. English is the default. Add the English labels you mention to the custom vocabulary so they keep their spelling.
  • Fully local. Transcription runs with WhisperKit (Whisper large-v3 turbo by default) on the GPU or Neural Engine. Nothing leaves the machine.

The shortcuts and details above are those of the macOS app. The Windows and Linux version has the same three modes and writes the same bundle, with its own shortcuts and a different transcription engine.

How it works

Pipeline: capture (screen, voice, overlay on one clock) → on-device processing (WhisperKit, keyframes, shape classifier, renderer) → capture.md and frames on the clipboard

Some of the design decisions:

  • One clock. Strokes, clicks, audio samples, SCStream frames and NSEvents are all stamped in host time (mach_absolute_time). That's what lets a stroke land on the word you were saying when you drew it.
  • Storyboard instead of video. During recording, each frame is shrunk to a 64×40 luminance thumbnail and diffed against the previous one. Keyframe candidates are frames where the screen settles after a change, clicks, the end of an annotation burst, speech onsets and a periodic fallback. They are scored and spaced at least 1.2 s apart. Annotated frames are always kept, and near-duplicates are dropped. SPEC.md §4 has the details.
  • Pasteboard pragmatics. Different apps read a mixed pasteboard differently. Terminals take the text, and Electron chats take the files and silently drop the text. So the clipboard item carries both the transcript text and a file URL to capture.md.
  • Responsive while capturing. The overlay is a nonactivating NSPanel that takes key focus without activating the app. The model is preloaded at launch. Auto compute starts on a GPU build (about 0.25× real time) while the Neural Engine build (about 0.08×) compiles in the background.
  • Transcribed while you talk. WhisperKit cuts long audio into pieces of at most 30 s and decodes each on its own. Where a piece ends depends only on the 30 s after its start, so the app makes the same cuts during the recording and decodes every piece as soon as it is complete. Finishing only has to decode the last piece: about a second, however long the capture was. The transcript is the one a single pass over the whole recording gives (--eval-live compares the two word by word).
  • Testable core. Shape classification, keyframe selection, transcript interleaving, markdown composition and coordinate mapping live in ScribbleCore, a pure Swift module with unit tests. The app target holds only the AppKit, ScreenCaptureKit and WhisperKit glue.

The full design is in SPEC.md.

Install

For Windows and Linux see below. The macOS app requires macOS 15 or later on Apple Silicon.

  1. Download scribble-macos.zip, unzip it and move Scribble.app to Applications.
  2. The app isn't notarized (that needs a paid Apple Developer ID), so macOS blocks the first launch. Open it once, click Done, then go to System Settings → Privacy & Security and click Open Anyway next to the Scribble message. Alternatively, in Terminal: xattr -dr com.apple.quarantine /Applications/Scribble.app.

Updating from voice-annotate: quit it, delete voice-annotate.app and install Scribble.app as above. Your settings stay, and captures and models move to ~/.scribble on the first start (a link stays at ~/.voice-annotate, so paths in earlier captures still open).

Or build it yourself (see Build).

First run

  • Permissions. Grant Screen Recording when asked, then quit and reopen the app (macOS only applies it after a relaunch), and allow the Microphone. Until Screen Recording is granted, the menu bar menu shows a warning that opens the setup window.
  • Model download. The Whisper model (~630 MB) downloads once to ~/.scribble/models; the menu bar menu shows progress (and a retry if it fails). A capture finished before the download is done waits for it, with the progress on screen. Settings also offer lighter multilingual models, Small (~490 MB) and Base (~150 MB), which are less accurate outside English, and English-only ones, which warn if you pick another language.
  • Faster after a while. For about 10 minutes after the first start, macOS compiles the model for the Neural Engine in the background. Until then transcription runs on the GPU, roughly 3× slower. Either way most of a recording is transcribed while you are still talking, so the wait after finishing stays at a second or two.
  • After updating to a new release (or rebuilding with ad-hoc signing, or replacing the app with a differently signed build), macOS may keep showing Screen Recording as enabled while the app still can't record: the grant belongs to the old build, and switching it off and on doesn't help. Remove Scribble from the list in System Settings → Privacy & Security → Screen Recording (the − button), then add it again, or run tccutil reset ScreenCapture com.jroth.voiceannotate, reopen the app and grant it again.

Use

Shortcut
⌃⌥⌘S Snapshot. Freezes all displays; draw and talk. ⇥ hides the overlay so you can navigate, ⌃⌥⌘S takes the next shot, ↩ finishes, ⎋ cancels
⌃⌥⌘R Walkthrough. Records all displays while you work. Hold ⌃⌥ (or toggle with ⌃⌥⌘D) to draw; ⌃⌥⌘R again finishes
⌃⌥⌘T Dictation. Voice only; ⌃⌥⌘T again copies the transcript as plain text
⌃⌥⌘F Finish any capture

Snapshot tool keys: P pen · A arrow · R box · O ellipse · H highlighter · N pin · 1–6 colors · ⌘Z undo.

Each capture is saved as a bundle in ~/.scribble/captures/<timestamp>/, containing capture.md, the annotated frames, the audio, the recording and an events.json timeline. Bundles are pruned after 14 days.

Windows and Linux

A separate implementation in python/ (Python and Qt) with the same flows and the same bundle: capture.md is composed by a line-by-line port of the macOS app's core, and a test checks that both produce the same file from the same capture.

Install

Windows (10 or 11, 64-bit): download and run scribble-windows-setup.exe. It installs for your user without administrator rights and can start the app at login. The installer is not code-signed, so SmartScreen asks once: More info → Run anyway.

Linux (x86_64, glibc 2.35 or newer, i.e. Ubuntu 22.04 and later):

curl -fsSL https://raw.githubusercontent.com/andropar/scribble/master/python/packaging/install-linux.sh | sh

This puts the app in ~/.local/opt/scribble with a menu entry and a scribble command in ~/.local/bin; nothing needs root. Run the script again to update, or with sh -s -- --uninstall to remove it. The same files are in scribble-linux-x86_64.tar.gz if you would rather unpack it yourself and run ./install.sh.

Either one replaces an installation of voice-annotate, the app's name up to 0.4, and keeps its settings, captures, models and start at login.

Both downloads are self-contained (no Python needed) and are built and tried out by GitHub Actions from this source. The app puts an icon in the system tray; Settings has Launch at login. On the first start it downloads a Whisper model to ~/.scribble/models (Small English, ~480 MB, when it runs on the CPU; the multilingual Small, about the same size, once you pick another language).

With Python 3.9 or later you can also install it as a package, with uv or pipx:

uv tool install "git+https://github.com/andropar/scribble#subdirectory=python"

On Linux that route needs two system libraries (sudo apt install libportaudio2 libxcb-cursor0). Start it with scribble (on Windows, scribble-gui starts it without a console window).

Use

Shortcut
Ctrl+Alt+Shift+S Snapshot. Tab hides the overlay so you can navigate, the shortcut again takes the next shot, Enter finishes, Esc cancels
Ctrl+Alt+Shift+W Walkthrough. Hold Ctrl+Alt (or toggle with Ctrl+Alt+Shift+D) to draw; the shortcut again finishes
Ctrl+Alt+Shift+T Dictation. The shortcut again copies the transcript as plain text
Ctrl+Alt+Shift+F Finish any capture

Tool keys in a Snapshot are the same as on macOS, with Ctrl+Z for undo. All shortcuts can be changed in Settings; one that another program already holds is flagged there and in the tray menu.

Every action is also a command for the running app: scribble snapshot, walkthrough, dictation, finish, toggle-draw, cancel. Bind those in your desktop's keyboard settings if you prefer, or have to (see Wayland below).

What is different

  • Transcription uses faster-whisper. With an NVIDIA GPU, CUDA 12 and cuDNN 9 (pip install nvidia-cublas-cu12 nvidia-cudnn-cu12 into the same environment) it picks Large v3 Turbo; otherwise it runs on the CPU and starts with Small, which is faster there and less accurate. Settings → Transcription lets you pick any model, Large v3 Turbo included. As on macOS, a recording is transcribed while you talk, so finishing only waits for the last half minute at most, and Settings → Transcription has the language (English by default, Auto-detect, or any of Whisper's 100).
  • Clipboard. Windows and X11 have one clipboard item with several formats, so a capture goes out as text plus a file list. Terminals paste the text, chat apps attach the files.
  • Linux, X11. The capture toolbar cannot be hidden from screen recording there, so it shows up at the top of walkthrough keyframes; capture.md tells the agent what it is. GNOME shows the tray icon only with the AppIndicator extension (Ubuntu ships it); without a tray the app opens a small window with buttons instead.
  • Linux, Wayland. Wayland keeps apps from watching the keyboard, the pointer or the screen. The app runs through XWayland in a reduced mode: Snapshot and Dictation work, started from the tray or from desktop shortcuts bound to the commands above. Walkthrough and hold-to-draw need an X11 session ("GNOME on Xorg", "Plasma (X11)"). This mode is written but has not been run on a real Wayland desktop yet.

Status

The automated tests drive the real app with synthetic mouse and keyboard input on Windows Server 2022 and 2025 and on Ubuntu under Xvfb (with and without a compositor, and at 150% display scaling), and run a real Whisper model. Several displays are tested on an emulated layout only. Not covered at all, so less certain: display scaling on Windows, the Wayland mode, and transcription on a GPU.

Build

The macOS app requires macOS 15+ on Apple Silicon and Xcode 16+ (Swift 6 toolchain).

make install   # build release, sign with your Apple Development identity, copy to ~/Applications
make run       # install + launch
make test      # unit tests (ScribbleCore)
make release   # ad-hoc signed zip for GitHub Releases, in build/

Without an Apple Development identity the build is signed ad-hoc, so each rebuild looks like a new app to macOS: see After updating above for re-granting Screen Recording.

The binary also has developer commands, e.g. .build/debug/Scribble --help: --transcribe <audio>, --render-demo <out.png>, --demo-snapshot <audio> [screenshot annotations], --test-screenshot [screen], --test-walkthrough <seconds> [screen|all], --eval-live <audio>.... They use the app's settings; --language <code|auto>, --model <variant> and --vocabulary <text> override them for one run. docs/demo/render.sh regenerates the README images with the real pipeline.

The Windows/Linux app (see python/README.md):

cd python
pip install -e ".[dev]"
python -m scribble      # run from source
pytest                        # core, pipeline and the capture state machine, headless

It has the same developer commands and overrides (python -m scribble --help).

Stack

macOS: Swift 6 · SwiftUI + AppKit · ScreenCaptureKit · AVFoundation · Core Graphics · WhisperKit (Core ML) · SwiftPM

Windows and Linux: Python · Qt 6 (PySide6) · mss · PyAV (FFmpeg) · PortAudio · faster-whisper (CTranslate2) · Win32 and Xlib for hotkeys and input

License

MIT

About

Scribble: talk and draw on your screen, paste annotated screenshots and a transcript into any coding agent. On-device. macOS, Windows, Linux. (Formerly voice-annotate.)

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages