❄️ Small and simple online file sharing & pastebin
- File sharing: Upload and share files.
- Pastebin: Upload and share text snippets.
- File expiration: Set expiration dates for shared files.
- Password protection: Secure your files or the whole app instance with a password.
- Go >= 1.24
All configuration is done through environment variables or CLI flags.
# Override storage provider
$ export STORAGE=local
# Provide directory where uploaded files should be stored
$ export UPLOAD_DIRECTORY=uploads/
# Override storage provider
$ export STORAGE=s3
# Specify S3 bucket and region
$ export AWS_S3_BUCKET=storage-bucket
$ export AWS_S3_REGION=eu-central-1
# Specify AWS keys for accessing S3
$ export AWS_S3_ACCESS_KEY=
$ export AWS_S3_SECRET_KEY=
# Optionally, specify AWS session token for temporary credentials
$ export AWS_S3_SESSION_TOKEN=
If you want to run fileigloo
behind a reverse proxy, make sure to set the X-Forwarded-*
headers. You can do this with Nginx like this:
location / {
proxy_pass http://localhost:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
USAGE:
fileigloo [global options] command [command options] [arguments...]
COMMANDS:
version Show current version
runserver Run web server
files Manage files in storage
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help
Copyright (c) 2021-2025 by Kamil Marut
Fileigloo
is under the terms of the MIT License, following all clarifications stated in the license file.