{"id":50607076,"url":"https://github.com/arach/spectator","last_synced_at":"2026-06-06T00:03:28.011Z","repository":{"id":348092942,"uuid":"1129464671","full_name":"arach/spectator","owner":"arach","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-30T18:52:36.000Z","size":1524,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-30T20:27:49.616Z","etag":null,"topics":["agent-logs","claude","claudecode","jsonl"],"latest_commit_sha":null,"homepage":"http://spectator.arach.dev/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arach.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-01-07T06:05:19.000Z","updated_at":"2026-03-30T18:52:39.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/arach/spectator","commit_stats":null,"previous_names":["arach/spectator"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/arach/spectator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arach%2Fspectator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arach%2Fspectator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arach%2Fspectator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arach%2Fspectator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arach","download_url":"https://codeload.github.com/arach/spectator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arach%2Fspectator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33964367,"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-05T02:00:06.157Z","response_time":120,"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":["agent-logs","claude","claudecode","jsonl"],"created_at":"2026-06-06T00:03:27.336Z","updated_at":"2026-06-06T00:03:28.007Z","avatar_url":"https://github.com/arach.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spectator\n\nSpectator is a local-first web app for reviewing Claude JSONL sessions directly from disk. It renders structured timelines, supports fast navigation, and keeps the raw JSON line visible in an inspector.\n\n![Spectator UI](public/intro-screenshot.png)\n\n## Quick start\n\n```bash\ngit clone https://github.com/arach/spectator.git \u0026\u0026 cd spectator \u0026\u0026 bun install \u0026\u0026 bun run build \u0026\u0026 bun run start\n```\n\nEdit `spectator.config.json` to point at your local log roots:\n\n```json\n{\n  \"roots\": [\"~/.claude/projects\"],\n  \"maxDepth\": 5,\n  \"port\": 8787\n}\n```\n\n## Features\n\n- Session listing grouped by project with sorting controls.\n- Timeline view with category filters, density toggle, and minimap scrubber.\n- Command blocks for tagged user messages (`\u003ccommand-name\u003e`, `\u003ccommand-args\u003e`, `\u003ccommand-message\u003e`, `\u003clocal-command-stdout\u003e`).\n- Tool calls/results, code blocks with syntax highlighting, and image attachments.\n- File history snapshots with quick view and diff previews.\n- Raw JSON inspector for every entry.\n\n## Development\n\nRun the UI and the local API server in separate terminals:\n\n```bash\nbun run dev\nbun run dev:server\n```\n\nThen visit:\n\n```\nhttp://localhost:5173\n```\n\nOpen a session from the list or jump directly to:\n\n```\nhttp://localhost:5173/s/\u003csession-id\u003e\n```\n\n## File History (Optional)\n\nIf you have Claude file history backups, Spectator will surface snapshot diffs by reading:\n\n```\n~/.claude/file-history\n```\n\nYou can override this path in `server.ts` if needed.\n\n## Limitations\n\n- Long code blocks and diffs are truncated to the first 10 lines for readability.\n- The initial pass is focused on Claude JSONL. OpenAI support is planned next.\n\n## Production\n\n```bash\nbun run build\nbun run start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farach%2Fspectator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farach%2Fspectator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farach%2Fspectator/lists"}