fileigloo

command module
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2025 License: MIT Imports: 1 Imported by: 0

README

❄️ Small and simple online file sharing & pastebin

GitHub Test Workflow Status MIT License

Features

  • 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.

Requirements

  • Go >= 1.24

Configuration

All configuration is done through environment variables or CLI flags.

Local storage

# Override storage provider
$ export STORAGE=local

# Provide directory where uploaded files should be stored
$ export UPLOAD_DIRECTORY=uploads/

S3-compatible storage

# 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=

Reverse proxy

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

Program usage

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

License

Copyright (c) 2021-2025 by Kamil Marut

Fileigloo is under the terms of the MIT License, following all clarifications stated in the license file.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL