Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/exler/fileigloo
❄️ Small and simple online file sharing & pastebin
https://github.com/exler/fileigloo
file-sharing file-upload pastebin
Last synced: 3 months ago
JSON representation
❄️ Small and simple online file sharing & pastebin
- Host: GitHub
- URL: https://github.com/exler/fileigloo
- Owner: exler
- License: mit
- Created: 2021-05-17T19:02:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-18T09:34:49.000Z (9 months ago)
- Last Synced: 2024-06-21T01:42:37.887Z (5 months ago)
- Topics: file-sharing, file-upload, pastebin
- Language: Go
- Homepage: https://fileigloo.com
- Size: 248 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - exler/fileigloo - ❄️ Small and simple online file sharing & pastebin (others)
README
❄️ Small and simple online file sharing & pastebin
## Requirements
* Go >= 1.20
## Configuration
All configuration is done through environment variables or CLI flags.
### Local storage
```bash
# Override storage provider
$ export STORAGE=local# Provide directory where uploaded files should be stored
$ export UPLOAD_DIRECTORY=uploads/
```### Amazon S3
```bash
# Override storage provider
$ export STORAGE=s3# Specify S3 bucket and region
$ export S3_BUCKET=storage-bucket
$ export S3_REGION=eu-central-1# Specify AWS keys for accessing S3
$ export AWS_ACCESS_KEY=
$ export AWS_SECRET_KEY=# Optionally, specify AWS session token for temporary credentials
$ export AWS_SESSION_TOKEN=
```### Cloudflare R2
Cloudflare R2 implements S3 API, so we use the `s3` storage here as well.
```bash
# Override storage provider
$ export STORAGE=s3# Specify R2 bucket
$ export S3_BUCKET=storage-bucket# Region must be 'auto'
$ export S3_REGION=auto# Specify R2 keys for accessing the bucket
$ export AWS_ACCESS_KEY=
$ export AWS_SECRET_KEY=# Specify the bucket URL
$ export AWS_ENDPOINT_URL=https://${accountid}.r2.cloudflarestorage.com
```## Usage
### Program usage
```bash
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 commandGLOBAL OPTIONS:
--help, -h show help
```## License
Copyright (c) 2021-2023 by ***Kamil Marut***
`Fileigloo` is under the terms of the [MIT License](https://www.tldrlegal.com/l/mit), following all clarifications stated in the [license file](LICENSE).