lurp
anonymously connects to a Twitch channel of your choice
and outputs all chat messages to stdout
. Linux only.
- Install
libtwirc
See thelibtwirc
Wiki for installation instructions. - Clone
lurp
git clone https://github.com/domsson/lurp
- Run the
build
scriptcd lurp chmod +x build ./build
./lurp -c CHANNEL [options...]
Example:
./lurp -c "#esl_csgo" -t "[%H:%M:%S]" -ab -m 4bit
-c CHANNEL
: specify the channel to join; should start with#
and be all lower-case-b
: prefix usernames with@
or+
for mods or subs respectively (@
has precedence)-d
: use display names instead of user names where available-h
: print help text and exit-m MODE
: manually specify the color mode, see below-a
: Neatly align (left-pad) usernames and messages-r
: Use server-provided timestamp instead of local time-s
: print additional status information-t FORMAT
: specify a timestamp format; if-t
isn't given, no timestamp will be printed-v
: print version information and exit
lurp
makes an educated guess as to how many colors your terminal
supports and tries to make use of that. However, you can override this
by explicitly specifying the color mode yourself. The following options
are available:
mono
: monochrome, no colors2bit
: 8 colors4bit
: 16 colors8bit
: 256 colorstrue
: true color (RGB, 16777216 colors)
Currently, the color conversion algorithms used by lurp
are clumsy
at best and 4bit
mode actually seems to yield the most pleasent results.
On top of that, 4bit
seems to be pretty widely supported.