https://github.com/meyskens/discord-invite-page
https://github.com/meyskens/discord-invite-page
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/meyskens/discord-invite-page
- Owner: meyskens
- License: agpl-3.0
- Created: 2021-02-12T13:53:26.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-26T10:14:15.000Z (2 months ago)
- Last Synced: 2025-02-26T11:25:06.263Z (2 months ago)
- Language: Go
- Size: 217 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Discord Join Page
This is a small Go program to serve a webpage that will generate on-demand one use Discord invites.
It is inspired on the many Slack invite pages.The goal is to add an hCaptcha challange, Discord currently has a mix of hCapthca and reCaptcha themselves. This was designed to add an extra boundry before getting an invite link.
## Configuration
All configuration is done via envvvars
```
# A Discord Bot token
DISCORDJOINPAGE_TOKEN# Channel ID in the guild to join
DISCORDJOINPAGE_CHANNEL_ID# hCaptcha keys
DISCORDJOINPAGE_HCAPTCHA_SITE_KEY
DISCORDJOINPAGE_HCAPTCHA_SITE_SECRET
```# Using the official Docker image
We provide a prebuilt Docker image to use, you might however want to overwrite our WWW directory.
```bash
docker run \
-e DISCORDJOINPAGE_TOKEN= \
-e DISCORDJOINPAGE_CHANNEL_ID= \
-e DISCORDJOINPAGE_HCAPTCHA_SITE_KEY= \
-e DISCORDJOINPAGE_HCAPTCHA_SITE_SECRET= \
-v www:/go/src/github.com/meyskens/discord-join-page/www \ # override the website with your own template
ghcr.io/meyskens/discord-invite-page:v0.1.0
```## Real world examples
* [IT Factory Discord](https://discord.itf.to)