invidget generates SVG renders of Discord invites that can be used in GitHub READMEs or even websites. These are a great way to increase conversions and get more people to join your server.
Base URL:
http://invidget.switchblade.xyz/YOUR_INVITE_CODE_OR_SERVER_ID
Notes
- When using an invite code, make sure that your invite is set to never expire, otherwise your widget will break after some time.
- When using a server ID, make sure to enable the Server Widget by going to Server Settings ⇒ Widget, checking Enable Server Widget and selecting an Invite Channel.
Preview
Dark theme (default)
?theme=light
Light theme
?language=pt
Different language
⚠ THIS PROJECT IS A WIP!
Setting up a development environment
- Clone this repo
npm install
- Run
npm run dev
to get the development server up - Access it through http://localhost:8080/
String guidelines
- Language codes should be in ISO 639-1 format
- Languages should be in alphabetical order in the .json
- If Discord supports the language you're adding, strings should perfectly match the ones on the client (capitalization too!)
- Check if your JSON is valid