https://github.com/philips-labs/go-s3unpack
Microservice to unpack ZIP archives on an S3 bucket
https://github.com/philips-labs/go-s3unpack
Last synced: about 1 month ago
JSON representation
Microservice to unpack ZIP archives on an S3 bucket
- Host: GitHub
- URL: https://github.com/philips-labs/go-s3unpack
- Owner: philips-labs
- License: mit
- Created: 2021-02-11T17:03:45.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-18T07:25:25.000Z (about 2 years ago)
- Last Synced: 2025-01-18T05:30:47.293Z (9 months ago)
- Language: Go
- Size: 438 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# go-s3unpack
Unpacks ZIP files on an S3 bucket# Usage
Exposes an endpoint `/unpack` which accepts POST requests of the following JSON:```json
{
"sourceFile": "zipfolder/Manhattan.zip",
"destinationPath": "unpacked"
}
```# curl example
```shell
> curl -H "Content-Type: application/json" -X POST http://localhost:8080/unpack -d '{"sourceFile":"zipfolder/Manhattan.zip", "destinationPath":"unpacked"}'
```# Deployment
This app is compatible with HSDP Cloud foundry and expects an S3 bucket to be bound. The app will connect to this bucket and listen for `POST /unpack` requests.# Contact / Getting help
andy.lo-a-foe@philips.com
# License
License is MIT