Plex-Spot

iCON PlexSpot

This aims to be a simple & small application that serves as a public frontend for a Plex server.

It displays user and library statistics in a clean, intuitive interface.

Sometimes I am asked what is on my Plex server. This is my attempt at a set and forget solution.

Links: Dockerhub - ziadhorat/plex-spot Demo

DemoGif

🌟 Features

⚙️ Environment Variables

Creating a Plex API Token

Plex Guide - Step by Step - Getting Plex Token, Nimrod

🚀 Docker Run Command

If you prefer to run the container using docker run, use the following command:

docker run -d --name plex-spot \
  -p 8501:8501 \
  -e PLEX_API_TOKEN=your_plex_api_token_here \
  -e PLEX_SERVER_URL=http://localhost:32400 \
  -e DEBUG=False \
  ziadhorat/plex-spot

Open a web browser and navigate to http://container-ip:8501.

📊 Deploy with docker compose

Create a .env file:

# Plex Server URL
PLEX_SERVER_URL=http://localhost:32400
# Plex API Token - See README.md
PLEX_API_TOKEN=your_plex_api_token
# Dashboard settings
DASHBOARD_TITLE="PlexSpot"
DASHBOARD_ICON="https://cdn-icons-png.freepik.com/256/7664/7664156.png"

# Debug can be enabled below with True
DEBUG=False

Create a docker-compose.yml:

version: '3'
services:
  plex-spot:
    container_name: plex-spot
    image: ziadhorat/plex-spot
    ports:
      - "8501:8501"
    environment:
      - PLEX_API_TOKEN=${PLEX_API_TOKEN}
      - PLEX_SERVER_URL=${PLEX_SERVER_URL}
      - DASHBOARD_TITLE=${DASHBOARD_TITLE}
      - DASHBOARD_ICON=${DASHBOARD_ICON}
      - DEBUG=${DEBUG}

Run docker compose up -d.

Open a web browser and navigate to http://container-ip:8501.

📋 Notes

📌 Local development (docker compose)

1. Clone the repository

git clone https://github.com/ziadhorat/Plex-Spot.git
cd Plex-Spot/development

2. Create a .env file

Copy the .env.example to .env and fill in the necessary values

3. Build and run using Docker Compose

docker-compose up --build

4. Access the app

Open a web browser and navigate to http://localhost:8501.

📝 TODO

✨ Contributing

Feel free to submit issues, feature or pull requests. All contributions are welcome!

📜 License

This project is licensed under the MIT License. See the LICENSE file for details.