{"id":15716156,"url":"https://github.com/wayou/hbmm","last_synced_at":"2026-04-28T20:08:30.572Z","repository":{"id":57261889,"uuid":"171713706","full_name":"wayou/hbmm","owner":"wayou","description":"manage and switch homebrew mirrors. homebrew 源镜像切换与管理","archived":false,"fork":false,"pushed_at":"2019-02-21T15:58:56.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T14:41:29.417Z","etag":null,"topics":["homebrew","manager","managment","mirror","origin","switch"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/wayou.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}},"created_at":"2019-02-20T16:57:22.000Z","updated_at":"2019-04-22T07:08:00.000Z","dependencies_parsed_at":"2022-08-25T04:20:43.106Z","dependency_job_id":null,"html_url":"https://github.com/wayou/hbmm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayou%2Fhbmm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayou%2Fhbmm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayou%2Fhbmm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayou%2Fhbmm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wayou","download_url":"https://codeload.github.com/wayou/hbmm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246379377,"owners_count":20767694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["homebrew","manager","managment","mirror","origin","switch"],"created_at":"2024-10-03T21:44:19.218Z","updated_at":"2026-04-28T20:08:25.530Z","avatar_url":"https://github.com/wayou.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Homebrew Mirror Manager\n\nmanage and switch homebrew mirrors.\n\n_inspired by [nrm](https://github.com/Pana/nrm), witch switch npm registries._\n\n### Installing\n\n```sh\n$ yarn global add hbmm\n# or\n$ npm install -g hbmm\n```\n\n### Usage\n\n#### List all mirrors\n\n```sh\n$ hbmm ls\n```\n\n#### Switch to a mirror\n\n```sh\n$ hbmm use \u003cmirror_name\u003e\n```\n\n#### Add a mirror\n\n```sh\n$ hbmm add \u003cmirror_name\u003e \u003cbrew\u003e \u003ccore\u003e [description]\n```\n\n- `mirror_name` is the unique key to identify the mirror\n- `brew` is the homebrew git url\n- `core` is the homebrew-core git url\n- `description` is optional to describle the mirror\n\n#### Remove to a mirror\n\n```sh\n$ hbmm use \u003cmirror_name\u003e\n```\n\n### Predefined Mirrors\n\nFollowing mirrors are included :\n\n- default\n  - brew: `https://github.com/Homebrew/brew.git`\n  - core: `https://github.com/Homebrew/homebrew-core.git`\n- tsinghua\n  - brew: `https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git`\n  - core: `https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git`\n- ustc\n  - brew: `https://mirrors.ustc.edu.cn/brew.git`,\n  - core: `https://mirrors.ustc.edu.cn/homebrew-core.git`\n\n### License\n\n[![FOSSA Status](https://app.fossa.io/api/projects/custom%2B7035%2Fgithub.com%2Fwayou%2Fhbmm.svg?type=large)](https://app.fossa.io/projects/custom%2B7035%2Fgithub.com%2Fwayou%2Fhbmm?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwayou%2Fhbmm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwayou%2Fhbmm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwayou%2Fhbmm/lists"}