GithubHelp home page GithubHelp logo

ohhdemgirls / plexinthecloud Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 13.0 18 KB

Scripts to install & configure: Plex, nzbget, sickrage, couchpotato, mylar, with rclone crypt encrypted Amazon Drive backed cloud storage.

Shell 100.00%

plexinthecloud's Introduction

WHAT

Run Plex in the cloud. Use rclone crypt to mount and encrypt/decrypt your (unlimited) Amazon Drive storage on the fly.

These scripts will install and configure:

  • Plex
    • IP:32400/web
  • PlexPy
    • localhost:8181
  • PlexRequests
    • localhost:3000
  • NZBget
    • localhost:6789
  • SickRage
    • localhost:8081
  • CouchPotato
    • localhost:5050
  • nzbToMedia Post-Processing
  • rclone + crypt

Example Workflow

  • Systemd calls on rclone to mount your directories on boot
    • ~/LOCAL is where your local files are temporarily stored before being uploaded to Amazon
    • ~/AMZe is where rclone crypt mounts your Amazon Cloud Drive locally
      • rclone crypt encrypts/decrypts data on the fly so what you see locally is decrypted, but anything pushed to Amazon is encrypted first.
    • ~/ALL is a unionsfs-fuse overlay that 'combines' the contents of ~/LOCAL & ~/AMZe
  • Sickrage searches for a new TV episode and tells nzbGet to download it
  • nzbget downloads the show to ~/nzbget/completed/tv
  • nzbToMedia renames the file and moves it ~/LOCAL/tv
  • uploadTV.sh moves the file from ~/LOCAL/tv to your Amazon Web Drive
  • uploadTV.sh then tells Plex to update the library
  • Plex sees new content in ~/AMZe and your new files are available!

REQUIREMENTS

NOT-FREE

  • Amazon Cloud Drive account
    • Comes with a free 3-month trial, then $70/year for unlimited storage.
  • Ubuntu 16.04 with SSH access.
    • This guide uses the Linode 4GB, $20/month VPS plan.
  • newsgroup provider account
  • newsgroup search account

FREE

  • Free Plex Account
  • Free OpenSubtitles.com account
  • Local ssh key that you'll use to SSH in to your Ubuntu machine

HOW

  • SSH into your Ubuntu host as root
  • Git clone this repo
  • Copy vars.example to vars and modify as needed
  • Run bash scripts in order
    • Some steps still require manual input. In such cases the scripts will pause tell you what needs to be done and will wait for feedback before continuing.
    • (EXAMPLE: Enabling remote access for Plex requires manual steps. The script that installs Plex will pause, tell you what to do, and ask you to type "y" once you've completed the manual steps. Once you type "y" the script will continue on it's way.)

TODO

(see issues)

FAQ

Q: Why bash rather than Docker/Ansible/Saltstack/Chef/Puppet/your-personal-favorite-thing
A: I deal with all of that for work and I love those tools, but they do have a learning curve and I want this to be easy to approach, modify, and use.

Q: How can I use SSH port forwarding to access all the things?
A: Run the following command from your local machine and then open a browser and point to localhost:$PORT.
ssh $USERNAME@$IP -L 6789:localhost:6789 -L 8081:localhost:8081 -L 5050:localhost:5050 -L 8181:localhost:8181 -L 3000:localhost:3000

plexinthecloud's People

Contributors

chrisanthropic avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.