This is the accompanying archives web server for DiscordTickets.
Live example at tickets.eartharoid.me.
- Node v14 or above
These instructions assume you have a basic knowledge of server system administration.
- Clone/download the repository
- Edit
user/.env
(see Configuration) - Configure the bot (see Bot Configuration)
- Set up an NGINX reverse proxy (optionally with SSL - eg.
tickets.example.com
[80/443] ->localhost:8080
[8080]) - Set up PM2 or systemd to keep it running. (
node bin/www
) - Optionally change
src/public/favicon.ico
andsrc/public/assets/img/logo.png
user/.env
Setting | Info |
---|---|
HOST | Public host (eg. https://tickets.example.com ) |
PORT | Port for web server to run on |
KEY | Secret string for the bot to use to upload data |
NAME | Company/Guild/Bot name |
KEEP_FOR | Number of days to keep archives for. Disable with false . |
DiscordTickets bot configuartion:
In user/config.js
, set transcripts.web.enabled
and transcripts.web.server
.
Then set ARCHIVES_KEY
in user/.env
to the same key you set before.
- Protected (Discord oauth2 login) user page for listing all archives belonging to that user
- (guild-style) mini sidebar if logged in
(donate if you want this faster)
Released under OSL-3.0 license.
Copyright Bowser65 (frontend) & eartharoid (backend).
Changes made from Naila/Discord-chat-replica
- Completely new web server code
- Minor UI edits
- Added nicknames and coloured names