This is the monorepo for the Medley app, a work-in-progress, desktop client for the Revolt platform.
This app is made with:
- TypeScript
- Electron 37
- React.js v18
- React Router 7
- Redux/Redux Toolkit + Redux Saga
- Slate
- OverlayScrollbars
- Stitches + SCSS
Currently, the app provides basic funcionality for browsing user login with MFA support, browsing the user's servers, server channels and direct messages, there is an ongoing effort to bring complete funcionality to the application.
- Node.js 14.18.x or later
- pnpm 9.15.2
To run the application's electron app with the develeopment server, there are a few steps you need to take:
git submodule init
git submodule updatepnpm install
pnpm approve-builds # Allow electron to run post-install scriptsYou can just copy the contents of the existing .env.default
to .env in the root of the API package:
cp packages/api/.env.default packages/api/.envYou're gonna need to build 2 packages required to run the main app: ts-utils and api, both of these packages are located in this monorepo. To build each of them, you'll need to run the build command for each:
# Runs the build command in the ts-utils and api packages
pnpm build-depspnpm dev-appThe application does not possess a build process yet, however that should be rather trivial to implement since we're using Vite