{"id":51905472,"url":"https://github.com/brett-buskirk/vegtam","last_synced_at":"2026-07-26T21:30:49.815Z","repository":{"id":370783000,"uuid":"1294794031","full_name":"brett-buskirk/vegtam","owner":"brett-buskirk","description":"The wanderer — a pocket CLI for whatever repo you're standing in: fast read-first views plus a few safe local actions, in any repo, even ones you don't own. Bash + git; gh/jq optional.","archived":false,"fork":false,"pushed_at":"2026-07-18T15:12:30.000Z","size":623,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-18T16:22:01.092Z","etag":null,"topics":["bash","cli","command-line-tool","developer-tools","devops","gh-cli","git","git-workflow","github","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/brett-buskirk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"ROADMAP.md","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-07-09T07:13:45.000Z","updated_at":"2026-07-18T15:12:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/brett-buskirk/vegtam","commit_stats":null,"previous_names":["brett-buskirk/vegtam"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/brett-buskirk/vegtam","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brett-buskirk%2Fvegtam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brett-buskirk%2Fvegtam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brett-buskirk%2Fvegtam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brett-buskirk%2Fvegtam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brett-buskirk","download_url":"https://codeload.github.com/brett-buskirk/vegtam/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brett-buskirk%2Fvegtam/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35929713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-26T02:00:06.503Z","response_time":89,"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":["bash","cli","command-line-tool","developer-tools","devops","gh-cli","git","git-workflow","github","shell"],"created_at":"2026-07-26T21:30:48.942Z","updated_at":"2026-07-26T21:30:49.808Z","avatar_url":"https://github.com/brett-buskirk.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vegtam\n\n[![Shellcheck](https://github.com/brett-buskirk/vegtam/actions/workflows/shellcheck.yml/badge.svg)](https://github.com/brett-buskirk/vegtam/actions/workflows/shellcheck.yml)\n\n**The wanderer — a pocket CLI for whatever repo you're standing in.**\n\nOdin walks Midgard in disguise under the name *Vegtam*. This tool is that mode: it works on\n**exactly one repository — the one your shell is in right now** — reading everything live from the\nlocal `.git` and its GitHub remote. No config, no stored state, no assumptions about who owns the\nrepo. Run it inside any repo, anywhere on the machine, and get a fast lay of the land.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/vegtam-status.png\" alt=\"vegtam status — a one-screen briefing on the current repo: visibility, default branch, fork relationship, current branch with dirty state and stashes, the latest commit and its CI, and open PR/issue counts\" width=\"760\"\u003e\n\u003c/p\u003e\n\n## Works in any repo. Owns nothing.\n\nVegtam is built for the repos that *aren't* yours — client work, an open-source contribution,\nsomething you just cloned. That inverts the usual risk posture, so three rules hold throughout:\n\n- **Read-first, act-light.** The value is in the *views*, and views are safe everywhere. The\n  handful of actions are scoped to \"help me work *in* this repo,\" never \"clean up someone else's.\"\n- **Convention-neutral.** Vegtam reports *what is*. It doesn't audit your repo against anyone's\n  house style.\n- **Permission-aware.** Contributor without admin? Read-only? Non-GitHub remote? Every remote call\n  degrades to a quiet, informative line — never a crash or a stack trace.\n\nNothing Vegtam does touches remote state or your uncommitted work unless you explicitly ask — and\neven then, the destructive-adjacent bits are dry-run by default.\n\n## Install\n\nVegtam is a single, self-contained Bash script. Pick whichever fits:\n\n**Homebrew** (macOS / Linux):\n\n```sh\nbrew install brett-buskirk/tap/vegtam\n```\n\n**npm** (also gives you `npx vegtam` with no install):\n\n```sh\nnpm install -g vegtam\n```\n\n**curl** — no package manager required, drop it straight on your `PATH`:\n\n```sh\nmkdir -p ~/.local/bin\ncurl -fsSL https://raw.githubusercontent.com/brett-buskirk/vegtam/main/vegtam -o ~/.local/bin/vegtam\nchmod +x ~/.local/bin/vegtam\n```\n\n(Make sure `~/.local/bin` is on your `PATH`.)\n\n**Requires** `bash` and `git` — so macOS, Linux, and WSL/Git Bash on Windows. The GitHub CLI (`gh`)\nunlocks the GitHub-backed sections and `jq` enables `--json` output; without them, the local git\nviews still work.\n\n## Usage\n\n```\nvegtam [status]      one-screen briefing on the current repo (the default)\nvegtam branches      local + remote branches: tracking, merged, stale\nvegtam prs           open pull requests with their CI status\nvegtam log           timeline of commits, merged PRs, and releases\nvegtam health        security \u0026 freshness: alerts, deps, unpinned actions\nvegtam sync          fast-forward the current branch to its upstream\nvegtam tidy          delete merged local branches (dry-run by default)\nvegtam branch \u003cname\u003e create + switch to a branch\nvegtam pr            open a PR from the current branch\nvegtam help          the menu\nvegtam \u003ccmd\u003e help    detail \u0026 options for any command\nvegtam --version     print the version\n```\n\nFor a one-page reference to every command, option, and `--json` shape, see the\n[**cheat sheet**](CHEATSHEET.md).\n\n### `status` — the flagship\n\nOne glance tells you where you stand:\n\n- repo name, description, visibility, and default branch\n- your relationship to it — a fork of whom, and how far ahead/behind its upstream you are\n- current branch, dirty state, and stashes\n- the latest commit, its CI status, and how long ago\n- open PR and issue counts\n\nFast and local by default; add `--fetch` to refresh ahead/behind from the remote first. Respects\n`NO_COLOR` and prints plain text when piped.\n\n### `branches`\n\nYour local branches, newest commit first — each with its upstream tracking state (`↑ahead`/\n`↓behind`, `[gone]`, or `local-only`), whether it's merged into the default branch, and its age —\nfollowed by the branches on `origin` you don't have locally. Purely descriptive; it never deletes\nanything (that's what [`tidy`](#tidy) is for). `--fetch` refreshes tracking and remote branches first.\n\n### `prs`\n\nOpen pull requests, each with a CI glyph (`✓` pass · `✗` fail · `●` running · `·` none), its\nsource branch, author, and age. The ones you authored are tagged `(you)`.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/vegtam-prs.png\" alt=\"vegtam prs — open pull requests, each with a CI-status glyph, source branch, author and age; your own tagged (you)\" width=\"720\"\u003e\n\u003c/p\u003e\n\n### `log`\n\nA newest-first timeline of what changed: commits on the current branch (`●`), merged PRs (`⑃`),\nand releases (`⚑`). `--since \u003cwindow\u003e` sets how far back to look — `6h`, `3d`, `2w` (default),\n`1mo`. Commits always work; the GitHub events need `gh`.\n\n### `health`\n\nSecurity \u0026 freshness — three neutral, widely-recommended signals, each best-effort and\naccess-aware:\n\n- **alerts** — open Dependabot advisories by severity (needs security read; a contributor usually\n  can't see these, so it degrades to a note)\n- **deps** — dependency manifests with nothing watching them, and open Dependabot update PRs\n- **actions** — third-party Actions not pinned to a commit SHA (the supply-chain hardening\n  recommendation), flagged outdated when a newer major exists\n\nIt reports what *is* — it doesn't judge the repo against anyone's house style, and it changes\nnothing.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/vegtam-health.png\" alt=\"vegtam health — open Dependabot alerts by severity, dependency freshness, and third-party Actions not pinned to a commit SHA, with a signal count\" width=\"720\"\u003e\n\u003c/p\u003e\n\n### `--json`\n\nEvery inspect view above takes `--json` (needs `jq`), emitting a structured object or array for\npiping into other tools. Fields you can't read come through as `null`, so a consumer can tell\n\"no access\" from \"none found\":\n\n```sh\nvegtam status --json | jq '.behind'                 # am I behind upstream?\nvegtam prs --json    | jq '[.[] | select(.mine)]'   # just my open PRs\nvegtam health --json | jq '.alerts.open // 0'       # open Dependabot alerts (null → 0)\n```\n\n## Actions — safe, local, self-scoped\n\nThe only commands that change anything. Each helps you work *in* this repo; none touch remote\nbranches, close others' PRs, or rewrite history.\n\n### `sync`\n\nFetch, then **fast-forward** the current branch to its upstream — nothing more. If your branch has\ndiverged (you have local commits the remote doesn't), it says so and stops; reconciling means a\nrebase or merge, which it won't do for you. A clean fast-forward proceeds even with an unrelated\ndirty file — git itself refuses to overwrite uncommitted changes, so your work is never clobbered.\n\n### `tidy`\n\nDelete local branches already merged into the default branch. **Dry-run by default** — it lists what\nit *would* delete and changes nothing until you add `--apply` (which confirms once for the batch;\n`--yes` skips the prompt). Never the default branch, never the one you're on, never anything on the\nremote, and only via `git branch -d` (which itself refuses a branch that isn't fully merged).\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/vegtam-tidy.png\" alt=\"vegtam tidy — a dry-run list of merged local branches it would delete, changing nothing until you add --apply\" width=\"720\"\u003e\n\u003c/p\u003e\n\n### `branch \u003cname\u003e`\n\nCreate a branch and switch to it — or just switch, if it already exists. Purely local; nothing is\npushed.\n\n### `pr`\n\nOpen a pull request from the current branch — a thin wrapper over `gh pr create`. It refuses on a\ndetached HEAD, the default branch, or a branch with no commits beyond the base (nothing to open),\nthen hands off to `gh`, which pushes the branch if needed (via a fork when you can't push to origin)\nand prompts for the rest. Extra flags pass straight through (`vegtam pr --fill --draft`).\n\n## Status\n\n**v1.0.0** — stable and feature-complete for v1: five inspect views (each with `--json`), four safe\nlocal actions, two-level help, `shellcheck`-gated CI, one self-contained script.\n\nAnything remote-mutating or destructive beyond the safe local set is deliberately out of scope —\nthat's not what a wanderer is for. See [ROADMAP.md](ROADMAP.md) for what's intentionally deferred.\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrett-buskirk%2Fvegtam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrett-buskirk%2Fvegtam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrett-buskirk%2Fvegtam/lists"}