{"id":13587281,"url":"https://github.com/mchangrh/sb-mirror","last_synced_at":"2025-04-04T09:06:27.542Z","repository":{"id":40395640,"uuid":"412182940","full_name":"mchangrh/sb-mirror","owner":"mchangrh","description":"Docker containers to mirror the SponsorBlock database + API","archived":false,"fork":false,"pushed_at":"2024-10-20T01:15:45.000Z","size":123,"stargazers_count":205,"open_issues_count":14,"forks_count":31,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-04-04T02:44:10.318Z","etag":null,"topics":["docker","rsync","sponsorblock","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mchangrh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-09-30T18:40:18.000Z","updated_at":"2025-03-25T06:25:45.000Z","dependencies_parsed_at":"2024-12-30T21:11:06.299Z","dependency_job_id":"b08f8dfd-abe1-45f4-bd02-6d362f40af93","html_url":"https://github.com/mchangrh/sb-mirror","commit_stats":{"total_commits":78,"total_committers":3,"mean_commits":26.0,"dds":"0.038461538461538436","last_synced_commit":"26755df34f41e746c76d3fa195e92c0eb7f6d4ec"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchangrh%2Fsb-mirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchangrh%2Fsb-mirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchangrh%2Fsb-mirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchangrh%2Fsb-mirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mchangrh","download_url":"https://codeload.github.com/mchangrh/sb-mirror/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247149500,"owners_count":20891954,"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":["docker","rsync","sponsorblock","sqlite"],"created_at":"2024-08-01T15:06:08.265Z","updated_at":"2025-04-04T09:06:27.519Z","avatar_url":"https://github.com/mchangrh.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# SponsorBlock Mirror\nDocker containers to mirror the [SponsorBlock](https://sponsor.ajay.app) database + API\n\nSponsorBlock data and databases are under [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) from https://sponsor.ajay.app.\n\n---\n\n[![sb-mirror](https://img.shields.io/docker/image-size/mchangrh/sb-mirror/alpine?label=sb-mirror)](https://hub.docker.com/r/mchangrh/sb-mirror)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n\n\n## Usage\nThis copies the latest SponsorBlock database to the `./sb-mirror` local directory\n\n```sh\ndocker run --rm -it -v \"${PWD}/sb-mirror:/mirror\" mchangrh/sb-mirror:alpine\n```\ndocker-compose\n```yml\nsb-mirror:\n  image: mchangrh/sb-mirror\n  container_name: sb-mirror\n  volumes:\n    - ./mirror:/mirror\n    - ./export:/export\n  ports:\n    - 873:873\n  environment:\n  # - MIRROR=TRUE # enable cronjob\n  # - MIRROR_URL=mirror.sb.mchang.xyz # override to set upstream mirror \n  # - SQLITE=FALSE # generate .db in /export  \n```\n---\n## Mirroring\n\nIf you would like to set up an active mirror, allow `873/tcp` through your firewalls for rsyncd and uncomment lines in docker-compose\n\nIf you would like to set up a full API mirror, see [containers](./docs/containers.md)\n\n---\n\nContributions \u0026 Pull request are always welcome \u0026 appreciated\n\nnon-exhaustive list of packages \u0026 respective licences [here](./oss-attribution/attribution.md)\n\nThere are no longer any public mirrors that offer rsync downloads\n\n---\n\nSpecial thanks to [Ajay](https://ajay.app/), [SponsorBlock](https://github.com/ajayyy/SponsorBlock/graphs/contributors), [SponsorBlockServer](https://github.com/ajayyy/SponsorBlockServer/graphs/contributors) and [SponsorBlockSite](https://github.com/ajayyy/SponsorBlockSite/graphs/contributors) contributors, SponsorBlock VIPs and the community for their contributions.\n\nDon't be shy! Join us on [Discord](https://discord.gg/SponsorBlock) or [Matrix](https://matrix.to/#/#sponsor:ajay.app)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmchangrh%2Fsb-mirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmchangrh%2Fsb-mirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmchangrh%2Fsb-mirror/lists"}