Revolt client built with Preact.
Find a file
2024-06-19 18:16:30 +01:00
.github ci: synced local '.github/workflows/triage_pr.yml' with remote 'workflows/triage_pr.yml' 2024-03-28 13:37:37 +00:00
.vscode feat: add minimise to tray option 2022-05-10 12:26:57 +01:00
.yarn feat: "modernise" Docker image and use alpine 2022-04-29 16:17:31 +01:00
external feat: implement support for Subscribe event 2024-06-19 17:40:59 +01:00
public chore: add defaults 2022-05-07 15:42:00 +01:00
scripts docs: legacy release procedure 2024-03-13 23:41:54 +00:00
src fix: should always call subscribe 2024-06-19 18:16:30 +01:00
.babelrc feat: add sc minification + display class names 2022-01-14 18:51:03 +00:00
.dockerignore feat: "modernise" Docker image and use alpine 2022-04-29 16:17:31 +01:00
.env feat: implement support for Subscribe event 2024-06-19 17:40:59 +01:00
.env.build Remove stray console.log and update translations. 2021-09-09 22:39:17 +01:00
.env.production fix: should always call subscribe 2024-06-19 18:16:30 +01:00
.gitignore feat: new permissions menus 2022-04-22 21:06:12 +01:00
.gitmodules chore: add revolt.js as a submodule 2022-09-03 14:06:29 +01:00
.prettierignore feat(renderer): add additional languages to cb 2021-12-22 22:11:25 +00:00
.prettierrc.js chore: update and add new languages 2022-05-25 16:43:59 +01:00
.yarnrc.yml feat: "modernise" Docker image and use alpine 2022-04-29 16:17:31 +01:00
disabled-js.svg fix(login): finished new login screen 2021-12-25 19:48:48 +01:00
Dockerfile chore: update lang submodule; disable typechecking for docker build 2023-07-06 19:01:29 +01:00
index.html fix(iOS): actually fix context menus 2022-03-05 14:41:41 +00:00
LICENSE Changed name to lowercase. 2021-07-08 00:01:27 +02:00
package.json feat: raise katex limit to 512, upgrade dependencies 2023-06-18 10:22:01 +02:00
README.md fix: allow retrying sending files 2024-03-15 19:50:17 +00:00
tsconfig.json chore: resolve ts-to-JSX type hints 2023-08-25 18:44:57 +01:00
vite.config.ts chore: read version from package.json 2022-06-10 12:18:02 +01:00
yarn.lock feat: raise katex limit to 512, upgrade dependencies 2023-06-18 10:22:01 +02:00

Deprecation Notice

This project is deprecated, however it still may receive maintenance updates.

PRs for small fixes are more than welcome.

Deploying a new release

Ensure .env.local points to https://app.revolt.chat/api.

cd ~/deployments/revite
git pull
git submodule update

# check:
git status

export REVOLT_SAAS_BRANCH=revite/main
export REMOTE=root@production
scripts/publish.sh

# SSH in and restart revite:
ssh $REMOTE
tmux a -t 4

Revite

Description

This is the web client for Revolt, which is also available live at app.revolt.chat.

Pending Rewrite

The following code is pending a partial or full rewrite:

Stack

Submodule Hint

This project contains submodules. Run git submodule init after you clone this repository to initialize the submodules. It is also recommended to run git submodule update after you pull from upstream.

Resources

Revite

Revolt

Quick Start

Get revite up and running locally.

git clone --recursive https://github.com/revoltchat/revite
cd revite
yarn
yarn build:deps
yarn dev

You can now access the client at http://local.revolt.chat:3000.

CLI Commands

Command Description
yarn pull Setup assets required for Revite.
yarn dev Start the Revolt client in development mode.
yarn build Build the Revolt client.
yarn build:deps Build external dependencies.
yarn preview Start a local server with the built client.
yarn lint Run ESLint on the client.
yarn fmt Run Prettier on the client.
yarn typecheck Run TypeScript type checking on the client.
yarn start Start a local sirv server with built client.
yarn start:inject Inject a given API URL and start server.
yarn lint | egrep "no-literals" -B 1 Scan for untranslated strings.

License

Revite is licensed under the GNU Affero General Public License v3.0.