Medius Docs
Medius docs: the binary control protocol, device behavior, and the medius Rust library.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http medius-docs 'https://medius.k4tech.net/mcp'
{
"mcpServers": {
"medius-docs": {
"type": "http",
"url": "https://medius.k4tech.net/mcp"
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
Medius Documentation
Documentation site for Medius: the input-passthrough firmware, its binary control protocol, and the medius Rust library.
Built with SolidJS and MidnightUI.
Sections
| Section | What |
|---|---|
| Native API | Binary control protocol and box behaviour: hardware, transport, frame format, injection model, every command (opcodes 0x01-0x1E). |
| Rust Library | medius crate reference: connecting, command bindings, keepalive, reconnect, and the async / mock / tracing features. |
| Bindings | C ABI and Python bindings over the crate. |
| Dashboard | In-browser box dashboard: connect, device info, firmware update, recovery, device log. |
| AI Access | Per-page Markdown twins, llms.txt, and the MCP server. |
Development
Prerequisites
Setup
bun install
Dev server
bun run dev
Open http://localhost:3000.
Build
bun run build
Output: dist/.
Tech stack
| Tool | Role |
|---|---|
| SolidJS | Reactive UI framework |
| @solidjs/router | Client-side routing |
| Vite | Build tool |
| Bun | Runtime and package manager |
| MidnightUI | Component library |
| solid-icons | Icons |
Deployment
CI builds the app and a multi-arch container on every push to main and publishes it to
ghcr.io/k4hvh/medius-docs. Run it:
docker run --rm -p 3000:3000 ghcr.io/k4hvh/medius-docs:latest
docker-compose.yml runs the same image. The container builds with Bun and serves dist/
on port 3000.
الأسئلة الشائعة
ما هو Medius Docs؟
Medius docs: the binary control protocol, device behavior, and the medius Rust library.
كيف أثبّت Medius Docs؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http medius-docs 'https://medius.k4tech.net/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Medius Docs إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل Medius Docs مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون Medius Docs؟
ينشره K4HVH. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.