Project

twitchy

0.0
No commit activity in last 3 years
No release in over 3 years
Twitchy provides for a system to query the TwitchAPI for use with livestreamer. List online channels, archived videos, and more.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.6
~> 2.4
 Project Readme

twitchy

A little Ruby wrapper around livestreamer

Documentation

Usage: twitchy [options] [channel ..]
    -p, --player PLAYER              Set video player
    -c, --chat                       Open popout chat with the stream
    -u, --user USER                  Show subs for a user
    -q, --quality QUALITY            Set desired quality
    -v, --videos                     List archives instead of streams
    -l, --limit LIMIT                Number to fetch at once
    -g, --game GAME                  Add top streamers for GAME
        --highlights                 Only show highlights when fetching videos
    -h, --help                       Show this message

Dependencies

Requires livestreamer (obviously), and currently the colorize and launchy gems.

Installation

gem install twitchy

Todo

I plan on gemifying this soon. Also, a lot of usage is unclear (pagination in archives, quality options, etc).

I have greatly reduced API requests from earlier versions, but I'm always keeping an eye out for ways to bring the number of those calls down further. There's a way to get all the videos from subscriptions of a user, but it requires authentication and isn't very flexible, for example, so right now I'm making calls for each requested channel.