Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
apischema
command
Command apischema regenerates docs/api.schema.json from the server's own response types.
|
Command apischema regenerates docs/api.schema.json from the server's own response types. |
|
kbprobe
command
Command kbprobe attaches loupe's UHID keyboard to a device through a live scrcpy session, types, and removes it, saving a screenshot at each step so whether the on-screen keyboard stayed down can be looked at.
|
Command kbprobe attaches loupe's UHID keyboard to a device through a live scrcpy session, types, and removes it, saving a screenshot at each step so whether the on-screen keyboard stayed down can be looked at. |
|
linkshaper
command
Command linkshaper is a UDP relay that impairs the link between a loupe client and a loupe server, so the adaptive bitrate controller can be driven through congestion and recovery on demand.
|
Command linkshaper is a UDP relay that impairs the link between a loupe client and a loupe server, so the adaptive bitrate controller can be driven through congestion and recovery on demand. |
|
loupe
command
Command loupe streams an Android device or emulator to a browser at 60fps.
|
Command loupe streams an Android device or emulator to a browser at 60fps. |
|
overlaptest
command
Command overlaptest reproduces a relaunch's stream overlap against a real device: open a second scrcpy server while the first is still streaming, then close the first.
|
Command overlaptest reproduces a relaunch's stream overlap against a real device: open a second scrcpy server while the first is still streaming, then close the first. |
|
rotprobe
command
Command rotprobe answers one question about scrcpy-server 3.3.4: what does the video stream actually do when the device rotates?
|
Command rotprobe answers one question about scrcpy-server 3.3.4: what does the video stream actually do when the device rotates? |
|
runnerprobe
command
Command runnerprobe sends lines to the XCUITest runner on an iPhone over usbmux and prints each reply with its round trip, which checks the runner without a server:
|
Command runnerprobe sends lines to the XCUITest runner on an iPhone over usbmux and prints each reply with its round trip, which checks the runner without a server: |
|
simprobe
command
Command simprobe answers whether simcap can stream an iOS simulator well enough to be a loupe target, before anything in the session is built on it.
|
Command simprobe answers whether simcap can stream an iOS simulator well enough to be a loupe target, before anything in the session is built on it. |
|
touchrotprobe
command
Command touchrotprobe answers the question the rotation fix turns on: after a rotation, does scrcpy-server accept a touch whose screen size came from the new SPS, and does it reject one carrying the size from the stream header?
|
Command touchrotprobe answers the question the rotation fix turns on: after a rotation, does scrcpy-server accept a touch whose screen size came from the new SPS, and does it reject one carrying the size from the stream header? |
|
uiprobe
command
Command uiprobe drives one live WebTransport session end to end -- touch, events, health -- against a running loupe server, the way cmd/wtprobe verifies the video path.
|
Command uiprobe drives one live WebTransport session end to end -- touch, events, health -- against a running loupe server, the way cmd/wtprobe verifies the video path. |
|
wtprobe
command
Command wtprobe drives a real WebTransport session against a running loupe server and reports what it received.
|
Command wtprobe drives a real WebTransport session against a running loupe server and reports what it received. |
|
internal
|
|
|
a11ydump
Package a11ydump carries the device half of loupe's Android tree dump: a dex (tools/a11ydump) that app_process runs to print the screen's accessibility tree as uiautomator dump's XML, in about 250ms where uiautomator takes 2s, with each scrollable node's scroll-backward and scroll-forward actions added.
|
Package a11ydump carries the device half of loupe's Android tree dump: a dex (tools/a11ydump) that app_process runs to print the screen's accessibility tree as uiautomator dump's XML, in about 250ms where uiautomator takes 2s, with each scrollable node's scroll-backward and scroll-forward actions added. |
|
apischema
Package apischema reflects over the server's HTTP response types and emits one JSON Schema document (draft 2020-12) describing them, keyed by endpoint.
|
Package apischema reflects over the server's HTTP response types and emits one JSON Schema document (draft 2020-12) describing them, keyed by endpoint. |
|
awake
Package awake keeps the Mac from idle-sleeping while someone is using it through loupe.
|
Package awake keeps the Mac from idle-sleeping while someone is using it through loupe. |
|
clipshare
Package clipshare holds the one clipboard a server's targets and its Mac share, and hands each change to whatever writes it onward.
|
Package clipshare holds the one clipboard a server's targets and its Mac share, and hands each change to whatever writes it onward. |
|
composetree
Package composetree reads the composable tree out of a debuggable Compose app and maps it onto the uiautomator tree loupe already serves.
|
Package composetree reads the composable tree out of a debuggable Compose app and maps it onto the uiautomator tree loupe already serves. |
|
config
Package config is the persisted server configuration and the rules for changing it.
|
Package config is the persisted server configuration and the rules for changing it. |
|
dest
Package dest reads the places a flag can be sent beyond loupe mcp sessions and T3 threads: a program on this Mac, such as `claude -p` or `codex exec`, or a webhook.
|
Package dest reads the places a flag can be sent beyond loupe mcp sessions and T3 threads: a program on this Mac, such as `claude -p` or `codex exec`, or a webhook. |
|
h264
Package h264 provides the minimum bitstream inspection the server needs: locating parameter sets in an Annex B stream and deriving the codec string a browser's VideoDecoder expects.
|
Package h264 provides the minimum bitstream inspection the server needs: locating parameter sets in an Annex B stream and deriving the codec string a browser's VideoDecoder expects. |
|
hevc
Package hevc reads what loupe needs from an HEVC (H.265) parameter set: the RFC 6381 codec string a viewer's decoder is configured with.
|
Package hevc reads what loupe needs from an HEVC (H.265) parameter set: the RFC 6381 codec string a viewer's decoder is configured with. |
|
httpapi
Package httpapi exposes the target registry and streaming endpoint over HTTP.
|
Package httpapi exposes the target registry and streaming endpoint over HTTP. |
|
mcpserver
Package mcpserver is `loupe mcp`: a Model Context Protocol server over stdio that turns a running loupe server's HTTP API into tools.
|
Package mcpserver is `loupe mcp`: a Model Context Protocol server over stdio that turns a running loupe server's HTTP API into tools. |
|
mp4
Package mp4 writes one H.264 video track to an MP4 file, streaming samples to disk and holding only the sample table in memory.
|
Package mp4 writes one H.264 video track to an MP4 file, streaming samples to disk and holding only the sample table in memory. |
|
pairing
Package pairing keeps device sessions and the one-time codes that create them.
|
Package pairing keeps device sessions and the one-time codes that create them. |
|
peer
Package peer holds the servers this one has been told about: their URLs, tokens and pinned certificates, the polling that keeps their target rows fresh, and the HTTP and TLS plumbing for reaching them.
|
Package peer holds the servers this one has been told about: their URLs, tokens and pinned certificates, the polling that keeps their target rows fresh, and the HTTP and TLS plumbing for reaching them. |
|
record
Package record writes a live session's frames to MP4 files and keeps a capped store of them.
|
Package record writes a live session's frames to MP4 files and keeps a capped store of them. |
|
scrcpy
Package scrcpy implements the wire protocol spoken by scrcpy-server: the video stream framing it emits, and the control messages it accepts.
|
Package scrcpy implements the wire protocol spoken by scrcpy-server: the video stream framing it emits, and the control messages it accepts. |
|
scrcpy/server
Package server embeds the scrcpy-server jar that loupe pushes to the device.
|
Package server embeds the scrcpy-server jar that loupe pushes to the device. |
|
session
Package session owns the live streaming sessions and the binary protocol spoken between this server and a browser client.
|
Package session owns the live streaming sessions and the binary protocol spoken between this server and a browser client. |
|
t3
Package t3 drives T3 Code's CLI: list a project's threads, send one a message, start a new one.
|
Package t3 drives T3 Code's CLI: list a project's threads, send one a message, start a new one. |
|
target
Package target defines the contract every streamable Android source satisfies, plus the concrete implementations: a physical device over adb, a managed emulator, and a synthetic test pattern used to validate the client without any Android hardware attached.
|
Package target defines the contract every streamable Android source satisfies, plus the concrete implementations: a physical device over adb, a managed emulator, and a synthetic test pattern used to validate the client without any Android hardware attached. |
|
trace
Package trace writes a newline-delimited JSON record per sample so a session can be analyzed after the fact instead of read off a phone screen.
|
Package trace writes a newline-delimited JSON record per sample so a session can be analyzed after the fact instead of read off a phone screen. |
|
tspath
Package tspath reads how Tailscale is carrying traffic to a peer: directly, through a peer relay, or through a DERP server.
|
Package tspath reads how Tailscale is carrying traffic to a peer: directly, through a peer relay, or through a DERP server. |
|
usbmux
Package usbmux opens a TCP connection to a port on an iPhone over its USB cable, through macOS's own usbmuxd at /var/run/usbmuxd.
|
Package usbmux opens a TCP connection to a port on an iPhone over its USB cable, through macOS's own usbmuxd at /var/run/usbmuxd. |
|
wsx
Package wsx is a minimal RFC 6455 WebSocket server implementation.
|
Package wsx is a minimal RFC 6455 WebSocket server implementation. |
|
Package web embeds the browser client so the server ships as a single file.
|
Package web embeds the browser client so the server ships as a single file. |
Click to show internal directories.
Click to hide internal directories.