Skip to content
desimaniac edited this page Aug 2, 2018 · 84 revisions

Intro

Nativefier is a cross-platform, Electron application (built on Chromium and Node.js), that allows you to turn any website into a native OS app. This way you can easily "open" and "close" your Cloudbox apps without the memory footprint of a typical internet browser.

Screenshots (macOS):

NPM

The following steps will guide you through setting up Nativefier on your PC to generate apps.

1. Setup Nativefier

  1. Install Node.js

  2. For macOS, install Xcode and ImageMagick [1]

    • Note: This is only needed for automatic website icon to app icon conversion. If you want to skip installing Xcode and ImageMagick, but still want to be able to customize the application icon, you can do so by; first, finding a transparent png of the application (e.g. google image search transparent png appname), and then, following directions on this page.
  3. Install Nativefier with this command:

    sudo npm install nativefier -g
    

2. Create Nativefier Desktop Apps

Basic Command

nativefier appname.domainname.com

Some Useful Options

  • Give it a name:

    --name "App Name"
    
  • Add Basic HTTP Authentication (replace yourusername and yourpassword with your login info:

    --basic-auth-username yourusername --basic-auth-password yourpassword
    

    Note:

    • If you plan to use this, set your apps to use HTTP Authentication (i.e. Basic or Browser popup) vs Forms/Login Page.
    • Apps that will need changing are: Sonarr, Radarr, NZBGet, NZBHydra, and PlexPy (TauTulli).
  • Disable dev tools:

    --disable-dev-tools
    
  • Force a specific icon (path/to/icon can be a local file path or a URL)

    --icon "path/to/icon"
    
  • Force a zoom at start:

    --zoom=<zoomlevel>
    

    Example:

    --zoom=0.8
    

    Note: You can also temporarily change the zoom levels with ctrl + and ctrl - in Windows or command + and command - in macOS.

  • In macOS, to completely quit out of the app when you close the window:

    --fast-quit
    

Some examples you can use:

nativefier --name "Sonarr" "https://sonarr.domain.com"
nativefier --name "Radarr" "https://sonarr.domain.com"
nativefier --name "PlexPy" "https://plexpy.domain.com/home"
nativefier --name "Jackett" "https://jackett.domain.com/Admin/Dashboard"
nativefier --name "Plex Requests" "https://plexrequests.domain.com"
nativefier --name "NZBGet" "https://nzbget.domain.com"
nativefier --name "NZBHydra" "https://nzbhydra.domain.com"
nativefier --name "ruTorrent" "https://rutorrent.domain.com"

Example for MacOS with HTTP authentication enabled

nativefier --name "Sonarr" --basic-auth-username myusername --basic-auth-password mypassword --fast-quit --disable-dev-tools "https://sonarr.domain.com"

Example for Windows with HTTP authentication enabled

nativefier --name "Sonarr" --basic-auth-username myusername --basic-auth-password mypassword --disable-dev-tools "https://sonarr.domain.com"

3. Move the Nativefier App

Copy the app (e.g. .app in MacOS, .exe in Windows) to your desktop or the applications location (i.e. Applications folder in MacOS, Start Menu in Windows)

Docker

You can also use the Docker image to create Nativefier binaries.

Docker Run Command

docker run  -v ~/:/target jiahaog/nativefier --name "APP NAME" --platform linux/windows/mac --arch x64 --disable-dev-tools --basic-auth-username USERNAME --basic-auth-password PASSWORD https://APP.domain.ltd /target/

Examples

NZBHydra2 on Windows

docker run  -v ~/:/target jiahaog/nativefier --name "NZBHydra2" -p windows -a x64 --disable-dev-tools --basic-auth-username myusername --basic-auth-password mypassword https://nzbhydra2.domain.com /target/

Ombi on Mac

docker run  -v ~/:/target jiahaog/nativefier --name "Ombi" -p mac -a x64 --disable-dev-tools --basic-auth-username myusername --basic-auth-password mypassword https://ombi.domain.com /target/

Basics

  1. Introduction
  2. Cloudbox Install Types
  3. Cloudbox Paths
  4. Accessing Cloudbox Apps

Prerequisites

  1. Overview
  2. Presumptions
  3. Server
  4. Domain Name
  5. Cloudflare
  6. Cloud Storage
  7. Plex / Emby - Account
  8. Usenet vs. BitTorrent

Install Cloudbox

Cloudbox
  1. Overview
  2. Dependencies (Choose only one of these)
  3. Settings
  4. Preinstall (Choose only one of these)
  5. SSH
  6. Ansible Vault
  7. Rclone
  8. Cloudbox (Choose only one of these)
  9. Application Setup
    1. NZBGet
    2. ruTorrent
    3. NZBHydra2
    4. Jackett
    5. Plex Media Server
    6. Plex Autoscan
    7. Sonarr
    8. Radarr
    9. Lidarr
    10. PlexPy (Tautulli)
    11. Ombi
    12. Portainer
    13. Organizr
  10. Next Steps

Install Feederbox / Mediabox

Feederbox (do this first)
  1. Overview
  2. Dependencies
  3. Settings
  4. Preinstall
  5. SSH
  6. Ansible Vault
  7. Rclone
  8. Feederbox (Choose only one of these)
  9. Application Setup
    1. NZBGet
    2. ruTorrent
    3. NZBHydra2
    4. Jackett
    5. Sonarr
    6. Radarr
    7. Lidarr
    8. Portainer
    9. Organizr
  10. Next Steps

Mediabox
  1. Overview
  2. Dependencies
  3. Settings
  4. Preinstall
  5. SSH
  6. Ansible Vault
  7. Rclone
  8. Mediabox (Choose only one of these)
  9. Application Setup
    1. Feeder Mount
    2. Plex Media Server
    3. Plex Autoscan
    4. PlexPy (Tautulli)
    5. Ombi
  10. Next Steps

Recommended Reading

Backup and Restore

More Information

Advanced Configuration

Experimental

Extras

Misc

Community-Submitted

See Community Wiki.

Reference

Troubleshooting

Links

Clone this wiki locally