This is an inofficial remake of discord.id
You need to have node.js installed!
You can clone the repository with
git clone https://github.com/RappyTV/discord.id.git
Or download it here if you don't have git installed.
Then just install the needed dependencies with npm i
.
You should create a src/config.json
file based on the example config:
{
"port": 10000,
"token": "",
"testmode": false,
"theme": "#ff0000",
"hover": "#ff7777",
"ssl": {
"useSSL": true,
"port": 11000,
"cert": "",
"key": ""
}
}
port
- The http porttoken
- Your bot's token (you can't fetch users without a bot token)testmode
- Toggles the testmode (In testmode you don't need to provide a bot token)theme
- The color of the button and navbarhover
- The color of the button when hovering over itssl.useSSL
- If the server should use an SSL certificatessl.port
- The https portssl.cert
- The path to your fullchain certificate filessl.key
- The path to your private key file
To redirect custom paths to a specific url add an object like this to the array in src/redirects.json:
{
"path": "",
"red": ""
}
Into path
you insert the custom path (domain.tld/PATH) and into red
you put the url which the path should redirect to.
Example:
[
{
"path": "myserver",
"red": "https://discord.gg/myserver"
}
]
Now https://domain.tld/myserver
will redirect you to https://discord.gg/myserver
.
Just execute the npm run start
or node .
command to start the server.
Have fun!