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.
There's a demo instance on Heroku.
- Clone the project.
- Open a command prompt and change to the project directory.
- Download a JDK (11 or higher) (ex: JDK15 from adoptopenjdk) and extract it.
- Type
SET JAVA_HOME={path-to-dir-where-you-extracted-the-jdk}
- Type
gradlew run
- Wait for the program to build and start (it will hang on the
:run
task withApplication started
in the log). - Navigate to http://localhost:8080/
- Turn on the Server Template for your server.
- Paste the link/key in the lookup box and submit.