{"id":47604234,"url":"https://github.com/loganlinn/trs","last_synced_at":"2026-05-14T07:07:47.471Z","repository":{"id":345396000,"uuid":"1180498545","full_name":"loganlinn/trs","owner":"loganlinn","description":"Local-first, full-text search over Claude, Codex transcripts.","archived":false,"fork":false,"pushed_at":"2026-05-12T06:04:56.000Z","size":494,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-12T08:10:51.807Z","etag":null,"topics":["claude-code","codex-cli","fts5","sqlite"],"latest_commit_sha":null,"homepage":"","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/loganlinn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-03-13T05:18:43.000Z","updated_at":"2026-05-12T06:05:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/loganlinn/trs","commit_stats":null,"previous_names":["loganlinn/trs"],"tags_count":12,"template":false,"template_full_name":"loganlinn/template","purl":"pkg:github/loganlinn/trs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loganlinn%2Ftrs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loganlinn%2Ftrs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loganlinn%2Ftrs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loganlinn%2Ftrs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loganlinn","download_url":"https://codeload.github.com/loganlinn/trs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loganlinn%2Ftrs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33014230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":["claude-code","codex-cli","fts5","sqlite"],"created_at":"2026-04-01T19:01:18.500Z","updated_at":"2026-05-14T07:07:47.463Z","avatar_url":"https://github.com/loganlinn.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trs\n\nLocal-first, full-text search over chat transcripts.\n\n`trs` indexes session transcripts from [Claude Code](https://docs.anthropic.com/en/docs/claude-code) and [Codex](https://openai.com/index/introducing-codex/) into a SQLite FTS5 database and lets you search them from a terminal UI or the command line. It also accepts transcripts from any source via NDJSON ingest.\n\n## Install\n\n```\nmise -g use github:loganlinn/trs\n```\n\n```\ncargo install --git https://github.com/loganlinn/trs\n```\n\nDownload a prebuilt binary from [GitHub Releases](https://github.com/loganlinn/trs/releases).\n\n## Usage\n\n```\ntrs                                # open interactive TUI\ntrs q \"LaunchDarkly migration\"     # search for a phrase\ntrs q kitty -p dotfiles            # filter by project\ntrs q \"terraform\" -f \"*.tf\" -n 5   # filter by file, limit results\ntrs q \"bug fix\" -C 3               # show 3 messages of context\ntrs q \"refactor\" -a codex          # search only Codex sessions\ntrs q \"deploy\" -a claude           # search only Claude Code sessions\n```\n\n### Index\n\n```\ntrs index              # incremental update (all apps)\ntrs index --full       # full reindex from scratch\ntrs index -a codex     # only index Codex sessions\n```\n\nSessions are discovered from `~/.claude/projects/` and `~/.codex/sessions/` and indexed into `$XDG_DATA_HOME/trs/index.db`.\n\n### Ingest\n\nPipe NDJSON records from any source:\n\n```\ncat sessions.ndjson | trs ingest\nmy-export-tool | trs ingest --profile slack\n```\n\nRequired fields: `session_id`, `source`, `body`. Run `trs schema` for the full spec or `trs schema --json` for JSON Schema.\n\n### Database management\n\n```\ntrs db clean       # delete index\ntrs db export db.sqlite\ntrs db import db.sqlite\n```\n\n## Configuration\n\n| Flag / Env              | Description                                          | Default                       |\n| ----------------------- | ---------------------------------------------------- | ----------------------------- |\n| `-d` / `TRS_DB`         | Database path                                        | `$XDG_DATA_HOME/trs/index.db` |\n| `--color` / `TRS_COLOR` | Color output (`auto`, `always`, `never`)             | `auto`                        |\n| `--no-tui`              | Disable TUI even in interactive terminals            | —                             |\n| `NO_COLOR`              | Disable color ([no-color.org](https://no-color.org)) | —                             |\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floganlinn%2Ftrs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floganlinn%2Ftrs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floganlinn%2Ftrs/lists"}