Coder Social home page Coder Social logo

vidlist's Introduction

A simple command line program to subscribe to youtube channels and view thumbnail links of videos in a locally generated html page. No youtube/google account needed.

Setup

  1. Have Node.js installed (any version higher than 6 should be fine)
  2. Run command npm install -g vidlist and you are all set
    • To update to latest version anytime after installation, re-run above command
    • To uninstall, run npm uninstall -g vidlist
    • Unix may need sudo before commands
    • Windows may need running cmd as admistrator

Use

  • Run and see vl --help
  • Note: The program will run the same with the names: vidlist, vl or sub

Common Usages Example

Subscribe to a youtube channel:

vl https://www.youtube.com/watch?v=EeNiqKNtpAA

or

vl -s https://www.youtube.com/watch?v=EeNiqKNtpAA

Pull update from channel feed, show update progress, generate HTML and then open the HTML with your default browser:

vl -upgo

Generated HTML use

  • Clicking on thumbnail takes to full width video embed link
  • Clicking on video title takes to normal youtube video view link
  • Hovering over channel name shows time since video published
  • Hovering over video title shows video description text
  • Channel list and links will be on the bottom of the page

Want to start with my recommended list of channels ?

  1. Save this file somewhere on your computer.
  2. Run: vl --import <location name of the downloaded file>

Features

  • Fast
  • Doesn't need any google account/API key
  • Latest videos are always on top
  • Processings are done and data are all kept locally, nothing runs in the background
  • Generated HTML file contains no javascript
  • Basic validation and XSS protection are in place
  • It is easy to see where in the index.js to edit to change CSS to one's liking
  • Can easily add or remove channels from subscriptions
  • Can easily import or export subscription list as text (JSON) file

Changelog

  • 1.0.0
    • Identical to previous version 0.1.2, now following npm semantic versioning
  • 0.1.2
    • Fix bug that was causing channel name mismatch since 0.1.0
  • 0.1.1
    • --one multiple update status counter fix with -p
  • 0.1.0
    • Print status text on individual subscription
    • Open option will not wait for browser to close after opening the html on non-windows platforms if the open option was invoked when the default browser was not open already
    • Fixed channel name printing on console containing html entities
    • Added option to fetch updates from specific channel/s at a time
    • Fixed description text not being displayed properly on special characters
    • Fixed a minor wrongly ordered set of operations during subscribing
  • 0.0.9
    • Fixed html not opening in windows issue
  • 0.0.8
    • CSS changed
    • Channel name is now part of video tile instead of hover
    • Channel name hover displays relative time since video published
    • Fixed channel name escaping issue
    • Thumbnail embed link autoplays on click
    • Uses youtube.com instead of youtube-nocookie.com for embed link
  • 0.0.7
    • Prevent potential running of 'open' command until browser closes
  • 0.0.6
    • Minor progress/help texts fixes

Dependency Overview

NOTE: Nothing needs to be installed separately, the instruction in setup section above is all you need to install and use vidlist.

vidlist requires:

npm ls output:

