Skip to content

ZOXEXIVO/nowfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOWFILE

This repo contains the code that helps creating http proxy under you on-premise AWS S3 account written on pure Rust

How to run

export ENDPOINT = {AWS S3 endpoint} (default - http://localhost:4572 (localstack)
export ACCESS_KEY = {AWS S3 ACCESS_KEY} (default - 123)
export SECRET_KEY = {AWS S3 SECRET_KEY} (default - 321)
export BUCKET_NAME = {default bucket name for upload | download files} (default - test-bucket)
export POOL_SIZE = {Size for intenal s3 client pool} (default - 50)

 ./nowfile 

Docker image will be soon...

Features

  • Upload file

  • Download file

  • Create one-time link to file

Api

Upload
POST http:://nowfile

Upload file as multipart form-data

Return {FILE_ID}
Download
GET http:://nowfile/{FILE_ID}

Download file

Internals

actix-web http server

License

Apache License 2.0

About

Simple S3-compatible http proxy

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published