Mitra Web UI
  • Vue 74.3%
  • TypeScript 21.8%
  • SCSS 2.5%
  • JavaScript 0.8%
  • Shell 0.3%
  • Other 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-05-28 18:58:59 +00:00
icons Add manifest.json + multi-resolution general/maskable icons 2023-06-06 14:00:26 +02:00
public Add empty assets/custom.css to prevent error 404 2025-03-07 16:35:23 +00:00
scripts Update to Vite 5 2024-09-08 19:50:25 +00:00
src Don't navigate to post when clicking on quoted video in WebKit-based browsers 2025-05-28 18:58:59 +00:00
tests/unit Implement safer greentext parser 2025-03-17 11:44:21 +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 Don't navigate to post when clicking on quoted video in WebKit-based browsers 2025-05-28 18:58:59 +00:00
eslint.config.js Migrate to flat eslint config 2025-02-18 15:19:54 +00:00
index.html Add titles to all pages 2024-09-25 13:31:04 +00:00
LICENSE Initial commit 2021-11-29 21:18:53 +00:00
package-lock.json Bump version 2025-05-18 18:18:55 +00:00
package.json Bump version 2025-05-18 18:18:55 +00:00
README.md Recommend NodeJS 20+ 2025-04-17 07:58:50 +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 Inject custom CSS link tag at build time 2025-03-07 16:38:17 +00:00

Mitra Web

Default frontend for Mitra.

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

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

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.