Void/readme.md

2.0 KiB

A self-hosted file hosting service based on Zipline with many features.

Build stable Build stable Stars Version Last commit

Requirements

  • node >= 16
  • PostgreSQL
  • Either yarn or npm

Installation / Deployment

git clone https://github.com/AlphaNecron/Draconic.git
cd Draconic
yarn install # or npm install
cp config.example.toml config.toml
nano config.toml # edit the config file
yarn build # or npm build
yarn start # or npm start

Reverse proxy (nginx)

server {
    listen              443 ssl;
    server_name         your.domain;
    ssl_certificate     /path/to/cert;
    ssl_certificate_key /path/to/key;
    ssl_protocols       TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers         HIGH:!aNULL:!MD5;
    client_max_body_size 128M;
    location / {
        proxy_pass http://localhost:3000;
        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;
    }
}

Features

  • Configurable
  • Super fast
  • Built with Next.js & React
  • Token protected uploading
  • Easy to setup
  • Invisible URL
  • Emoji URL

Todo

  • AWS S3 support
  • Docker support
  • URL shortener
  • Better gallery
  • Discord bot
  • Discord integration