https://github.com/kelp404/anya-s3-file-manager
An AWS S3 file manager. It supports keyword search, upload, preview video and archive files into a zip then download it.
https://github.com/kelp404/anya-s3-file-manager
aws-s3 backup nodejs react
Last synced: 2 months ago
JSON representation
An AWS S3 file manager. It supports keyword search, upload, preview video and archive files into a zip then download it.
- Host: GitHub
- URL: https://github.com/kelp404/anya-s3-file-manager
- Owner: kelp404
- License: mit
- Created: 2022-04-28T03:09:58.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-20T02:13:47.000Z (about 2 years ago)
- Last Synced: 2025-04-11T15:27:42.964Z (2 months ago)
- Topics: aws-s3, backup, nodejs, react
- Language: JavaScript
- Homepage:
- Size: 460 KB
- Stars: 11
- Watchers: 3
- Forks: 4
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# anya-s3-file-manager
An AWS S3 file manager.
It supports archive files into a zip then download it.
And supports keyword search, upload, preview video.
## Installation
```bash
git clone https://github.com/kelp404/anya-s3-file-manager.git
cd anya-s3-file-manager
npm install
npm run build
```## Start
### 1. Update S3 settings.
Open `./config/staging.js` and modify it.
```js
S3: {
KEY: 'Access key ID',
SECRET: 'Secret access key',
BUCKET: 'S3 bucket name',
REGION: 'us-west-2',
},
```
### 2. Launch the website
The server will listen http://localhost:8000 by default.
```bash
npm start
```## Amazon S3 pricing
https://aws.amazon.com/s3/pricing/## Create AWS S3 bucket
anya-s3-file-manager uses Access Key to access your S3 bucket, so enable "Block all public access" is ok.
https://aws.amazon.com/getting-started/hands-on/backup-files-to-amazon-s3/## Create access key
https://objectivefs.com/howto/how-to-get-amazon-s3-keysThs policy example:
```
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"arn:aws:s3:::your-bucket",
"arn:aws:s3:::your-bucket/*"
],
"Condition": {
"ForAnyValue:IpAddress": {
"aws:SourceIp": [
"0.0.0.0/0"
]
}
}
}
]
}
```
You can set ip whitelist at "aws:SourceIp".