Go to file
2024-07-10 18:58:20 +00:00
middleware init 2024-07-10 18:57:38 +02:00
routes init 2024-07-10 18:57:38 +02:00
.gitignore init 2024-07-10 18:57:38 +02:00
main.js init 2024-07-10 18:57:38 +02:00
package.json add new yarn run flag along with package info 2024-07-10 18:58:20 +00:00
README.md Update README.md 2024-07-10 18:43:50 +00:00
yarn.lock init 2024-07-10 18:57:38 +02:00

Shitty but stable uploader :3

Configuring .env File

R2_ENDPOINT=yourid.r2.cloudflarestorage.com
R2_ACCESS_KEY=insert_a_access_key
R2_SEC_KEY=insert_a_secret_key
R2_BUCKET=your_bucket
R2_DOMAIN=r2_domain

UPLOAD_SEC=base64_upload_apikey
JWT_SECRET=base64_jwt_secret

PORT=3000

Deployment

yarn install
node main.js