plexproxy
is a middleware runs before a Plex Media Server which could increase
the performance of a low-end server.
- Traffic control by devices
- Cross-device response caching by client type
- Disable transcoding by forcing direct play/stream
- Redirect web app to official one
- Plaxt integration
- Plex Media Server
- Redis (Optional)
Download from Releases, or build by yourself:
env CGO_ENABLED=0 go install -trimpath -ldflags="-s -w" github.com/RoyXiang/plexproxy@latest
- Configure environment variables in your preferred way
PLEX_BASEURL
(Required, e.g.http://127.0.0.1:32400
)PLAXT_URL
(Optional, e.g.https://plaxt.astandke.com/api?id=generate-your-own-silly
)PLEX_TOKEN
is required- Set it if you run an instance of Plaxt
- Or, you can set it to the official one
PLEX_TOKEN
(Optional, if you need it, see here)STATIC_CACHE_SIZE
(Optional, the cache size of static files, e.g. CSS files, images, default:1000
)STATIC_CACHE_TTL
(Optional, the cache TTL of static files, default:72h
)REDIRECT_WEB_APP
(Optional, default:true
)DISABLE_TRANSCODE
(Optional, default:true
)NO_REQUEST_LOGS
(Optional, default:false
)
- Run the program