main
Colby Knox Publish 0.1.2 a842014 26d ago
{
  "name": "mjpeg-stream-viewer",
  "slug": "mjpeg-stream-viewer",
  "version": "0.1.2",
  "type": "app",
  "title": "MJPEG Stream Viewer",
  "brief": "Give it a camera URL and the raw MJPEG stream turns into a pane that fits: aspect kept, frame rate capped, one-click snapshot.",
  "description": "A raw MJPEG stream (multipart/x-mixed-replace, what bench cams, printer cams and camera boxes emit) opened straight in a Hydrogen webview paints at its native size with scrollbars. This viewer proxies the stream through the container so an http camera on the LAN shows inside https Hydrogen, fits the frame to the pane with the aspect kept, caps the frame rate so a 4K 30 fps source does not flood the browser, shows fps and bandwidth, and saves a snapshot to the project. Ships a dock manifest and takes ?url= so a shared Hydrogen workspace can open a camera in a pane.",
  "tags": [
    "camera",
    "mjpeg",
    "stream",
    "viewer",
    "webview",
    "bench-cam",
    "dock"
  ],
  "discovery_triggers": [
    "mjpeg stream viewer",
    "camera stream does not fit",
    "show my camera in hydrogen",
    "multipart/x-mixed-replace",
    "bench cam webview",
    "view mjpeg url"
  ],
  "discovery_pitch": "Paste a camera stream URL and see it fit in a Hydrogen pane: proxied through the container, aspect kept, frame rate capped, snapshot button.",
  "sample_prompts": [
    {
      "label": "Show a camera",
      "prompt": "Show http://192.168.0.34:3000/stream in a Hydrogen pane with the mjpeg stream viewer"
    },
    {
      "label": "Cap the rate",
      "prompt": "Open my bench cam in the mjpeg viewer at 5 fps and take a snapshot"
    }
  ],
  "dependencies": {},
  "scripts": {
    "install": "./install.sh",
    "uninstall": "./uninstall.sh"
  },
  "needs_sudo": false,
  "hero": {
    "type": "image",
    "path": "screenshots/hero.png",
    "headline": "MJPEG Stream Viewer",
    "subhead": "Turn raw camera streams into a panel"
  },
  "files": [
    "package.json",
    "README.md",
    "SKILL.md",
    "install.sh",
    "uninstall.sh",
    "server.mjs",
    "bin/mjpeg-stream-viewer",
    "public/**",
    "dockbar.json"
  ],
  "author": {
    "name": "Colby Knox",
    "email": "[email protected]"
  },
  "license": "CC-BY-SA-4.0"
}