{"id":50978293,"url":"https://github.com/simular-ai/simulang-log-viewer","last_synced_at":"2026-06-19T11:03:47.402Z","repository":{"id":359528225,"uuid":"1239708259","full_name":"simular-ai/simulang-log-viewer","owner":"simular-ai","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-22T08:53:26.000Z","size":100,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-22T15:51:08.044Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/simular-ai.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":".github/CODEOWNERS","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-15T11:07:14.000Z","updated_at":"2026-05-22T08:53:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/simular-ai/simulang-log-viewer","commit_stats":null,"previous_names":["simular-ai/simulang-log-viewer"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/simular-ai/simulang-log-viewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simular-ai%2Fsimulang-log-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simular-ai%2Fsimulang-log-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simular-ai%2Fsimulang-log-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simular-ai%2Fsimulang-log-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simular-ai","download_url":"https://codeload.github.com/simular-ai/simulang-log-viewer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simular-ai%2Fsimulang-log-viewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34528144,"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-19T02:00:06.005Z","response_time":61,"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-19T11:03:46.626Z","updated_at":"2026-06-19T11:03:47.393Z","avatar_url":"https://github.com/simular-ai.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `@simular-ai/simulang-log-viewer`\n\nA floating, always-on-top log window for automation scripts. Importing it once opens the window and shows every log line from your script and from `@simular-ai/simulang-js`.\n\n## Usage\n\n```js\nimport { logWindow } from '@simular-ai/simulang-log-viewer'\nimport { Clipboard } from '@simular-ai/simulang-js'\n\nlogWindow.log('--- starting work ---')\n\nconst cb = new Clipboard()\ncb.setString('hi')\nlogWindow.log(`clipboard now: ${cb.getString()}`)\n```\n\nThat's it. The import opens the window, and:\n\n- `logWindow.log(msg)` writes your own lines into it.\n- Rust-side logs from `simulang-js` show up automatically.\n- Pressing the pause hotkey (`Ctrl+Shift+Option+L` on macOS, `Ctrl+Shift+Alt+L` elsewhere) pauses every `simulang-js` call until you press it again. The window also becomes draggable while paused.\n\nThe window is click-through by default, always-on-top, and excluded from screenshots on macOS so it never interferes with what you're automating.\n\n## API\n\n| Member               | Description                                                            |\n| -------------------- | ---------------------------------------------------------------------- |\n| `logWindow.log(msg)` | Append a line.                                                         |\n| `logWindow.clear()`  | Drop all displayed messages.                                           |\n| `logWindow.isPaused` | `true` while execution is paused via the hotkey; `false` otherwise.    |\n| `logWindow.close()`  | Shut down the viewer. Optional — happens automatically on parent exit. |\n\n## Peer dependency\n\n`@simular-ai/simulang-js \u003e= 6.0.0`. Install it alongside this package.\n\n## Examples\n\nRunnable examples live under [`examples/`](./examples/). Start with [`examples/with-simulang-js.mjs`](./examples/with-simulang-js.mjs).\n\n## Development\n\n```sh\nnpm install\nnpm run build:debug\nnode examples/with-simulang-js.mjs\n```\n\n## Releasing\n\nSee [`PUBLISH.md`](./PUBLISH.md). Releases are cut from CI on tag push.\n\n## License\n\n[MIT](./LICENSE) © 2026 Simular AI\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimular-ai%2Fsimulang-log-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimular-ai%2Fsimulang-log-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimular-ai%2Fsimulang-log-viewer/lists"}