https://github.com/youhavetrouble/inviter
https://github.com/youhavetrouble/inviter
discord invites redirect
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/youhavetrouble/inviter
- Owner: YouHaveTrouble
- License: gpl-3.0
- Created: 2025-07-07T17:48:05.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2025-07-20T11:55:14.000Z (3 months ago)
- Last Synced: 2025-09-06T21:05:15.907Z (about 1 month ago)
- Topics: discord, invites, redirect
- Language: Java
- Homepage: https://inviter.yht.one
- Size: 69.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Inviter
Discord bot that allows users to set up personalized invite links for their servers and have rotating invite codes.
# Technical information
## Get invite
path: `/invite/{discordGuildId}`
method: `GET`behavior: Requesting this endpoint without headers will return bodyless redirect (307) response that directs to the
discord invite link if successful. Error screens will be shown if there's an error. You can use `Accept` header to get
the invite link in different formats for automation purposes.### Accepted headers
#### `Accept`
- `application/json` - Returns status 200 along with json object with `url` key that contains full discord invite link.
If response is not 200, json will contain `error` key with error message.
- `text/plain` - Returns status 200 along with plain text containing full discord invite link. Error responses will not have body.# Self-hosting
There's Dockerfile and docker-compose.yml in the repository, I'm sure you can figure it out.