Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 514 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 514 Bytes

Movie Gating KeyServer

This server is used to gate access to a video.

  1. Call the /challenge endpoint to get a challenge
  2. Sign the challenge
  3. Call the /verify endpoint to verify the signature, and receive a stream token
  4. Call the /stream/:streamtoken endpoint to get the video, using the stream token received in step 3

Build and run:

  1. Create the .env file based on the .env.example file
  2. Replace the example movie in the /raw folder with your gated movie.
npm install
npm run dev