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 16858 has automatically been generated and will be used throughout this article, but can be changed if needed.
Installation
-
Connect to your slot through SSH
-
Download Mylar
git clone https://github.com/mylar3/mylar3.git
-
Install and activate a Python virtualenv
-
Install Mylar's requirements in your Python virtualenv
pip install -r ~/mylar3/requirements.txt
-
Launch Mylar with your Python virtualenv. Keep SSH open while following the next steps.
~/virtualenv/bin/python ~/mylar3/Mylar.py -p 16858
-
Immediately access Mylar at http://server.whatbox.ca:16858/config to start configuring Mylar correctly:
Click the "Web Interface" tab.
Fill in
16858
for theHTTP Port
Change
Authentication
toBasic (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
-
In your SSH session, press
Ctrl+C
to shut down Mylar. This will take several seconds. -
Start Mylar in the background
screen -dmS mylar ~/virtualenv/bin/python ~/mylar3/Mylar.py -p 16858
You can now log into Mylar at http://server.whatbox.ca:16858 and continue any configuration you want at http://server.whatbox.ca:16858/config , including download clients.
You should add Mylar as a custom app using port 16858 on your Manage Links page and use your managed link to access Mylar over HTTPS.