Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Night Player

Night Player is a basic react/electron app to stream Twitch VODs and YouTube videos with a persistant state. The video list and position played in each video can be saved to a firebase database for use across multiple devices or a local browser database.

Features

  • Drag and drop to add new videos to the player list.
  • Hide duration of the video for watching spoiler free eSports.

Getting Started: Hosted

Access GitHub pages to run in your browser.

Getting Started: Self Hosted

Build the react application:

yarn build

Or build the electron application:

yarn package

Development

yarn start

Database

IndexedDB

Data is stored locally in your browser. No configuration is required.

Firebase

Data can be stored online using Firebase as the database driver so that application data is persistant across multiple browsers and devices.

Create a new Firebase application and configure Firestore.

  1. Copy the Firebase configuration variables in the application settings page.
  • Project Settings => General => Your Apps => Create a new Web App
  1. Configure Firestore to allow anonymous authentication.
  • Authentication => Get Started => Anonymous
  1. Configure Firestore rules to require authentication.
  • Firestore Database => Rules => Copy configuration from below => Publish.
rules_version = '2';
service cloud.firestore {
  match /databases/{database}/documents {
    match /{document=**} {
      allow read, write: if request.auth != null;
    }
  }
}

Licence

This project is licensed under MIT.

About

NightPlayer is a simple backend and Windows Application to stream and keep track of the position in YouTube Videos and Twitch VODs.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages