Mitra Web UI
vue
2026-01-10 09:14:36 +00:00
icons Add manifest.json + multi-resolution general/maskable icons 2023-06-06 14:00:26 +02:00
public Add --avatar-border-radius CSS variable for customization 2026-01-07 15:57:38 +00:00
scripts Update to Vite 5 2024-09-08 19:50:25 +00:00
src Fix comment 2026-01-10 09:14:36 +00:00
tests/unit Migrate to ESLint 9 2025-06-29 18:38:18 +00:00
.browserslistrc Initial commit 2021-11-29 21:18:53 +00:00
.editorconfig Initial commit 2021-11-29 21:18:53 +00:00
.env Build project with Vite instead of Vue CLI 2023-05-10 23:10:06 +00:00
.gitignore Add script for compressing static files 2023-08-18 01:29:23 +00:00
.npmrc Initial commit 2021-11-29 21:18:53 +00:00
.stylelintrc.json Update stylelint package 2025-02-25 00:13:42 +00:00
CHANGELOG.md Replace application version with hostname in OAuth client name 2026-01-10 08:57:44 +00:00
CONTRIBUTING.md Add CONTRIBUTING.md 2026-01-09 22:43:26 +00:00
eslint.config.js Migrate to ESLint 9 2025-06-29 18:38:18 +00:00
index.html Add robots=noindex meta tag to index.html 2025-08-04 00:16:24 +00:00
LICENSE Initial commit 2021-11-29 21:18:53 +00:00
package-lock.json Bump version 2026-01-07 15:57:28 +00:00
package.json Bump version 2026-01-07 15:57:28 +00:00
README.md Add CONTRIBUTING.md 2026-01-09 22:43:26 +00:00
screenshot.png Update screenshot 2024-11-24 17:36:26 +00:00
tsconfig.json Remove unnecessary options from tsconfig.json 2025-01-16 15:52:42 +00:00
vite.config.js Migrate to ESLint 9 2025-06-29 18:38:18 +00:00

Mitra Web

Default frontend for Mitra.

  • Supports all Mitra features.
  • Translated into 7+ languages.
  • Includes a dark mode feature for visual accessibility.
screenshot

Custom themes

The appearance can be customized by replacing assets/custom.css as described in documentation.

Compatibility

The latest version of Mitra Web UI is compatible with the latest version of Mitra server and the version before it.

Compatibility with previous versions is not guaranteed.

Requirements

  • node 20+
  • npm 7+

Project setup

npm install --no-save
npx allow-scripts

Compile and minify for production

Set backend URL:

echo "VITE_BACKEND_URL=https://mydomain.tld" > .env.local

Or un-set it if both frontend and backend will run on the same URL:

echo "VITE_BACKEND_URL=" > .env.local

Compile:

npm run build

This will produce a static website in the /dist directory.

Development

See CONTRIBUTING.md

Compiles and hot-reloads for development

npm start

Run your unit tests

npm run test

Lint files

npm run lint

Localization

Messages are stored in src/locales and can be edited using Weblate.