Whatbox Logo
Login for certain variables to be updated with your slot's information

Wiki > Mylar

Mylar is an "application (built in python) that will allow you to organize, download and manage your existing digital comic collection."

A random port number between 10000 and 32767 is needed for Mylar. The port number 19478 has automatically been generated and will be used throughout this article, but can be changed if needed.

Installation

Custom installations of Mylar do not have authentication enabled by default! You must follow all of the installation instructions or Mylar will be publicly accessible, which may include full file system access
  1. Connect to your slot through SSH

  2. Download Mylar

     git clone https://github.com/mylar3/mylar3.git
    
  3. Install and activate a Python virtualenv

  4. Install Mylar's requirements in your Python virtualenv

     pip install -r ~/mylar3/requirements.txt
    
  5. Launch Mylar with your Python virtualenv. Keep SSH open while following the next steps.

     ~/virtualenv/bin/python ~/mylar3/Mylar.py -p 19478
    
  6. Immediately access Mylar at http://server.whatbox.ca:19478/config to start configuring Mylar correctly:

    Click the "Web Interface" tab.

    Fill in 19478 for the HTTP Port

    Change Authentication to Basic (Browser Popup)

    Enter your username and password you will use to log into Mylar

    Change the Comic Location to a location on your slot you want to store comics. For example, use /home/user/comics

    Click Save Changes

  7. In your SSH session, press Ctrl+C to shut down Mylar. This will take several seconds.

  8. Start Mylar in the background

     screen -dmS mylar ~/virtualenv/bin/python ~/mylar3/Mylar.py -p 19478
    

You can now log into Mylar at http://server.whatbox.ca:19478 and continue any configuration you want at http://server.whatbox.ca:19478/config , including download clients.

You should add Mylar as a custom app using port 19478 on your Manage Links page and use your managed link to access Mylar over HTTPS.