{"id":16540709,"url":"https://github.com/fcwu/apt-repo-server","last_synced_at":"2025-09-04T18:48:58.848Z","repository":{"id":139401080,"uuid":"41336504","full_name":"fcwu/apt-repo-server","owner":"fcwu","description":"A Debian apt repository server.","archived":false,"fork":false,"pushed_at":"2018-09-09T05:16:30.000Z","size":4,"stargazers_count":27,"open_issues_count":0,"forks_count":19,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-08T20:21:50.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/dorowu/apt-repo-server/","language":"Python","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/fcwu.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":"2015-08-25T01:46:19.000Z","updated_at":"2024-11-14T17:24:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"703a4f90-9fea-4ed6-9e2d-6d8e67a4644d","html_url":"https://github.com/fcwu/apt-repo-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fcwu/apt-repo-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcwu%2Fapt-repo-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcwu%2Fapt-repo-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcwu%2Fapt-repo-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcwu%2Fapt-repo-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fcwu","download_url":"https://codeload.github.com/fcwu/apt-repo-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcwu%2Fapt-repo-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273656888,"owners_count":25145003,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"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":[],"created_at":"2024-10-11T18:53:08.114Z","updated_at":"2025-09-04T18:48:58.836Z","avatar_url":"https://github.com/fcwu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"APT-REPO-SERVER\n=========================\n\napt-repo-server is a debian repository server. It monitors file changing event(inotify), then reproduce index file(Packages.gz) automatically.\n\nUsage\n=======================\n\nRun server\n\n```\n$ docker run -it -v ${PWD}/data:/data -p 10000:80 dorowu/apt-repo-server\n```\n\nExport a debian package\n```\n$ cp qnap-fix-input_0.1_all.deb  data/dists/trusty/main/binary-amd64/\n```\n\nFile structure looks like\n```\n$ tree data/\ndata/\n└── dists\n    ├── precise\n    │   └── main\n    │       ├── binary-amd64\n    │       │   └── Packages.gz\n    │       └── binary-i386\n    │           └── Packages.gz\n    └── trusty\n        └── main\n            ├── binary-amd64\n            │   ├── Packages.gz\n            │   └── qnap-fix-input_0.1_all.deb\n            └── binary-i386\n                └── Packages.gz\n```\n\nPackages.gz looks like\n```\n$ zcat data/dists/trusty/main/binary-amd64/Packages.gz\nPackage: qnap-fix-input\nVersion: 0.1\nArchitecture: all\nMaintainer: Doro Wu \u003cdorowu@qnap.com\u003e\nInstalled-Size: 33\nFilename: ./qnap-fix-input_0.1_all.deb\nSize: 1410\nMD5sum: 8c08f13d61da1b8dc355443044bb2608\nSHA1: 6deef134c94da7f03846a6b74c9e4258c514868f\nSHA256: 7441f1616810d5893510d31eac2da18d07b8c13225fd2136e6a380aefe33c815\nSection: utils\nPriority: extra\nDescription: QNAP fix\n UNKNOWN\n```\n\nUpdate /etc/apt/sources.list\n```\n$ echo deb http://127.0.0.1:10000 trusty main | sudo tee -a /etc/apt/sources.list\n```\n\n\nLicense\n==================\n\napt-repo is under the Apache 2.0 license. See the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffcwu%2Fapt-repo-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffcwu%2Fapt-repo-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffcwu%2Fapt-repo-server/lists"}