[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116063":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":14,"stars7d":15,"stars30d":15,"stars90d":14,"forks30d":14,"starsTrendScore":16,"compositeScore":17,"rankGlobal":8,"rankLanguage":8,"license":8,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":18,"topics":21,"createdAt":8,"pushedAt":22,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":14,"starSnapshotCount":14,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},116063,"mirage-demo","joemaddalone\u002Fmirage-demo","joemaddalone",null,"JavaScript",68,11,51,1,0,13,4,44.92,false,"main",true,[],"2026-11-21 18:40:17","2026-11-22 15:42:14","# Mirage Describe\n\nUpload a photo, get back what the machine sees: objects, text, and the scene, drawn right on top of your image.\n\n## Two versions\n\nThere are two ways to run the same app, and they can run at the same time.\n\n| | Server | Browser |\n|---|---|---|\n| Run | `bun run index.ts` | `bun run wasm-app\u002Fserve.ts` |\n| Open | http:\u002F\u002Flocalhost:3000 | http:\u002F\u002Flocalhost:3001 |\n| Inference | `cactus` CLI on your machine | WebAssembly in the tab |\n| Needs `cactus` installed | yes | no |\n\nThe browser version downloads the engine and weights on first use (~23 MB), then caches them. Nothing is uploaded: the image is read in the tab.\n\n## What you need\n\n- **Bun**: the JavaScript runtime ([bun.sh](https:\u002F\u002Fbun.sh))\n- **cactus**: with the `mirage describe` command available on your PATH (server version only) - `pip install -U cactus-compute`\n\n## Run it\n\n```bash\n\nbun install\nbun run index.ts\n```\n\nThen open **http:\u002F\u002Flocalhost:3000** in your browser.\n\nFor the browser version:\n\n```bash\nbun run start:wasm\n```\n\nThen open **http:\u002F\u002Flocalhost:3001**.\n\nThe browser version is plain static files: no server code runs after page\nload. Anything that serves files works: `python3 -m http.server`\n\n```bash\ncd wasm-app && python3 -m http.server 8000\n```\n\n## Use it\n\n1. Drop an image onto the page (or click to browse).\n2. Hit **Describe image**.\n3. Browse the results:\n   - Boxes, masks, and labels overlaid on your photo\n   - Object and text lists in the right panel: hover to highlight, click to pin\n   - A **Min confidence** slider to hide weak detections\n   - Raw JSON output at the bottom of the middle column\n4. **Clear** resets everything for the next image.\n","Mirage Describe 是一个本地运行的图像多模态分析工具，支持在浏览器或本地服务器上对上传图片进行实时物体检测、文本识别（OCR）与场景理解，并将结果以标注框、掩码和标签形式直接叠加显示在原图上。核心特点是双模式架构：服务端版本调用本地安装的 cactus CLI 进行推理，浏览器版本则通过 WebAssembly 在前端完成全部计算，全程离线、不上传数据。适用于需要隐私保护的图像内容分析场景，如个人照片整理、无障碍辅助、教育演示及轻量级视觉原型开发。",2,"2026-11-24 04:52:41","CREATED_QUERY"]