Skip to main content

twitchez

The famous HACKERMANS twitch.tv emote

PyPI - Status PyPI PyPI - License PyPI - Downloads

twitchez - TUI client for twitch.tv with thumbnails support that works right in your terminal.

Support of rendering images by the terminal is not required, ueberzugpp will handle that.
You may ask -- "Is this magic?" -- Well YES, the black magic! Welcome to the club!

Since v0.0.7 twitchez supports ueberzugpp -- this expands list of supported platforms:
linux / macOS / windows / freeBSD / X11 / Wayland / any terminal with SIXEL support e.g. WezTerm

Leave a star to show interest in further development of the project ⭐️

CLICK TO WATCH DEMO VIDEO

Features

  • Explore twitch without leaving your terminal
  • Flexible configuration via user config (including custom cmd)
  • Completely keyboard driven workflow
    • Zero mouse interaction. F1 / ? for help about key mappings
    • Redefine keys and hint chars for your keyboard layout
    • Link hints similar as in (Vimium, Surfingkeys, etc.)
    • Interactive select of one entry from all (fzf, dmenu, or any other program via custom cmd)
  • Bookmarks & Tabs (add, delete, next/prev, jump to tab by name)
    • Following live channels
    • Streams per category
    • Videos per channel (archive/past broadcasts, clips, highlights, uploads)
  • Open video/stream url in external video player (streamlink, mpv, or any other program via custom cmd)
    • Three independent user cmd and keys to open url as (stream, video, extra)
    • Copy url to clipboard
    • Open chat url in default browser or via custom cmd
  • Thumbnails are drawn by the ueberzugpp (optional dependency)

Configuration

Look inside twitchez/config/ dir to see all available settings, those are defaults.
Do not change default config files, create new in the user config dir: config.conf, keys.conf.
The default user config dir is $XDG_CONFIG_HOME/twitchez/, or $HOME/.config/twitchez/ by default.
Settings from default config files are used as fallback for settings you haven't changed in your user config.

Install

Pip

Install twitchez via pip into user-wide environment:

$ pip3 install --user twitchez

or system-wide environment:

# pip3 install twitchez

To update, add the --upgrade or -U option.

Install ueberzugpp to display thumbnails (Optional)

If ueberzugpp is not installed text mode without thumbnails will be used.

You also can build from source and install build dir e.g. # sudo cmake --install build

Troubleshooting

If you installed ueberzugpp but still not see thumbnails:
  • override default ueberzugpp output via twitchez user config (check default.conf it has example)
  • check available output options in ueberzugpp via $ ueberzugpp layer --help
  • x11 and/or wayland (may not be available if disabled in compilation) -- build ueberzugpp from source
  • if you want to draw via e.g. sixel, make sure that your terminal have such capability
  • WezTerm has sixel support, try to launch twitchez in it
If thumbnails partially overlap underlying text (it is very font dependent):
  • set width/height modifier in user config
  • adjust your terminal font size by +1 etc
  • try different terminal font

License

GPL-3.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

twitchez-0.1.0.tar.gz (52.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

twitchez-0.1.0-py3-none-any.whl (57.8 kB view details)

Uploaded Python 3

File details

Details for the file twitchez-0.1.0.tar.gz.

File metadata

  • Download URL: twitchez-0.1.0.tar.gz
  • Upload date:
  • Size: 52.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for twitchez-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5ad1d5c9a54654e412a2e3ddd926eaba54586fd5312178d2426dbec8fe887b86
MD5 1e9ee2e2ee7b74fdd856f5b92549084e
BLAKE2b-256 425c70929cab9e505d3b92f8c31cc31e0f0225f235ff050936c2bd1a89ee9cb1

See more details on using hashes here.

File details

Details for the file twitchez-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: twitchez-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 57.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for twitchez-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03395321632b5dcab72f478c83878b41e04b76c539c18247f566cb278ee0c92e
MD5 b90064826457174e21fbb574c17eaf2c
BLAKE2b-256 b6285cc56d43db2d666b7f8b4c79198c7d392a50bc6887cb8b7e54ab8e1a6596

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

0.0.7

2 files

0.0.7rc1

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1a1

2 files

0.0.1a0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page