mirror of https://github.com/AlphaNecron/Void.git
discord-botdiscord-embeddockeremoji-urlfile-hostingfile-sharingfile-uploadhacktoberfestimageimage-hostinginvisible-urljavascriptmantinemantine-uinextjsreactreactjssharexsharex-servertypescript
64e8305747 | ||
---|---|---|
.github/workflows | ||
.husky | ||
.vscode | ||
prisma | ||
public | ||
scripts | ||
server | ||
src | ||
.eslintrc.js | ||
.gitignore | ||
LICENSE | ||
config.example.toml | ||
draconic-env.d.ts | ||
next-env.d.ts | ||
next.config.js | ||
package.json | ||
readme.md | ||
tsconfig.json |
readme.md
Requirements
node
>= 16- PostgreSQL
- Either
yarn
ornpm
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