371994642d3d9b906057f8b9b797bc1b3ce526f0
Use navigate instead of resolver Original-merge: 2e4e4050cd4f8b0c8decb6092e5b06ceb3efd839 Merged-by: thornbill <thornbill@users.noreply.github.com> Backported-by: thornbill <thornbill@users.noreply.github.com>
Jellyfin Web
Part of the Jellyfin Project
Jellyfin Web is the frontend used for most of the clients available for end users, such as desktop browsers, Android, and iOS. We welcome all contributions and pull requests! If you have a larger feature in mind please open an issue so we can discuss the implementation before you start. Translations can be improved very easily from our Weblate instance. Look through the following graphic to see if your native language could use some work!
Build Process
Dependencies
- Node.js
- npm (included in Node.js)
Getting Started
-
Clone or download this repository.
git clone https://github.com/jellyfin/jellyfin-web.git cd jellyfin-web -
Install build dependencies in the project directory.
npm install -
Run the web client with webpack for local development.
npm start -
Build the client with sourcemaps available.
npm run build:development
Directory Structure
.
└── src
├── apps
│ ├── dashboard # Admin dashboard app layout and routes
│ ├── experimental # New experimental app layout and routes
│ └── stable # Classic (stable) app layout and routes
├── assets # Static assets
├── components # Higher order visual components and React components
├── controllers # Legacy page views and controllers 🧹
├── elements # Basic webcomponents and React wrappers 🧹
├── hooks # Custom React hooks
├── legacy # Polyfills for legacy browsers
├── libraries # Third party libraries 🧹
├── plugins # Client plugins
├── scripts # Random assortment of visual components and utilities 🐉
├── strings # Translation files
├── styles # Common app Sass stylesheets
├── themes # CSS themes
├── types # Common TypeScript interfaces/types
└── utils # Utility functions
- 🧹 — Needs cleanup
- 🐉 — Serious mess (Here be dragons)
Languages
JavaScript
44.6%
TypeScript
27.4%
SCSS
23.4%
HTML
4.5%