Fast and elegant file hosting service.
Go to file
AlphaNecron 64e8305747 chore: added LICENSE and readme 2021-09-20 20:38:30 +07:00
.github/workflows ci: added ci 2021-09-19 14:41:34 +07:00
.husky feat: initial 2021-09-16 12:40:46 +07:00
.vscode feat(components): text previewing 2021-09-19 11:20:27 +07:00
prisma fix: fixed embed not working 2021-09-20 17:13:36 +07:00
public chore: added a new favicon and banner 2021-09-19 11:49:43 +07:00
scripts feat: initial 2021-09-16 12:40:46 +07:00
server fix: fixed embed not working 2021-09-20 17:13:36 +07:00
src fix(components): fixed overflowed image 2021-09-20 20:13:58 +07:00
.eslintrc.js feat(components): text previewing 2021-09-19 11:20:27 +07:00
.gitignore feat(components): text previewing 2021-09-19 11:20:27 +07:00
LICENSE chore: added LICENSE and readme 2021-09-20 20:38:30 +07:00
config.example.toml chore: added example config file 2021-09-20 11:01:26 +07:00
draconic-env.d.ts feat(components): text previewing 2021-09-19 11:20:27 +07:00
next-env.d.ts feat: initial 2021-09-16 12:40:46 +07:00
next.config.js feat: initial 2021-09-16 12:40:46 +07:00
package.json chore: removed prisma seed from package.json 2021-09-20 17:20:28 +07:00
readme.md chore: added LICENSE and readme 2021-09-20 20:38:30 +07:00
tsconfig.json chore: removed files from tsconfig 2021-09-19 15:04:33 +07:00

readme.md

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