Skip to content

About

Unofficial implementation of mobile app for Ombi.

Resources

Stars

7 stars

Watchers

0 watching

Forks

Latest commit

 

History

232 Commits

Folders and files

Repository files navigation

Ombi-Mobile

Unofficial mobile PWA for Ombi

Note This is only a frontend for the Ombi app. We are not able to access your data in any way.

by @marvinvr

Installation

iOS

  1. Open the URL https://ombi-mobile.marvinvr.dev in Safari on iOS
  2. Tap the share icon on the bottom UI in Safari
  3. Click Add to Home Screen

Android

  1. Open the URL https://ombi-mobile.marvinvr.dev in Chrome on Android
  2. Tap Add to home screen
  3. Follow the onscreen instructions to install

App Setup

Enter the following credentials on the configuration page in the app

  • URL - The URL to your ombi instance (format: https://my.ombi-url.io without trailing slash)
  • Username - Your Ombi user email
  • Password - Your Ombi user password

DEV environment

Install Ionic (globally)

npm install -g @ionic/cli

Clone the repository

git clone https://github.com/marvinvr/ombi-mobile

Install dependencies

npm install

Start the project

ionic serve

Tests

One-time setup: npx playwright install chromium webkit (unit tests also use Playwright's Chromium, no local Chrome needed).

  • npm test – unit tests (Karma, headless Chromium): services via HttpTestingController, settings/credentials/JWT handling, utils and component logic.
  • npm run e2e – builds production into www/ and runs the Playwright suite in e2e/ against serve -s www (same as the Docker runtime) on an Android/Chromium and an iPhone/WebKit viewport. The Ombi API (and plex.tv, TMDB images, analytics) is fully mocked (e2e/support/ombi-mock.ts); any unmocked outbound request or any console error/warning fails a test.
  • Against a running instance, e.g. the Docker image:
    docker build -t ombi-mobile . && docker run --rm -p 3000:3000 ombi-mobile
    E2E_BASE_URL=http://localhost:3000 npx playwright test
    
  • Screenshot baselines live in e2e/__screenshots__/ (recorded on macOS; fonts differ on other OSes). After an intentional UI change: npx playwright test e2e/visual.spec.ts --update-snapshots.
  • npm run lint – ESLint (angular-eslint).

Self Hosting

Docker

Pull the official Docker image here https://hub.docker.com/r/marvinvr/ombi-mobile

  • HTTP Port 3000

Setting a predefined host for your users

A predefined host can be set in one of two ways:

#### Docker environment variable If you are using the Docker image, you can set the environment variable PREDEFINED_HOST to your Ombi URL (including (https | http)://). This will automatically set the host for your users.

Running the app from source

If you are running the app from source, you can set the host by creating the file 'src/assets/settings/predefined-host.txt' and adding your Ombi URL (including (https | http)://) to it. There is an example file in the same directory.

About

Unofficial implementation of mobile app for Ombi.

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages