automagically view the most interesting PlayerUnknown's Battlegrounds streams on Twitch.
1.1K
pubgredzone takes the concept of the red zone in American football and applies it to the popular online battle royale game PLAYERUNKNOWN'S BATTLEGROUNDS. The idea is to always be viewing the most popular PUBG twitch stream with the least amount of people alive in-game.
You can run your own instance of pubgredzone either for local development or just pure entertainment. Ubuntu and macOS are the currently supported platforms.
The following pieces of software are required to run pubgredzone locally:
You can install these dependencies with one of the two following commands, depending on your os:
$ sudo apt-get install tesseract-ocr ffmpeg imagemagick
$ pip install livestreamer
$ brew install tesseract ffmpeg imagemagick
$ pip install livestreamer
$ git clone [email protected]:eggshell/pubgredzone.git
$ cd pubgredzone
$ npm install .
$ livestreamer --twitch-oauth-authenticate
A browser window will open, and prompt you to authorize livestreamer to use
your twitch account. Click Authorize.
Your browser will refresh, and a page saying "SORRY, this page does not exist
yet" will appear. Ignore this. In your address bar, there will be a callback
URL with access_token=<TOKEN>. This is your OAuth token, copy it down and
proceed to the next section.
$ export token="YOUR_OAUTH_TOKEN"
pubgredzone dir if you aren't there already, and start
the app: $ node app.js
Now you can open a browser and navigate to http://localhost:3000 to watch
pubgredzone.
You can also run pubgredzone in a docker container.
$ git clone [email protected]:eggshell/pubgredzone.git
$ export token="YOUR_OAUTH_TOKEN"
$ cd pubgredzone
$ docker build -t "pubgredzone:latest" --build-arg token=$token .
$ docker run pubgredzone
pubgredzone is currently licensed under the MIT LICENSE.
Content type
Image
Digest
Size
360 MB
Last updated
about 9 years ago
docker pull eggshell/pubgredzone