├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│   ├─┬ [email protected]
│   │ ├─┬ [email protected]
│   │ │ └── [email protected] deduped
│   │ ├─┬ [email protected]
│   │ │ └── [email protected] deduped
│   │ ├── [email protected]
│   │ └─┬ [email protected]
│   │   └── [email protected] deduped
│   ├─┬ [email protected]
│   │ └── [email protected]
│   ├─┬ [email protected]
│   │ ├── [email protected]
│   │ └─┬ [email protected]
│   │   ├── [email protected]
│   │   └── [email protected]
│   ├─┬ [email protected]
│   │ ├─┬ [email protected]
│   │ │ ├── [email protected]
│   │ │ └── [email protected] deduped
│   │ ├── [email protected]
│   │ ├─┬ [email protected]
│   │ │ ├── [email protected]
│   │ │ ├── [email protected] deduped
│   │ │ ├── [email protected]
│   │ │ ├── [email protected]
│   │ │ ├── [email protected]
│   │ │ ├─┬ [email protected]
│   │ │ │ ├── [email protected]
│   │ │ │ ├─┬ [email protected]
│   │ │ │ │ └── [email protected]
│   │ │ │ └── [email protected] deduped
│   │ │ ├─┬ [email protected]
│   │ │ │ └── [email protected]
│   │ │ └─┬ [email protected]
│   │ │   └── [email protected] deduped
│   │ └── [email protected]
│   ├─┬ [email protected]
│   │ ├── [email protected]
│   │ ├── [email protected]
│   │ ├── [email protected]
│   │ └── [email protected]
│   ├─┬ [email protected]
│   │ ├── [email protected]
│   │ ├── [email protected]
│   │ ├── [email protected]
│   │ ├─┬ [email protected]
│   │ │ └── [email protected]
│   │ ├── [email protected]
│   │ ├── [email protected]
│   │ ├─┬ [email protected]
│   │ │ ├── [email protected]
│   │ │ ├── [email protected] deduped
│   │ │ └── [email protected] deduped
│   │ ├─┬ [email protected]
│   │ │ ├─┬ [email protected]
│   │ │ │ ├── [email protected]
│   │ │ │ └─┬ [email protected]
│   │ │ │   └── [email protected]
│   │ │ └── [email protected]
│   │ ├── [email protected] deduped
│   │ ├─┬ [email protected]
│   │ │ ├── [email protected]
│   │ │ ├─┬ [email protected]
│   │ │ │ ├── [email protected]
│   │ │ │ ├── [email protected]
│   │ │ │ ├── [email protected]
│   │ │ │ └─┬ [email protected]
│   │ │ │   ├── [email protected]
│   │ │ │   ├── [email protected] deduped
│   │ │ │   └── [email protected] deduped
│   │ │ └─┬ [email protected]
│   │ │   ├── [email protected]
│   │ │   ├── [email protected]
│   │ │   ├─┬ [email protected]
│   │ │   │ └── [email protected] deduped
│   │ │   ├─┬ [email protected]
│   │ │   │ └── [email protected]
│   │ │   ├─┬ [email protected]
│   │ │   │ └── [email protected] deduped
│   │ │   ├─┬ [email protected]
│   │ │   │ └── [email protected]
│   │ │   ├── [email protected]
│   │ │   └── [email protected]
│   │ ├── [email protected]
│   │ ├── [email protected]
│   │ ├── [email protected]
│   │ ├─┬ [email protected]
│   │ │ └── [email protected]
│   │ ├── [email protected]
│   │ ├── [email protected]
│   │ ├── [email protected]
│   │ ├── [email protected]
│   │ ├── [email protected]
│   │ ├─┬ [email protected]
│   │ │ └── [email protected]
│   │ ├─┬ [email protected]
│   │ │ └── [email protected] deduped
│   │ └── [email protected]
│   ├─┬ [email protected]
│   │ └─┬ [email protected]
│   │   ├── [email protected]
│   │   ├─┬ [email protected]
│   │   │ ├── [email protected] deduped
│   │   │ └── [email protected] deduped
│   │   ├── [email protected] deduped
│   │   ├─┬ [email protected]
│   │   │ └─┬ [email protected]
│   │   │   ├── [email protected]
│   │   │   └── [email protected]
│   │   ├── [email protected] deduped
│   │   └── [email protected]
│   ├── [email protected]
│   ├─┬ [email protected]
│   │ ├─┬ [email protected]
│   │ │ └── [email protected] deduped
│   │ ├─┬ [email protected]
│   │ │ ├── [email protected]
│   │ │ ├── [email protected] deduped
│   │ │ ├── [email protected] deduped
│   │ │ └── [email protected] deduped
│   │ └── [email protected]
│   └─┬ [email protected]
│     ├─┬ [email protected]
│     │ └── [email protected]
│     ├── [email protected] deduped
│     ├─┬ [email protected]
│     │ ├── [email protected] deduped
│     │ ├── [email protected] deduped
│     │ └── [email protected] deduped
│     ├─┬ [email protected]
│     │ └── [email protected]
│     ├─┬ [email protected]
│     │ ├── [email protected]
│     │ ├── [email protected] deduped
│     │ ├── [email protected]
│     │ ├── [email protected]
│     │ ├── [email protected] deduped
│     │ ├─┬ [email protected]
│     │ │ └── [email protected] deduped
│     │ └── [email protected]
│     ├── [email protected] deduped
│     ├── [email protected] deduped
│     └── [email protected]
├── [email protected]
└── [email protected]

This software was not produced by or directly for YouTube, LLC and has no affiliation with the LLC. Use this software only at your own volition.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

vidlist's People

Contributors

collindaugherty avatar dxwc avatar jgrasser avatar munissor avatar

Watchers

 avatar

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.