devfxx b716321dd3 | ||
---|---|---|
src | ||
.env.example | ||
.gitignore | ||
README.md | ||
bun.lockb | ||
package.json | ||
tsconfig.json |
README.md
DiscordVerify
DiscordVerify is a simple Hono HTTP app that allows you to verify ownership of a domain via HTTPS.
Installation
git clone https://git.kty.lol/fxx/DiscordVerify.git
cd DiscordVerify
npm install
cp .env.example .env
Startup
npm run start
Configuration
Setting up the variable(s) for this to work is painfully simple.
SECRET
- The Discord domain secret that you get from Discord, labeled "Content".PORT
- The port you want the app to run on. Default is 80.
Crystal-Clear Instructions
- Clone the repo.
- Change directory to the repo.
- Install the dependencies.
- Copy the example env file to the actual env file.
- Setup the env file.
- Run the app on whatever port you configured in the env file.
- Setup a DNS record on the domain you want to verify, pointing to the server you're running this on.
- Use the HTTPS verification method in Discord.
- Profit.
Why?
The DNS verification method is shit and doesn't work 80% of the time.