Skip to main content

Self-hosting your web application

The web application is a simple Vite + React web application.

It can be hosted quite easily by any PaaS, such as Scalingo.

Requirements

  • Node.js >= 22
  • Yarn > 1.22

Environment variables

Here are the environment variables that are required to make the application work.

Environment variableDescriptionRequiredDefault value
VITE_API_URLThe API base URL
VITE_SENTRY_DSNThe Sentry DSN, if you want to report errors on Sentry

Building the application

# Clone the repository
git clone https://github.com/xanyah/desktop.git && cd desktop

# Install dependencies
yarn

# Build the static application
yarn build

Now, you can find a folder named dist containing all your assets to serve with a webserver.