MyStorage - is a very useful application for hosting and easy to manage your files in S3 buckets. You can upload, delete or search your files just using the interface application.
npm i pnpm -g
).git clone https://github.com/LWJerri/MyStorage.git
.pnpm install
..env.example
in apps/backend
folder to .env
..env
file.pnpm -r build
.pnpm start
.localhost:3005
.Unfortunate, it's terrible, I removed this feature with Redis and recommend you choose another object storage service.
Create cors.json
file with CORS rules on desktop.
Install AWS CLI click.
Setup your AWS-CLI: aws configure
.
Apply cors.json
to your S3 bucket aws s3api put-bucket-cors --bucket=BUCKETNAME --cors-configuration=file://cors.json --endpoint-url=S3_BUCKET_URL
CORS JSON
{
"CORSRules": [
{
"AllowedHeaders": ["*"],
"AllowedMethods": ["GET", "HEAD", "POST", "PUT", "DELETE"],
"AllowedOrigins": ["*"],
"ExposeHeaders": ["Etag"],
"MaxAgeSeconds": 3000
}
]
}
MyStorage has localization support. Actual list with available languages at this moment:
Anyone can open a pull request and suggest new translating or fix already exists localizations.
This project opened for contribution and any suggestions! You can create a new Issue
or make an Pull request
with your code changes.
This code has MIT license. See the LICENSE
file for getting more information.