Giter Site home page Giter Site logo

nyt's Introduction

nyt is short for No YouTube

Table of content

Introduction

nyt is program made for people who are finding themselves stuck at YouTube all the time, this will help them keep of YouTube and getting notified when their favorite channel uploaded, this includes downloading the video locally so that you don't get distracted by the recommendation system.

Why?

If one thing YouTube is really good at, it will be video recommendations system that keep you hooked on YouTube for hours without realising the amount of time you just wasted.

Install

You can install nyt using pip:

pip install git+https://github.com/ramsy0dev/nyt.git

You will also need ffmpeg for video and audio processing, for windows:

winget install ffmpeg

for Linux you can use your package manager:

  • Pacman:

sudo pacman -S ffmpeg
  • Debian based distros:

sudo apt install ffmpeg

How to Use?

You can start by adding the channels that you want to keep track of, for example let say you watch Linus tech tips alot, you can add it like so:

nyt track --channel-handle "LinusTechTips"

NOTE: we don't add '@' to the channel's handel.

After you are done adding them, you can start the watcher that will be running in loop checking for new videos, of course it has a delay with the default being 30 minute. You can start the watcher like so:

nyt watch

if you want debug mode enabled:

nyt watch --debug-mode

After nyt finds that one of the tracked channels has uploaded a video it will send a notification and then it will download the video locally to $HOME/.nyt/videos ($UserProfile\.nyt\videos for Windows) so that you can watch it without having to open YouTube.

Directories used by nyt

nyt creates a dir at $HOME/.nyt for linux, and $UserProfile\\.nyt for Windows. this directory is where it keeps the sqlite database and a subdir called videos for downloading the YouTube videos.

License

GPL-3.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.