Uploaded code

This commit is contained in:
2025-09-27 17:45:52 +01:00
commit b73af5bf11
61 changed files with 10500 additions and 0 deletions

36
config.json Normal file
View File

@@ -0,0 +1,36 @@
{
"storage": {
"backend": "b2",
"local_path": "storage"
},
"b2": {
"application_key_id": "0023cd3169723c50000000001",
"application_key": "K002rXzeiUfyfpEabzU3ikvnJy5FU1M",
"bucket_name": "sharey"
},
"flask": {
"host": "0.0.0.0",
"port": 8866,
"debug": true
},
"upload": {
"max_file_size_mb": 100
},
"paste": {
"max_length": 1000000
},
"security": {
"rate_limit_enabled": false,
"max_uploads_per_hour": 50
},
"maintenance": {
"enabled": false,
"message": "Sharey is currently under maintenance. Please check back later!",
"estimated_return": ""
},
"admin": {
"enabled": true,
"password_hash": "240be518fabd2724ddb6f04eeb1da5967448d7e831c08c8fa822809f74c720a9",
"session_timeout_minutes": 60
}
}