Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/RoyXiang/plexproxy
https://github.com/RoyXiang/plexproxy
plex plex-media-server
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/RoyXiang/plexproxy
- Owner: RoyXiang
- Created: 2022-02-15T06:23:59.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-19T01:50:20.000Z (9 months ago)
- Last Synced: 2024-06-19T19:48:33.702Z (5 months ago)
- Topics: plex, plex-media-server
- Language: Go
- Homepage:
- Size: 258 KB
- Stars: 7
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Plex Proxy
`plexproxy` is a middleware runs before a [Plex Media Server](https://www.plex.tv/media-server-downloads/) which could increase
the performance of a low-end server.## Features
1. Traffic control by devices
2. Cross-device response caching by client type
3. Disable transcoding by forcing direct play/stream
4. Redirect web app to [official one](https://app.plex.tv/desktop)
5. [Plaxt](https://github.com/XanderStrike/goplaxt) integration## Prerequisites
1. Plex Media Server
2. Redis (Optional)## Install
Download from [Releases](https://github.com/RoyXiang/plexproxy/releases/latest), or build by yourself:
```sh
env CGO_ENABLED=0 go install -trimpath -ldflags="-s -w" github.com/RoyXiang/plexproxy@latest
```## Usage
1. 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](https://github.com/XanderStrike/goplaxt)
* Or, you can set it to [the official one](https://plaxt.astandke.com/)
- `PLEX_TOKEN` (Optional, if you need it, see [here](https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/))
- `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`)
2. Run the program