{"id":20183447,"url":"https://github.com/duncaen/void-mirror","last_synced_at":"2026-04-15T16:33:47.709Z","repository":{"id":167983912,"uuid":"643608356","full_name":"Duncaen/void-mirror","owner":"Duncaen","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-23T01:38:38.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-03T06:26:11.513Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Duncaen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-05-21T17:46:03.000Z","updated_at":"2023-05-21T17:46:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9090d41-1344-438d-b252-63cbc88f5e59","html_url":"https://github.com/Duncaen/void-mirror","commit_stats":null,"previous_names":["duncaen/void-mirror"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Duncaen/void-mirror","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duncaen%2Fvoid-mirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duncaen%2Fvoid-mirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duncaen%2Fvoid-mirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duncaen%2Fvoid-mirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Duncaen","download_url":"https://codeload.github.com/Duncaen/void-mirror/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duncaen%2Fvoid-mirror/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31849854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-14T02:45:54.924Z","updated_at":"2026-04-15T16:33:47.690Z","avatar_url":"https://github.com/Duncaen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# void-mirror\n\nSimple daemon that mirrors xbps repositories.\n\n## Configuration\n\nThe configuration is loaded from `config.hcl` or a hcl or json file specified using the `-conffile` flag.\n\n```hcl\njobs = 8\n\nrepository {\n    upstream = \"https://repo-de.voidlinux.org/current\"\n    interval = \"30s\"\n    architecture = \"x86_64\"\n    destination = \"/srv/www/current\"\n}\n\nrepository {\n    upstream = \"https://repo-de.voidlinux.org/current/nonfree\"\n    interval = \"30s\"\n    architecture = \"x86_64\"\n    destination = \"/srv/www/current/nonfree\"\n}\n\nrepository {\n    upstream = \"https://repo-de.voidlinux.org/current/multilib\"\n    interval = \"30s\"\n    architecture = \"x86_64\"\n    destination = \"/srv/www/current/multilib\"\n}\n```\n\nExample configuration to mirror all repositories:\n\n```hcl\nlocals {\n  upstream = \"https://repo-fi.voidlinux.org\"\n  glibc = [\n    for arch in [\"x86_64\", \"i686\", \"armv6l\", \"armv7l\"]: [\n      {arch = arch, path = \"/current\"},\n      {arch = arch, path = \"/current/debug\"},\n      {arch = arch, path = \"/current/nonfree\"},\n      {arch = arch, path = \"/current/bootstrap\"},\n    ]\n  ]\n  multilib = [\n    {arch = \"x86_64\", path = \"/current/multilib\"},\n    {arch = \"x86_64\", path = \"/current/multilib/nonfree\"},\n  ]\n  musl = [\n    for arch in [\"x86_64-musl\", \"armv6l-musl\", \"armv7l-musl\"]: [\n      {arch = arch, path = \"/current/musl\"},\n      {arch = arch, path = \"/current/musl/debug\"},\n      {arch = arch, path = \"/current/musl/nonfree\"},\n      {arch = arch, path = \"/current/musl/bootstrap\"},\n    ]\n  ]\n  aarch64 = [\n    for arch in [\"aarch64\", \"aarch64-musl\"]: [\n      {arch = arch, path = \"/current/aarch64\"},\n      {arch = arch, path = \"/current/aarch64/debug\"},\n      {arch = arch, path = \"/current/aarch64/nonfree\"},\n      {arch = arch, path = \"/current/aarch64/bootstrap\"},\n    ]\n  ]\n}\n\njobs = 8\n\ndynamic \"repository\" {\n  for_each = flatten(concat(glibc, multilib, musl, aarch64))\n  iterator = repo\n  content {\n    upstream = \"${upstream}/${repo.value.path}\"\n    interval = \"30s\"\n    architecture = \"${repo.value.arch}\"\n    destination = \"/srv/www/${repo.value.path}\"\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduncaen%2Fvoid-mirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduncaen%2Fvoid-mirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduncaen%2Fvoid-mirror/lists"}