{"id":21565481,"url":"https://github.com/wgr-sa/rs-zip-service","last_synced_at":"2025-07-08T18:32:11.503Z","repository":{"id":207750744,"uuid":"691115133","full_name":"WGR-SA/rs-zip-service","owner":"WGR-SA","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-04T22:21:26.000Z","size":123,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T05:18:11.478Z","etag":null,"topics":["http","rust","s3","stream","zip"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/WGR-SA.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-09-13T14:26:32.000Z","updated_at":"2023-12-06T10:14:44.000Z","dependencies_parsed_at":"2024-03-04T23:44:33.671Z","dependency_job_id":null,"html_url":"https://github.com/WGR-SA/rs-zip-service","commit_stats":null,"previous_names":["wgr-sa/rs-zip-service"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WGR-SA/rs-zip-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WGR-SA%2Frs-zip-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WGR-SA%2Frs-zip-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WGR-SA%2Frs-zip-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WGR-SA%2Frs-zip-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WGR-SA","download_url":"https://codeload.github.com/WGR-SA/rs-zip-service/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WGR-SA%2Frs-zip-service/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264323982,"owners_count":23590780,"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":["http","rust","s3","stream","zip"],"created_at":"2024-11-24T10:19:52.174Z","updated_at":"2025-07-08T18:32:11.430Z","avatar_url":"https://github.com/WGR-SA.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"create a .env file:\n```bash\nXXX_STORAGE_PROVIDER=openstack\nXXX_STORAGE_URL=\nXXX_STORAGE_USER=\nXXX_STORAGE_SECRET=\nXXX_STORAGE_REGION=\nXXX_STORAGE_BUCKET=\n\nYYY_STORAGE_PROVIDER=s3\n...\nPORT=3000\n\n```\n\n```bash\nRUST_LOG=info cargo run \ncargo build --release\n```\n\nthen add /etc/systemd/system a zip.service file\n\n```bash\n[Unit]\nDescription=Rust Actix Zip Service\nAfter=network.target\n\n[Service]\nType=simple\nUser=root\nWorkingDirectory=/var/www/rs-zip-service\nEnvironment=\"RUST_LOG=info\"\nExecStart=/var/www/rs-zip-service/target/release/zip_service\nRestart=always\nStandardOutput=append:/var/log/zip_service.log\nStandardError=append:/var/log/zip_service-error.log\n\n[Install]\nWantedBy=multi-user.target\n````\n\nrun\n\n```bash\nsudo systemctl start zip.service\n```\n\nthen test!\n\n```bash\nwget --quiet \\\n  --method GET \\\n  --header 'X-Client: CLIENT_A_SECRET' \\\n  --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnQiOiJDTElFTlRfQV9TRUNSRVQiLCJleHAiOjE3MzE3ODQ4ODZ9.efHZ435qFrds-7bprQAy-fy5YbjeL4rerZIY6ruefC8' \\\n  --output-document \\\n  - http://localhost:8080/\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwgr-sa%2Frs-zip-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwgr-sa%2Frs-zip-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwgr-sa%2Frs-zip-service/lists"}