Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 777 Bytes

File metadata and controls

25 lines (16 loc) · 777 Bytes

BEX Attachment Server

This server implements the BEX Attachment Server specification.

It also exposes a TURN server in order to avoid IP leaks caused by BEX's WebRTC extensions.

Goals

  • Allow high request volume
  • Erase old files in the event of high load
  • Block spammers without being overzealous
  • Provide users with reasons their uploads have failed

Setup

# install Go and git if you haven't already
sudo apt-get install git golang

go get -u -v github.com/Cryptodog/bex-attachment-server

~/go/bin/bex-attachment-server --config ~/bex.toml

If you want to use it behind an NGINX proxy with the X-Real-IP header, use the flag -p, --proxied