{"id":51596836,"url":"https://github.com/nijaru/bru","last_synced_at":"2026-07-11T19:02:05.899Z","repository":{"id":320103782,"uuid":"1010434092","full_name":"nijaru/bru","owner":"nijaru","description":"Fast, parallel package manager compatible with Homebrew formulae","archived":false,"fork":false,"pushed_at":"2026-06-20T06:48:11.000Z","size":1296,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-01T00:26:50.382Z","etag":null,"topics":["cli","homebrew","macos","package-manager","performance","rust"],"latest_commit_sha":null,"homepage":null,"language":null,"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/nijaru.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":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":"2025-06-29T04:07:48.000Z","updated_at":"2026-06-20T06:48:16.000Z","dependencies_parsed_at":"2025-10-22T01:13:06.490Z","dependency_job_id":"260061fb-2c5c-4f3f-adce-4455bcc0dd40","html_url":"https://github.com/nijaru/bru","commit_stats":null,"previous_names":["nijaru/kombrucha","nijaru/bru"],"tags_count":41,"template":false,"template_full_name":null,"purl":"pkg:github/nijaru/bru","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nijaru%2Fbru","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nijaru%2Fbru/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nijaru%2Fbru/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nijaru%2Fbru/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nijaru","download_url":"https://codeload.github.com/nijaru/bru/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nijaru%2Fbru/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35372639,"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-07-11T02:00:05.354Z","response_time":104,"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":["cli","homebrew","macos","package-manager","performance","rust"],"created_at":"2026-07-11T19:02:05.462Z","updated_at":"2026-07-11T19:02:05.888Z","avatar_url":"https://github.com/nijaru.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# bru\n\n**A package manager for the brew ecosystem, written in Go**\n\nSame packages as brew. Doesn't bloat your disk. Doesn't break on upgrade.\n\n## What is this?\n\nbru uses brew's package universe — the same formula.json API, the same prebuilt\nbottles — but stores them differently. Content-addressable storage means packages are\ndeduplicated across versions. Transactional installs mean interrupted upgrades can be\nrolled back. No Ruby startup tax.\n\nIt's the [pnpm](https://pnpm.io/) model applied to system packages: pnpm reads npm's\n`package.json` and downloads from npm's registry, but has its own store. Same idea.\n\n## Status\n\n**Design phase.** Architecture spec and research complete. Go implementation not yet started.\n\n## Why not brew?\n\nbrew is the default way to get CLI tools on macOS. It works. But:\n\n- **Slow startup** — Ruby interpreter adds hundreds of milliseconds to every command\n- **\"Updating Homebrew...\"** — auto-update runs on every `brew install`, blocking for 10-30s\n- **Disk bloat** — old versions pile up silently, no dedup across shared dependencies\n- **Upgrade breakage** — interrupted upgrade leaves half-linked packages (brew issue #20427)\n- **No rollback** — if an upgrade breaks something, you're on your own\n\nbru fixes these at the storage layer, not by being a faster wrapper.\n\n## Why not Stout?\n\n[Stout](https://github.com/neul-labs/stout) is a mature Rust-based brew client with\n10+ crates, SQLite indexing, signed indexes, and CVE auditing. It's good. It solves\nthe speed problem by being a drop-in brew replacement.\n\nbru isn't drop-in. It's a different tool with a different store. The speed improvement\nis a side effect of the architecture, not the pitch.\n\n## Architecture\n\n```\nCLI → Service → Store (CAS) → Metadata (SQLite) → Fetch (parallel) → Transaction (atomic)\n```\n\nKey properties:\n- **Content-addressable store**: packages stored by content hash, deduplicated\n- **APFS clonefile**: instant materialization on macOS (copy-on-write)\n- **Transactional installs**: staged writes, atomic commit, crash-safe rollback\n- **SQLite + FTS5**: fast search, incremental metadata sync\n- **MVS resolution**: simple, reproducible dependency resolution\n\n## Building\n\n```bash\n# (TBD — implementation not yet started)\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnijaru%2Fbru","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnijaru%2Fbru","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnijaru%2Fbru/lists"}