Fixes #23 The pronouns field is an array of pronoun sets rather than the entire array representing one set. This follows MSC4247, and aligns with the way it's displayed in gomuks and Commet. For compatibility with gomuks, the value of `language` for each is set to "en". In the future this should be set manually or use the client language. Pronoun summaries are limited to 16 characters each, and truncated to that length if it is longer. When displayed as a string, or when it is set, they are comma separated. When they are displayed next to the username in a message, they're each in an individual pill, only showing the first 3. If more than 3 are there, an extra pill showing "..." is displayed. An optional `grammatical_gender` field now exists, however it is currently unused.
Sable
A Matrix client built to enhance the user experience with quality-of-life features, cosmetics, utilites, and sheer usability. See the changelog.
Join our matrix space here to discuss features, issues, or meowing.
Forked from Cinny.
Getting started
The web app is available at app.sable.moe and gets updated on frequently, as soon as a feature is deemed stable.
You can also download our desktop app for windows and linux from releases.
Self-hosting
To host Sable on your own, download this repo and built with nginx.
npm ci # Installs all dependencies
npm run build # Compiles the app into the dist/ directory
After that, you can copy the dist/ directory to your server and serve it.
-
The default homeservers and explore pages are defined in
config.json. -
You can also disable the account switcher in the config.json.
-
To deploy on subdirectory, you need to rebuild the app youself after updating the
basepath inbuild.config.ts.- For example, if you want to deploy on
https://sable.moe/app, then setbase: '/app'.
- For example, if you want to deploy on
Local development
Tip
We recommend using a version manager as versions change quickly. fnm is a great cross-platform option (Windows, macOS, and Linux). NVM on Windows and nvm on Linux/macOS are also good choices. Use the version defined in
.node-version.
Execute the following commands to start a development server:
npm ci # Installs all dependencies
npm start # Serve a development version
To build the app:
npm run build # Compiles the app into the dist/ directory