An open API service indexing awesome lists of open source software.

https://github.com/meyskens/discord-invite-page


https://github.com/meyskens/discord-invite-page

Last synced: about 1 month ago
JSON representation

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)