ytfeed is a dead simple command line tool to fetch and display a list of recent videos from a set of specified YouTube users and/or channels. It does not require account registration or any other complications -- place a list of YouTube users in a text file, and you’re all set.

Here’s how ytfeed works:

  1. You create a ~/.ytfeedlist file with a list of users and channels you care about.

  2. You run ytfeed, and it prints the latest 15 videos belonging to those channels.

Why only 15? Because YouTube APIs only give you 15 latest videos per channel. To obrain more you need to use other APIs that require registration and API key management. Ain’t nobody got time for that.

How to

Make sure you have Python 2.7+ or 3.2+ installed; obtain ytfeed sources at [1], or directly via mercurial like this:

hg clone

Create ~/.ytfeedlist file. For each user you want to track, add a line that says user/<username>; for each channel add channels/<channelid>. You may leave blank lines and add comments beginning with # (particulary useful to track the names that correspond to channel IDs, which are otherwise random strings).

You can now run ytfeed script.


$ touch ~/.ytfeedlist
$ echo user/vihart                      >> ~/.ytfeedlist
$ echo user/bunnyhopshow                >> ~/.ytfeedlist
$ echo channel/UCjFqcJQXGZ6T6sxyFB-5i6A >> ~/.ytfeedlist
$ echo channel/UCyhnYIvIKK_--PiJXCMKxQQ >> ~/.ytfeedlist
$ ytfeed | tail -26
* Joel & Ethan Coen - Shot | Reverse Shot
  Every Frame a Painting == 31 day ago ==

* Should You Play: Factorio
  Joseph Anderson == 30 days ago ==

* Review: Far Cry Primal
  Super Bunnyhop == 23 days ago ==

* Dragon's Dogma
  Joseph Anderson == 18 days ago ==

* The First Levels of Sonic Games
  Super Bunnyhop == 16 days ago ==

* This Pi Day is Round
  Vihart == 13 days ago ==

* Examining the FBI's Counter-Terrorism Game
  Super Bunnyhop == 10 days ago ==

* Stardew Valley Review
  Joseph Anderson == 3 days ago ==

* Review: Salt & Sanctuary
  Super Bunnyhop == 3 days ago ==