/invidget

SVG invite widgets that look just like the ones on the Discord client!

Primary LanguageJavaScriptMIT LicenseMIT



ci backers sponsors docker


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 SettingsWidget, checking Enable Server Widget and selecting an Invite Channel.

Preview

Dark theme (default)

Dark theme preview

Light theme ?theme=light

Light theme preview

Different language ?language=pt

Light theme preview

⚠ 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

Sponsors

Backers