Skip to content

Filebin is a web application that facilitates convenient file sharing over the web.

License

Notifications You must be signed in to change notification settings

atsign-company/filebin2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI Actions Go Report Card codecov go.dev reference

Filebin2 is a web application that facilitates convenient file sharing over the web. It is the software that powers https://filebin.net. It is still in development status and will see breaking changes.

Table of contents

Why filebin2?

A couple of (in hindsight) bad architectural decisions in the previous version of filebin paved the road for filebin2. Filebin2 is using a PostgreSQL database to handle meta data and S3 to store files. I decided to move to a new repository because of breaking changes from the previous verson of filebin.

Development environment

The development environment consists of one PostgreSQL instance, one MinIO object storage instance and an instance of filebin2. The easiest way to set up this environment is to clone this repository and do:

docker-compose up --build

This will make:

Usage

Command line arguments

--manual-approval (default: not set)

If this argument is set, then an administrator needs to manually approve new bins before files and archives can be downloaded. Bin and file operations except downloading are accepted while a bin is pending approval. This is a mechanism added to limit abuse.

The API request used to approve a bin is an authenticated PUT /admin/approve/{bin}

About

Filebin is a web application that facilitates convenient file sharing over the web.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 54.6%
  • Smarty 31.1%
  • JavaScript 12.3%
  • Roff 0.6%
  • CSS 0.4%
  • Shell 0.4%
  • Other 0.6%