Hi, here's a quick & easy port for https://minio.io/, an 'open source object storage server with Amazon S3 compatible API.'. Two ports, the server side and the cli, builds easily and works surprisingly fine.
start it with minio server /path/to/dir, it outputs the credz on stdout then listens on all ifaces: $minio server /usr/obj/ports Endpoint: http://10.0.3.254:9000 http://10.0.2.2:9000 http://127.0.0.1:9000 AccessKey: xxxxxxxxxxxx SecretKey: yyyyyyyyyyyy there's a web iface at localhost:9000 which allows you to browse files, you connect with an access key and the secret token. for the cli, i renamed it from mc to minioc to avoid conflicts. https://github.com/minio/mc#add-a-cloud-storage-service You can list files from your server once configured in the client, or list the files in the test instance provided by minio and configured by default, well do all kind of usual file operations: $minioc ls play/test-bucket [2017-12-08 21:25:08 CET] 87B test.txt $minioc config host add myminio http://10.0.3.254:9000 xxxxxxxxx yyyyyyy $minioc ls myminio/bouquet [2017-12-09 23:08:21 CET] 378B home.desktop And on the server filesystem: 378 Dec 9 23:08 /usr/obj/ports/bouquet/home.desktop $minioc find myminio -name *.desktop myminio/bouquet/home.desktop $minioc share download myminio/bouquet/home.desktop URL: http://10.0.3.254:9000/bouquet/home.desktop Expire: 7 days 0 hours 0 minutes 0 seconds Share: http://10.0.3.254:9000/bouquet/home.desktop?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=yyyyyyyyyyy%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20171209T222035Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Dead simple. Just works. minioc claims to be compatible with S3/GCS like aws-cli and s3cmd but i have no accounts there to test. Feedback on the ports welcome :) I havent done an rc script for the server, since i wouldnt know what to share by default... and it can run as whatever user. Does it even need a README ? joe user could set it up.. Landry
minio.tgz
Description: application/tar-gz