{"id":50521372,"url":"https://github.com/nowdoc/2026-viewdoc-sandbox","last_synced_at":"2026-06-03T04:04:13.532Z","repository":{"id":358343979,"uuid":"1240734171","full_name":"nowdoc/2026-viewdoc-sandbox","owner":"nowdoc","description":"Prototype of KASM, Neko and other for isolated viewdoc","archived":false,"fork":false,"pushed_at":"2026-05-16T21:41:47.000Z","size":11448,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-16T23:43:09.630Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nowdoc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-16T13:57:59.000Z","updated_at":"2026-05-16T21:41:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nowdoc/2026-viewdoc-sandbox","commit_stats":null,"previous_names":["nowdoc/2026-viewdoc-sandbox"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/nowdoc/2026-viewdoc-sandbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowdoc%2F2026-viewdoc-sandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowdoc%2F2026-viewdoc-sandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowdoc%2F2026-viewdoc-sandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowdoc%2F2026-viewdoc-sandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nowdoc","download_url":"https://codeload.github.com/nowdoc/2026-viewdoc-sandbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowdoc%2F2026-viewdoc-sandbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33847295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-03T04:04:12.379Z","updated_at":"2026-06-03T04:04:13.527Z","avatar_url":"https://github.com/nowdoc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 2026-viewdoc-sandbox\n\nFour self-contained prototypes of a **URL-to-viewer dispatcher**: a tiny HTTP\nservice that takes `GET /?url=\u003casset-url\u003e`, classifies the asset by extension,\nspawns an ephemeral container with the right viewer, and 302-redirects the\nbrowser into the live session — **no password prompt anywhere**.\n\nEach prototype is a different stack (transport + spawner + viewer image\ncatalog). They live side-by-side so they can be compared head-to-head on the\nsame LAN with the same test assets. See [`COMPARISON.md`](COMPARISON.md) for\nthe side-by-side scorecard and recommendation.\n\n## Prototypes\n\n| Folder | Stack | Transport | Default ports |\n|---|---|---|---|\n| [`01-neko-rooms/`](01-neko-rooms/) | neko + neko-rooms REST API | WebRTC | `8080`, `8081` |\n| [`02-xpra/`](02-xpra/) | xpra + Debian xpra-html5 | WebSocket | `9081`, `9082-9099` |\n| [`03-guacamole/`](03-guacamole/) | Apache Guacamole (guacd + Tomcat) + json-auth | HTML5 canvas → VNC | `7080`, `7081` |\n| [`04-kasm-standalone/`](04-kasm-standalone/) | KasmVNC standalone (no orchestrator) | KasmVNC (JPEG/QOI) | `6081`, `6082-6099` |\n\nEvery folder ships:\n\n- `docker-compose.yml` — the stack\n- `.env.example` — per-host overrides (copy to `.env`)\n- `dispatcher/` — small Python service that classifies + spawns + redirects\n- `PLAN.md` — architecture diagram and design notes\n- `VERIFY.md` — manual test log with screenshots\n- `README.md` — quick-start for that prototype\n- `screenshots/` — end-to-end validation captures\n\n## Quick start\n\nPick a prototype, then:\n\n```bash\ncd 01-neko-rooms                 # or any other folder\ncp .env.example .env             # edit PUBLIC_HOST to this host's LAN IP\ndocker compose up -d --build\n```\n\nThen from any browser on the LAN:\n\n```\nhttp://\u003cPUBLIC_HOST\u003e:\u003cDISPATCHER_PORT\u003e/?url=https://example.com/foo.pdf\n```\n\nThe four prototypes are designed to coexist on one host — port ranges don't\noverlap.\n\n## What's intentionally **not** here\n\nThese are MVPs aimed at evaluating the user-visible experience. None of them\nare production-ready. Still owed before a real roll-out:\n\n- session sweeper / TTL on idle containers\n- per-session resource caps (`--memory --cpus`)\n- concurrency cap on the dispatcher\n- HTTPS termination (Caddy / Traefik) in front\n- auth on the dispatcher itself\n- presigned-URL workflow + CORS for non-public assets\n\n## License\n\n[MIT](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnowdoc%2F2026-viewdoc-sandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnowdoc%2F2026-viewdoc-sandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnowdoc%2F2026-viewdoc-sandbox/lists"}