Sign inSign up

blake0192/plex-export

By blake0192

•Updated about 6 years ago

Export your Plex Library as an interactive HTML page for others to browse without authentication.

Image
1

10K+

blake0192/plex-export repository overview

⁠Summary

Docker container for my fork of plex-export⁠. Built on top of a php/apache container from Team WebDevOps⁠.

⁠Features

  • Refreshes data on a specified interval
  • Provides an overview of all media in each of your library sections
  • Images are lazy loaded as you scroll down
  • Live filtering within each section
  • View additional item information on click

⁠Usage

  • Create the docker-compose.yml:
    • version: "3.7"
      services:
          plex-export:
              image: blake0192/plex-export:latest
              container_name: plex-export
              hostname: plex-export
              restart: always
              ports:
              - "8080:80"
              security_opt:
              - no-new-privileges:true
              environment:
              - PLEX_URL=url_here
              - PLEX_TOKEN=token_here
              - PHP_DATE_TIMEZONE=America/Chicago
              - REFRESH_RATE=5m
      
  • Start the container: docker-compose -f docker-compose.yml up -d

⁠Environment Variables

VariableDefaultOptional
PLEX_URLblankNo
PLEX_TOKENblankNo
PLEX_SECTIONSallYes
PLEX_SORT_SKIP_WORDS""Yes
REFRESH_RATE60mYes
PHP_DATE_TIMEZONEAmerica/ChicagoYes
⁠PLEX_URL

It's recommended to use the internal URL in the format: http://Plex_Media_Server_IP:Port

PLEX_URL=http://192.168.1.100:32400
⁠PLEX_TOKEN

The token to authenticate Plex-Export with your Plex Media Server

⁠PLEX_SECTIONS

The Plex-libraries you want to display

E.g.: You have three libraries Movies, Tvshows and Videos, but you only want to display Movies and Tvshows.

PLEX_SECTIONS=Movies,Tvshows
⁠PLEX_SORT_SKIP_WORDS

If you want to leave out certain words like "the" or "a" when sorting the website.

PLEX_SORT_SKIP_WORDS=a,the
⁠REFRESH_RATE

Sets the interval on how often the plex data is refreshed. WARNING: Setting this option on a low value can cause strain on your server!

parameterExplanationExample
sseconds30s
mminutes5m
hhours3h
ddays2d
REFRESH_RATE=3h

Tag summary

Content type

Image

Digest

Size

707.1 MB

Last updated

about 6 years ago

docker pull blake0192/plex-export