config.json file is the main configuration file for Sable. It controls homeserver settings, featured communities, routing behavior, and various UI features.
Location
The config.json file should be placed in the root directory of your Sable installation, alongside the index.html file.Configuration Fields
Homeserver Settings
Index of the default homeserver from the
homeserverList array. Uses zero-based indexing.Array of homeserver domains that users can select from during login/registration.
Whether to allow users to enter custom homeserver URLs that are not in the predefined list.
Integration Settings
URL for Element Call integration. Set to
null to disable Element Call integration.Base URL for matrix.to links. Used for generating shareable links to Matrix rooms and users.
UI Settings
Disable the account switcher feature in the UI. When set to
true, users cannot switch between multiple accounts.Featured Communities
Configuration for featured spaces, rooms, and servers that appear in the explore/discover section.
Router Settings
Configuration for hash-based routing (using # in URLs).