hex/crates/capture/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 2962074bfa
Captures on Linux (portal, PipeWire, VA-API); capture compiled into macOS and Linux builds (#320)
* Captures on Linux: portal, PipeWire and VA-API behind the engine's platform seam; capture compiled into macOS and Linux builds

The capture engine's OS adapter gains capture/linux.rs: the screen-cast
portal (zbus) picks the screen (remembered with its restore token) or a
window, libpipewire and libva are loaded at run time, frames are imported
as DMA-BUFs and scaled and H.264-encoded on the GPU, and ffmpeg muxes and
reads movies back. Software x264 is the fallback.

capture_host, the capsule, the pane, routing and the CLI are shared; the
Linux listener feeds a ListenerTimeline, its portal or X11 grabs bind the
capture shortcut, and the summary goes through Hex's Linux clipboard.
The capture feature flag is gone: macOS and Linux always compile the
experiment, off by default.

* Docs: captures on Linux, the experiment in every macOS and Linux build; token path from Hex

* Capture portal: register Hex's app id so the desktop keeps its screen choice

* Fix macOS test build after the capture seam

* Linux: size X11 shortcut state for the capture shortcut; keep macOS-layout capsule tests on macOS

* Windows: the capture word timestamps field is Linux's
2026-10-28 20:58:27 -04:00
..
capture Captures on Linux (portal, PipeWire, VA-API); capture compiled into macOS and Linux builds (#320) 2026-10-28 20:58:27 -04:00
export Keep the missing-transcript reason when a host transcriber declines or fails 2026-10-25 19:14:23 -07:00
linux Captures on Linux (portal, PipeWire, VA-API); capture compiled into macOS and Linux builds (#320) 2026-10-28 20:58:27 -04:00
win Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
agent_context.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
audio.rs capture: iPhone target narrated by Hex's microphone, and CaptureSnapshot.phone 2026-10-26 10:48:08 -07:00
autocrop-corpus.json Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
autocrop-playground.html Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
autocrop.rs Keep the missing-transcript reason when a host transcriber declines or fails 2026-10-25 19:14:23 -07:00
autocrop_lab.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
ax.rs capture: clicks under the capsule's panel count; Paste never goes into Hex 2026-10-26 21:55:14 -07:00
ax_other.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
capture.rs Captures on Linux (portal, PipeWire, VA-API); capture compiled into macOS and Linux builds (#320) 2026-10-28 20:58:27 -04:00
command_transcriber.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
handoff.rs Captures on Linux (portal, PipeWire, VA-API); capture compiled into macOS and Linux builds (#320) 2026-10-28 20:58:27 -04:00
helper.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
hex.rs Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
hosted_input.rs Captures: a failed start ends at once, the first Shift drag inks, Hex's keys stay out of the log 2026-10-26 09:37:12 -07:00
ingest_http.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
keyframes.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
lib.rs Captures on Linux (portal, PipeWire, VA-API); capture compiled into macOS and Linux builds (#320) 2026-10-28 20:58:27 -04:00
live_transcribe.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
log.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
mic.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
page.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
permissions.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
phone.rs capture: iPhone target narrated by Hex's microphone, and CaptureSnapshot.phone 2026-10-26 10:48:08 -07:00
pipeline.rs fix(capture): finish the screen recording before stopping it, via capture-core (#258) 2026-10-27 21:15:34 -07:00
recover.rs fix(capture): finish the screen recording before stopping it, via capture-core (#258) 2026-10-27 21:15:34 -07:00
render.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
retention.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
screens.rs Captures on Linux (portal, PipeWire, VA-API); capture compiled into macOS and Linux builds (#320) 2026-10-28 20:58:27 -04:00
sdk.js Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
sketch.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
speech_model.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
transcribe.rs Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
web.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
window_log.rs Captures on Linux (portal, PipeWire, VA-API); capture compiled into macOS and Linux builds (#320) 2026-10-28 20:58:27 -04:00
zoom.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00