Skip to content

nlwillia/discord-server-template-report

Repository files navigation

Discord Server Template Report

Discord has introduced a Server Template feature to make it easier to clone the key setup of a server. The information in a template can also be used for visualization and analysis purposes.

This program is a simple server that will download and parse a template in Discord's JSON format and render it with advice about possible redundancies in its permission configuration. No special access is required beyond turning on the template feature for your server.

Demo

There's a demo instance on Heroku.

Running Locally

  1. Clone the project.
  2. Open a command prompt and change to the project directory.
  3. Download a JDK (11 or higher) (ex: JDK15 from adoptopenjdk) and extract it.
  4. Type SET JAVA_HOME={path-to-dir-where-you-extracted-the-jdk}
  5. Type gradlew run
  6. Wait for the program to build and start (it will hang on the :run task with Application started in the log).
  7. Navigate to http://localhost:8080/
  8. Turn on the Server Template for your server.
  9. Paste the link/key in the lookup box and submit.