{
  "markdown": "# Medius Documentation\n\nDocumentation site for Medius: the input-passthrough firmware, its binary control protocol, and the `medius` Rust library.\n\nBuilt with [SolidJS](https://solidjs.com) and MidnightUI.\n\n## Sections\n\n| Section | What |\n|---|---|\n| Native API | The binary control protocol and how the box behaves. Covers the hardware, transport, frame format, injection model, and every command (opcodes `0x01`-`0x18`). |\n| Rust Library | API reference for the `medius` crate: connecting, the command bindings, keepalive and reconnect, and the `async` / `mock` / `tracing` features. |\n| Bindings | The C ABI and Python bindings over the same crate. |\n| Dashboard | The in-browser box dashboard: connect, view device info, update firmware, recover, and read the device log. |\n| AI Access | Using the docs with an AI assistant: per-page Markdown twins, `llms.txt`, and the MCP server. |\n\n## Development\n\n### Prerequisites\n\n- [Bun](https://bun.sh)\n\n### Setup\n\n```bash\nbun install\n```\n\n### Dev Server\n\n```bash\nbun run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000).\n\n### Build\n\n```bash\nbun run build\n```\n\nOutput goes to `dist/`.\n\n## Tech Stack\n\n| Tool | Role |\n|---|---|\n| [SolidJS](https://solidjs.com) | Reactive UI framework |\n| [@solidjs/router](https://docs.solidjs.com/solid-router) | Client-side routing |\n| [Vite](https://vitejs.dev) | Build tool |\n| [Bun](https://bun.sh) | Runtime and package manager |\n| MidnightUI | Component library |\n| [solid-icons](https://github.com/x64Bits/solid-icons) | Icons |\n\n## Deployment\n\nCI builds the app and a multi-arch container on every push to `main` and publishes it to\n`ghcr.io/k4hvh/medius-docs`. Run it with Docker:\n\n```bash\ndocker run --rm -p 3000:3000 ghcr.io/k4hvh/medius-docs:latest\n```\n\n`docker-compose.yml` runs the same image. The container builds with Bun and serves `dist/`\non port 3000.\n",
  "bytes": 1862,
  "sha": "5f16979842f09c023161963c855fe061f78dafb8fc28e08a8d5d4ea497417cb5",
  "repo_slug": "k4hvh/medius-docs",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_net_k4tech_docs_b1893527/readme"
}