{"id":15587771,"url":"https://github.com/icyleaf/hpr","last_synced_at":"2025-04-09T06:12:31.117Z","repository":{"id":30896557,"uuid":"117815999","full_name":"icyleaf/hpr","owner":"icyleaf","description":"镜像任意 git 仓库到 gitlab 的同步工具，具有定时更新的功能","archived":false,"fork":false,"pushed_at":"2025-03-14T11:52:22.000Z","size":589,"stargazers_count":95,"open_issues_count":8,"forks_count":23,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-02T02:13:22.324Z","etag":null,"topics":["crystal","git-mirror","git-replication","gitlab-mirror","repository-mirror"],"latest_commit_sha":null,"homepage":"https://hpr.ews.im","language":"Ruby","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/icyleaf.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}},"created_at":"2018-01-17T09:41:35.000Z","updated_at":"2025-03-13T12:04:35.000Z","dependencies_parsed_at":"2023-10-11T15:29:39.221Z","dependency_job_id":"1ba6985f-bed7-4012-8a3a-397c201a14be","html_url":"https://github.com/icyleaf/hpr","commit_stats":{"total_commits":356,"total_committers":3,"mean_commits":"118.66666666666667","dds":0.3623595505617978,"last_synced_commit":"81dc12643198e433b1f45fc999a89f5dd23268f4"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icyleaf%2Fhpr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icyleaf%2Fhpr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icyleaf%2Fhpr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icyleaf%2Fhpr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icyleaf","download_url":"https://codeload.github.com/icyleaf/hpr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247987285,"owners_count":21028895,"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":["crystal","git-mirror","git-replication","gitlab-mirror","repository-mirror"],"created_at":"2024-10-02T22:03:15.848Z","updated_at":"2025-04-09T06:12:31.094Z","avatar_url":"https://github.com/icyleaf.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ḫpr\n\n镜像任意 git 仓库到 Gitlab 的同步工具，具有定时更新的功能。\n\n## 独特优势\n\n* 支持 API 接口，可用于远程控制不仅限于终端使用\n* 支持终端命令控制，方便临时使用\n* 定时更新镜像的仓库，时间可调，告别不靠谱的 crontab\n* 几乎支持所有的 git 托管的仓库\n* 使用可独立部署的 Gitlab 作为镜像平台。\n\n## 开始使用\n\n## Docker\n\n```\n$ docker pull icyleafcn/hpr\n$ curl -fsSL -o hpr.yml https://raw.githubusercontent.com/icyleaf/hpr/master/config/hpr.example.yml\n$ docker run --name hpr --restart=unless-stopped -d \\\n             -p 8848:8848 \\\n             -v `pwd`/hpr.yml:/app/config/hpr.yml \\\n             icyleafcn/hpr\n```\n\n### 本地部署\n\n先安装依赖 ruby 2.3+、redis 和 sqlite-lib（如果是 Linux 环境），后复制 `config/hpr.example.yml` 为 `config/hpr.yml` 修改对应的参数。\n\n```bash\n$ bundle install\n$ bundle exec guard start\n```\n\n具体配置和说明请移步[本教程](https://hpr.ews.im/#/quickstart)\n\n如果还有哪里遗漏或不足的请[提交申请](https://github.com/icyleaf/hpr/issues/new)。\n\n## 贡献你的力量\n\n本项目由 Ruby 语言编写而成，欢迎贡献你的力量！\n\n1. [Fork 本项目](https://github.com/icyleaf/hpr/fork)\n2. 创建你的新特性/修复分支 (`git checkout -b my-new-feature`)\n3. 提交你的代码 (`git commit -am 'Add some feature'`)\n4. 推送分支到服务器 (`git push origin my-new-feature`)\n5. 创建一个新的 PR\n\n## 项目维护者\n\n- [icyleaf](https://github.com/icyleaf) - 核心开发维护者\n\n# 关于项目名和图标\n\n本来就是个`镜像和更新`的项目脑海中就联想来屎壳郎这个名字，但这个名字英文有长又无法凸现特色，正好在维基百科看到了牛哄哄的变体[圣甲虫](https://zh.wikipedia.org/wiki/%E8%81%96%E7%94%B2%E8%9F%B2)。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficyleaf%2Fhpr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficyleaf%2Fhpr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficyleaf%2Fhpr/lists"}