{"id":48462005,"url":"https://github.com/dector/tapir","last_synced_at":"2026-04-07T02:30:31.920Z","repository":{"id":339868854,"uuid":"1163653366","full_name":"dector/tapir","owner":"dector","description":"Harness for pi agent","archived":false,"fork":false,"pushed_at":"2026-02-28T15:21:52.000Z","size":65,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"trunk","last_synced_at":"2026-03-13T20:02:57.844Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/dector.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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-02-21T23:58:57.000Z","updated_at":"2026-02-28T15:21:56.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dector/tapir","commit_stats":null,"previous_names":["dector/tapir"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dector/tapir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dector%2Ftapir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dector%2Ftapir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dector%2Ftapir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dector%2Ftapir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dector","download_url":"https://codeload.github.com/dector/tapir/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dector%2Ftapir/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31498067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T17:22:55.647Z","status":"online","status_checked_at":"2026-04-07T02:00:07.164Z","response_time":105,"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-04-07T02:30:31.305Z","updated_at":"2026-04-07T02:30:31.905Z","avatar_url":"https://github.com/dector.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tapir\n\n`tapir` is the intended way to run [`pi`](https://github.com/mariozechner/pi) in a reproducible Podman environment.\n\nThe container image is an implementation detail behind the `tapir` command.\n\n## Install `tapir`\n\n### Option 1: quick install (curl)\n\n```bash\ninstall -d \"$HOME/.local/bin\"\ncurl -fsSL \"https://raw.githubusercontent.com/dector/tapir/trunk/tapir.sh\" -o \"$HOME/.local/bin/tapir\"\nchmod +x \"$HOME/.local/bin/tapir\"\n```\n\n### Option 2: clone + install\n\n```bash\ngit clone --branch trunk https://github.com/dector/tapir.git\ncd tapir\n./tapir.sh +install\n```\n\nMake sure `~/.local/bin` is in your `PATH`.\n\n## Quick start\n\nRun `pi` for your current project:\n\n```bash\ntapir\n```\n\n## Possible usages\n\n### 1) Default mode\n\n```bash\ntapir \"$PWD\"\n```\n\n### 2) Passing different `+` options\n\n```bash\ntapir +tmux \"$PWD\"\ntapir +version=latest \"$PWD\"\ntapir +version=\u003ctag-or-sha\u003e \"$PWD\"\n```\n\n### 3) Passing a different command\n\nAnything after the workspace path is executed inside the container:\n\n```bash\ntapir \"$PWD\" pi --help\ntapir \"$PWD\" tapir-version\ntapir \"$PWD\" sh -lc 'ls -la'\n```\n\n### 4) Running custom binaries from your project\n\nUse an explicit project directory and run binaries relative to it:\n\n```bash\ntapir /path/to/project ./scripts/my-tool\ntapir \"$PWD\" ./node_modules/.bin/eslint .\n```\n\n### 5) Getting versions of everything\n\n```bash\ntapir \"$PWD\" tapir-version\ntapir \"$PWD\" bun --version\ntapir \"$PWD\" pi --version\ntapir \"$PWD\" git --version\ntapir \"$PWD\" tmux -V\ntapir \"$PWD\" rg --version\ntapir \"$PWD\" fd --version\ntapir \"$PWD\" jq --version\n```\n\n## Common options\n\n- `+tmux` — run `pi` in a `tmux` session (`pi`)\n- `+no-user-home` — keep state in `\u003cworkspace\u003e/.pi/agent`\n- `+version=\u003ctag|sha|this\u003e` — choose remote image version or local build\n\n## Requirements\n\n- Podman\n- Linux/macOS shell environment with standard coreutils\n\n## Documentation\n\n- [`docs/tapir-sh.md`](docs/tapir-sh.md) — command behavior, flags, env vars\n- [`docs/how-it-works.md`](docs/how-it-works.md) — implementation details (image/build/runtime internals)\n- [`docs/ci-publish.md`](docs/ci-publish.md) — CI image publishing\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdector%2Ftapir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdector%2Ftapir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdector%2Ftapir/lists"}