{"id":23626520,"url":"https://github.com/hyp3rflow/zipland","last_synced_at":"2025-07-02T09:33:16.736Z","repository":{"id":42199626,"uuid":"510384908","full_name":"hyp3rflow/zipland","owner":"hyp3rflow","description":"Serve file server with single zip file as file system in Deno.","archived":false,"fork":false,"pushed_at":"2022-07-07T03:34:06.000Z","size":24,"stargazers_count":19,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T21:18:39.317Z","etag":null,"topics":["deno","file-server","zip"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyp3rflow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-04T14:09:52.000Z","updated_at":"2023-12-20T03:34:25.000Z","dependencies_parsed_at":"2022-07-14T20:30:39.712Z","dependency_job_id":null,"html_url":"https://github.com/hyp3rflow/zipland","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/hyp3rflow/zipland","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyp3rflow%2Fzipland","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyp3rflow%2Fzipland/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyp3rflow%2Fzipland/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyp3rflow%2Fzipland/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyp3rflow","download_url":"https://codeload.github.com/hyp3rflow/zipland/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyp3rflow%2Fzipland/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263111654,"owners_count":23415498,"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":["deno","file-server","zip"],"created_at":"2024-12-27T22:55:00.100Z","updated_at":"2025-07-02T09:33:16.626Z","avatar_url":"https://github.com/hyp3rflow.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zipland\n\nServe file server with one-single zip file in Deno.\n\n## Support\n\n### zip\n\n- just zip32 with deflated or uncompressed\n\n### serving\n\n- plaintext\n- deflate\n\n## Examples\n\nYou can serve your zip file with just single line.\n\n```typescript\nimport { serveZip } from \"https://deno.land/x/zipland/mod.ts\";\n\nserveZip(\"./my.zip\");\n```\n\nOr you can serve the zip file in your own serve implementation.\n\n```typescript\nimport { serve } from \"https://deno.land/std/http/mod.ts\";\nimport {\n  disassembleZip,\n  serveZipFiles,\n} from \"https://deno.land/x/zipland/mod.ts\";\n\nconst file = await Deno.open(path);\nconst zip = await disassembleZip(zip);\nif (zip) {\n  const handler = (req: Request): Promise\u003cResponse\u003e =\u003e {\n    const pathname = new URL(req.url).pathname;\n    switch (pathname) {\n      case \"/file\": {\n        return serveZipFiles(req, zip, { urlRoot: \"/file\" });\n      }\n    }\n    // serve other things too!\n  };\n  serve(handler);\n}\n```\n\nYou can see and run above example in `/test` directory\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyp3rflow%2Fzipland","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyp3rflow%2Fzipland","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyp3rflow%2Fzipland/lists"}