Skip to content

Unofficial Revival project/client of the "Revite" version of Stoat.

License

Notifications You must be signed in to change notification settings

ReviteRevived/revite

Repository files navigation

Notice

This is an UNOFFICIAL continuation of Stoat's for-legacy-web client. Please bare with me while I backport features and update everything to work 100% perfectly.

The client itself is in a functional state. And, I am working on adding more of the "newer" features from the Stoat client into this legacy client. <3 (I'll update more of this readme later)

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.