Go to file
devfxx b716321dd3 sigh 2024-06-26 00:25:28 +00:00
src refactor: Changeable server port 2024-06-26 00:17:58 +00:00
.env.example refactor: Changeable server port 2024-06-26 00:17:58 +00:00
.gitignore chore: Add initial project files and dependencies 2024-06-26 00:03:43 +00:00
README.md sigh 2024-06-26 00:25:28 +00:00
bun.lockb chore: Add initial project files and dependencies 2024-06-26 00:03:43 +00:00
package.json chore: Add initial project files and dependencies 2024-06-26 00:03:43 +00:00
tsconfig.json chore: Add initial project files and dependencies 2024-06-26 00:03:43 +00:00

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.