{"id":16505521,"url":"https://github.com/davidbrochart/zchunk_repodata","last_synced_at":"2025-03-02T00:47:29.143Z","repository":{"id":88094259,"uuid":"315477407","full_name":"davidbrochart/zchunk_repodata","owner":"davidbrochart","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-24T00:54:53.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-12T13:50:40.309Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/davidbrochart.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":"2020-11-24T00:42:40.000Z","updated_at":"2020-11-24T00:54:55.000Z","dependencies_parsed_at":"2023-05-18T07:15:45.544Z","dependency_job_id":null,"html_url":"https://github.com/davidbrochart/zchunk_repodata","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidbrochart%2Fzchunk_repodata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidbrochart%2Fzchunk_repodata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidbrochart%2Fzchunk_repodata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidbrochart%2Fzchunk_repodata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidbrochart","download_url":"https://codeload.github.com/davidbrochart/zchunk_repodata/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241444060,"owners_count":19963752,"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":[],"created_at":"2024-10-11T15:12:13.230Z","updated_at":"2025-03-02T00:47:29.118Z","avatar_url":"https://github.com/davidbrochart.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Installation:\n\n```bash\nmamba install zchunk pip\npip install rangehttpserver\n```\n\nPrepare data on the server side (get current repodata):\n\n```bash\nmkdir repodata\ncd repodata\nwget https://conda.anaconda.org/conda-forge/linux-64/repodata.json\nzck repodata.json\n```\n\nPrepare data on the client side (create an older repodata with less packages):\n```bash\nmkdir download\npython python/diff.py\ncd download\nzck repodata0.json\n```\n\nServe the (current) chunked repodata:\n```bash\ncd repodata\npython -m RangeHTTPServer\n```\n\nUpdate the old repodata:\n```bash\ncd download\nzckdl -s repodata0.json.zck  http://127.0.0.1:8000/repodata.json.zck\n# Missing chunks: 1\n# Downloaded 42229 bytes\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidbrochart%2Fzchunk_repodata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidbrochart%2Fzchunk_repodata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidbrochart%2Fzchunk_repodata/lists"}