A simple personal file sharing service.
- Completely backed by Alibaba Cloud OSS without a DB
- OIDC authentication
- Generate directory / file / text / url shares
- Customizable share name
- Customizable generated share link length
- Password protection
- Expiration date
DEBUG: debug mode (defaults tofalse)EMBED_DISABLE: disable web assets embedding (defaults totruein debug mode)HOST,PORT: address to listenBASEURL: base URL of the server (required unless in debug mode)
The application currently only supports OIDC authentication. A user will be allowed to create shares if a valid OIDC token is present. Note that we do not authorize the user. Instead, the OIDC provider is expected to do so. If a user is not allowed to create shares, the OIDC provider should not return a valid token at all.
If the following entries are not properly configured, authentication will be disabled, and the application will be read-only.
Remember to set BASEURL correctly for callback url to work.
OIDC_ISSUER: OIDC issuerOIDC_CLIENT_ID: OIDC client_idOIDC_CLIENT_SECRET: OIDC client_secretOIDC_NAME_CLAIM: name of the username claim (default:username)
The application uses Alibaba Cloud OSS service for storage.
ALIBABA_CLOUD_ACCESS_KEY_ID: Alibaba Cloud AccessKey IDALIBABA_CLOUD_ACCESS_KEY_SECRET: Alibaba Cloud AccessKey SecretOSS_REGION: Alibaba Cloud region, must set or signing will failOSS_ENDPOINT: OSS datacenter endpoint to use (example:https://region-internal.aliyuncs.com)OSS_ENDPOINT_PUBLIC: OSS public bucket endpoint to use (for custom domain; defaults toOSS_ENDPOINTif not set)OSS_BUCKET: bucket nameOSS_DOWNLOAD_DIRECT: provide direct OSS download link instead of proxying (default:false)