app
MJPEG Stream Viewer
Public Made by Adomby adom
Give it a camera URL and the raw MJPEG stream turns into a pane that fits: aspect kept, frame rate capped, one-click snapshot.
main
{
"dock_manifest": "1.2.0",
"say": [
"show my camera stream",
"open the bench cam in a pane",
"take a snapshot of the camera"
],
"webview": {
"title": "MJPEG Stream Viewer",
"favicon": "public/icon.svg"
},
"health": {
"url": "/api/status",
"poll_seconds": 15,
"timeout_ms": 2000
},
"launch": {
"mode": "container_command",
"console": "show",
"steps": [
{
"label": "Installing or updating the MJPEG stream viewer",
"run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; adom-wiki pkg update mjpeg-stream-viewer || adom-wiki pkg install adom/mjpeg-stream-viewer'",
"timeout_seconds": 120
},
{
"label": "Starting the viewer",
"run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; exec mjpeg-stream-viewer --ai-thread \"${ADOM_AI_THREAD:-dock}\" serve --print-url --port auto'",
"await": "url",
"timeout_seconds": 60
}
],
"on_ready": "navigate_placeholder"
},
"context": {
"query": [
"url",
"fps",
"bare"
],
"env": "ADOM_CONTEXT"
},
"requires": {
"desktop": false,
"bridges": []
}
}