[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1585":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":8,"language":9,"languages":8,"totalLinesOfCode":8,"stars":10,"forks":11,"watchers":12,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":12,"stars7d":15,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":17,"compositeScore":18,"rankGlobal":8,"rankLanguage":8,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":8,"pushedAt":8,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":14,"starSnapshotCount":14,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},1585,"motel","kitlangton\u002Fmotel","kitlangton",null,"TypeScript",214,15,3,4,0,7,16,9,51.71,"MIT License",false,"main",[],"2026-06-12 04:00:10","# motel\n\nA local OpenTelemetry ingest + TUI viewer for development, backed by\nSQLite. Point your app's OTLP\u002FHTTP exporters at the local motel server\nand debug with real runtime evidence — from a terminal, the built-in web\nUI, or directly from an AI coding agent.\n\n## For agents: install the motel-debug skill\n\n`motel` ships a companion skill that teaches Claude Code, OpenCode,\nCursor, Codex, and 40+ other agents how to debug with runtime evidence\nby querying motel's local OTLP store. Install it once and any future\nagent session in the project will know how to use it.\n\n```bash\n# Project-local (adds to .claude\u002Fskills, .agents\u002Fskills, etc.)\nnpx skills add kitlangton\u002Fmotel --skill motel-debug\n\n# Or globally, for every project\nnpx skills add kitlangton\u002Fmotel --skill motel-debug -g\n```\n\nSee the full skill at [`skills\u002Fmotel-debug\u002FSKILL.md`](skills\u002Fmotel-debug\u002FSKILL.md).\n\n## For humans: install and run the TUI\n\nmotel is distributed on npm as `@kitlangton\u002Fmotel`. The binary is a Bun\nscript, so Bun must be on your `PATH` at runtime:\n\n```bash\n# one-off (no install)\nbunx @kitlangton\u002Fmotel\n\n# or install globally\nbun add -g @kitlangton\u002Fmotel\nmotel\n\n# npm also works (Bun still required to run it)\nnpm install -g @kitlangton\u002Fmotel\n```\n\nDon't have Bun?\n\n```bash\ncurl -fsSL https:\u002F\u002Fbun.sh\u002Finstall | bash\n```\n\n`motel` starts the local OTLP ingest server on\n`http:\u002F\u002F127.0.0.1:27686` and launches the TUI. Press `?` once inside for\nthe keyboard cheat sheet, or `c` to copy paste-ready setup instructions\nfor any Effect\u002FOTEL app you want to trace.\n\nRequirements: [Bun](https:\u002F\u002Fbun.sh\u002F) v1.1 or newer.\n\n## How your app connects\n\nOnce motel is running, point your app's OTLP\u002FHTTP exporters at these\nlocal endpoints:\n\n```\nhttp:\u002F\u002F127.0.0.1:27686\u002Fv1\u002Ftraces\nhttp:\u002F\u002F127.0.0.1:27686\u002Fv1\u002Flogs\n```\n\nMotel keeps everything in a local SQLite database at\n`.motel-data\u002Ftelemetry.sqlite`. No Docker, no cloud account.\n\n## How agents connect\n\nAgents with the `motel-debug` skill installed will automatically use\nmotel's HTTP API. The full OpenAPI spec is at\n`http:\u002F\u002F127.0.0.1:27686\u002Fopenapi.json` — the key endpoints are:\n\n```\nGET \u002Fapi\u002Fhealth                              liveness check\nGET \u002Fapi\u002Fservices                            services reporting telemetry\nGET \u002Fapi\u002Ftraces?service=\u003Cservice>            recent traces for a service\nGET \u002Fapi\u002Ftraces\u002F\u003Ctrace-id>                   full trace tree\nGET \u002Fapi\u002Fspans\u002F\u003Cspan-id>                     single span + logs\nGET \u002Fapi\u002Flogs?service=\u003Cservice>              recent logs\nGET \u002Fapi\u002Ftraces\u002Fsearch?...                   structured trace search\nGET \u002Fapi\u002Flogs\u002Fsearch?...                     structured log search\nGET \u002Fapi\u002Fai\u002Fcalls                            AI SDK call inspector\n```\n\n## TUI keys\n\n- `?` — keyboard cheat sheet\n- `j` \u002F `k` or `↑` \u002F `↓` — move selection\n- `enter` \u002F `esc` — drill in \u002F back out (trace → waterfall → span detail)\n- `[` \u002F `]` — switch service\n- `tab` — toggle service logs\n- `\u002F` — filter traces\n- `s` — cycle sort (recent → slowest → errors)\n- `t` — cycle theme\n- `c` — copy paste-ready setup instructions for another app\n- `o` — open selected trace in the browser\n- `q` — quit\n\n## Privacy note\n\nmotel is a local development tool, but your app can emit sensitive\ntelemetry. Correlated logs may include secrets, tokens, or PII if your\napp logs them; AI call traces may include full prompt content and\nresponse text. Treat the local SQLite store as sensitive development\ndata when pointing motel at real workloads.\n","motel 是一个本地 OpenTelemetry 摄取和终端用户界面查看器，适用于开发调试。它通过 SQLite 存储数据，并支持应用通过 OTLP\u002FHTTP 导出器连接到本地 motel 服务器进行实时运行时证据的调试。项目提供了一个名为 `motel-debug` 的技能包，可让包括 Claude Code 在内的 40 多种 AI 编码代理学会如何使用 motel 进行基于运行时数据的调试。此外，motel 还提供了图形化 TUI 界面，便于开发者直观地浏览、筛选及分析追踪信息。该工具非常适合需要在本地环境中快速定位和解决性能问题或错误的软件开发场景。",2,"2026-06-11 02:44:51","CREATED_QUERY"]