FluffyUpload/README.md

29 lines
680 B
Markdown
Raw Normal View History

2024-07-10 19:04:54 +02:00
# Shitty but stable uploader :3
# Configuring .env File
```
2024-07-10 19:07:52 +02:00
R2_ENDPOINT=yourid.r2.cloudflarestorage.com
2024-07-10 19:04:54 +02:00
R2_ACCESS_KEY=insert_a_access_key
R2_SEC_KEY=insert_a_secret_key
2024-07-10 19:07:52 +02:00
R2_BUCKET=your_bucket
R2_DOMAIN=r2_domain
UPLOAD_SEC=base64_upload_apikey
PORT=3000
2024-07-10 19:04:54 +02:00
```
# Deployment
```
yarn install
2024-07-10 21:00:10 +02:00
yarn start
2024-07-10 21:11:30 +02:00
```
# Usage in ShareX
To use this service in ShareX, download example_sharex_config.sxcu from the source and edit the following:
```
2024-07-10 21:20:09 +02:00
"RequestURL": "https://upload.insertdomain.com", - edit this line with your R2 domain set in .env file under R2_DOMAIN
2024-07-10 21:11:30 +02:00
"X-API-Key": "insert_your_api_key_found_in_UPLOAD_SEC" - edit this line with your key set in .env file under UPLOAD_SEC
2024-07-10 19:04:54 +02:00
```