Skip to main content
The client configuration lives in client/config.js. Open this file and update the values to match your deployment. The options most commonly changed during self-hosting are documented below.

Full config structure

client/config.js

Options reference

object[]
required
Array of locale objects defining all languages available on the site. Each object has the following shape:Locale JSON files must exist in client/locales/ matching each code. See Localization for adding new languages.
To change the default locale, set default: true on the desired locale object (and remove it from the current default). You must also update the DEFAULT_LOCALE_CODE environment variable in .github/workflows/validate-locale-files.yml to avoid spurious GitHub Actions errors.
string
required
Invite URL for your Discord support server. Displayed in navigation menus, error pages, and other places throughout the site where users are directed to get help.
string
required
URL of your documentation site. Linked from the main navigation and various help prompts.
string
required
URL of your status page (e.g. a Better Stack or Instatus page). Displayed in the footer and error states.
string
required
URL of the embeddable status badge image for your status page. Rendered as an inline image in the footer.
string
required
Base URL of the backend API server. The client uses this for all API requests.The default config already handles the development vs production split:
Replace the production value with your own API domain. Use a domain name (not a bare IP address), and ensure both client and server domains are behind Cloudflare.
string
URL of the Rybbit Analytics script to load. If you are not using Rybbit, update or remove this value โ€” no other analytics providers are natively supported.
string
Your Rybbit site ID. Assigned when you create a site in the Rybbit dashboard.
string
Discord guild ID used for quickly inviting newly submitted bots during review. Set this to a guild you control for testing purposes.
string
required
Public invite URL for the discord.place bot itself. Shown in multiple places across the site wherever users are prompted to add the bot to their server.
string[]
required
List of custom hostnames that can be used as vanity profile URLs (e.g. dsc.lat/username). Update this list to the hostnames you control and have pointed at your deployment.
Each hostname in this list must be DNS-pointed to the same server that hosts the client, using a reverse proxy (e.g. nginx or Caddy) to route requests to the correct port. The serverโ€™s customHostnames in config.yml must contain the same list.