Skip to content

Why is it cool? Because you don't have to move videos manually and you will be able to use convenient "Watch Later" button. Enjoy!

License

Notifications You must be signed in to change notification settings

firewut/watch-later

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube Watch Later Service

https://watchlater.chib.me runs this code to move videos from your watch later to a playlist named watch later.

Docker

Docker run command will be:

docker run -d \
-e DEFORMIO_PROJECT= <https://your_watchlater.deform.io> \
-e DEFORMIO_TOKEN= <your_deformio_access_token> \
-e HOSTNAME= <watchlater.example.com> \
-e HTTP_DOMAIN=https://watchlater.example.com \
-e OAUTH2_CLIENT_ID=<OAUTH2_CLIENT_ID> \
-e OAUTH2_CLIENT_SECRET=<OAUTH2_CLIENT_SECRET> \
-e OAUTH2_REDIRECT_URI=<https://watchlater.example.com/oauth2callback> \
-e OAUTH2_AUTH_URI=https://accounts.google.com/o/oauth2/auth \
-e OAUTH2_TOKEN_URI=https://accounts.google.com/o/oauth2/token \
-e TEMPLATES_DIR=/var/templates/ \
-e HASH_KEY=zQJXqb6FvgVCMkEuapxrZDtcyeUmiLYG7P \
-e BLOCK_KEY=TxKfiZhQHUkevwEjM2PaXcY9zubVFsop \
-p 80:9001 \
firewut/watchlater

All you need is to replace some variables.

  • HOSTNAME - for example: watchlater.example.com
  • HTTP_DOMAIN - for example: https://watchlater.example.com

Create or use existing google oauth2 credentials:

  • OAUTH2_CLIENT_ID
  • OAUTH2_CLIENT_SECRET
  • OAUTH2_REDIRECT_URI

You can also regenerate random values:

  • HASH_KEY - 34 letters
  • BLOCK_KEY - 32 letters

Last step is to register in https://deform.io:

  • DEFORMIO_PROJECT - project name. For example: watchlater.deform.io
  • DEFORMIO_TOKEN - token's id. You will need a token which has a permissions to write. Your First project Token will fit.

About

Why is it cool? Because you don't have to move videos manually and you will be able to use convenient "Watch Later" button. Enjoy!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published