{"id":17909389,"url":"https://github.com/takanotume24/serverless-apt-mirror","last_synced_at":"2026-02-02T03:02:34.336Z","repository":{"id":259839138,"uuid":"864827339","full_name":"takanotume24/serverless-apt-mirror","owner":"takanotume24","description":"Serverless apt server, using Cloudflare serverless stack","archived":false,"fork":false,"pushed_at":"2026-01-27T19:32:16.000Z","size":246,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-27T23:25:06.167Z","etag":null,"topics":["apt","cloudflare","cloudflare-workers","hono","severless","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/takanotume24.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,"zenodo":null}},"created_at":"2024-09-29T09:16:48.000Z","updated_at":"2026-01-27T11:26:06.000Z","dependencies_parsed_at":"2024-10-28T09:38:51.697Z","dependency_job_id":"893bf2cc-9b8e-4d70-9bc6-13e0850c1030","html_url":"https://github.com/takanotume24/serverless-apt-mirror","commit_stats":null,"previous_names":["takanotume24/serverless-apt-mirror"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/takanotume24/serverless-apt-mirror","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takanotume24%2Fserverless-apt-mirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takanotume24%2Fserverless-apt-mirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takanotume24%2Fserverless-apt-mirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takanotume24%2Fserverless-apt-mirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takanotume24","download_url":"https://codeload.github.com/takanotume24/serverless-apt-mirror/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takanotume24%2Fserverless-apt-mirror/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29002632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T01:32:03.847Z","status":"online","status_checked_at":"2026-02-02T02:00:07.448Z","response_time":58,"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":["apt","cloudflare","cloudflare-workers","hono","severless","typescript"],"created_at":"2024-10-28T19:25:14.509Z","updated_at":"2026-02-02T03:02:34.312Z","avatar_url":"https://github.com/takanotume24.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## `serverless-apt-mirror`\n\nThis is an apt server built on Cloudflare's serverless stack (Workers + R2 + Cache).\n\n\n### Concept\n\nIt was created to reduce the load on the origin apt servers. Content is served from the edge cache whenever possible.\nIt returns the hit items in the order of Cloudflare Cache -\u003e Cloudflare R2 -\u003e Origin Server.\n\nIt was inspired by \u003chttps://github.com/cloudflare/serverless-registry\u003e\n\n\u003e [!WARNING]\n\u003e This server is an experimental implementation. Do not use it for daily use or in production environments.\n\n\n### How to deploy\n\n1. Clone this repository\n\n\t```\n\t$ git clone git@github.com:takanotume24/serverless-apt-mirror.git\n\t$ cd serverless-apt-mirror\n\t```\n\n1. Setup Nodejs Environment\n\n\t```\n\t$ nvm install\n\t$ nvm use\n\t```\n\n1. Edit `wrangler.toml`\n\n\t```\n\t$ cp wrangler.toml.example wrangler.toml\n\t```\n\n\t- Replace `archive.example.com` to your domain.\n\t- Chose origin apt server, and fill `ORIGIN_APT_SERVER = \"\"`.\n\n1. Deploy to Cloudflare Workers\n\n\t```\n\t$ npx wrangler deploy --env production\n\t```\n\n### How to use this mirror\n\n1. Edit source list\n\n\tIn Ubuntu 22.04, `archive.ubuntu,com` to your domain in `/etc/apt/source.list`.\n\n1. Use apt server\n\n\t```\n\t$ sudo apt update\n\tGet:1 https://[your domain]/ubuntu jammy InRelease [270 kB]\n\tGet:2 https://[your domain]/ubuntu jammy-updates InRelease [128 kB]\n\tGet:3 https://[your domain]/ubuntu jammy-backports InRelease [127 kB]\n\t```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakanotume24%2Fserverless-apt-mirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakanotume24%2Fserverless-apt-mirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakanotume24%2Fserverless-apt-mirror/lists"}