CLI that helps you with notifications for your favorite streamers on Twitch.tv.
Project description
Twiner
Twiner (Twitch Notifier) is a CLI tool designed to assist people with notification support for their favorite streamers, prioritizing simplicity and ease of use.
Features:
- Add a user from Twitch to the notification pool.
- Remove a user from the notification pool.
- Twitch credentials stuff made easy.
- Beautiful, pretty and fancy display.
Installation
It's possible to install twiner
via PyPI with pip as shown bellow:
pip install twiner
Usage
Try what is bellow to receive a general view of how twiner works:
twiner --help
Usage: twiner [OPTIONS] COMMAND [ARGS]...
๐ฎ Twiner CLI (Twitch Notifier)
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --version -v,-V Show the current version. โ
โ --install-completion Install completion for the current shell. โ
โ --show-completion Show completion for the current shell, to copy it or customize the installation. โ
โ --help Show this message and exit. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โญโ Commands โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ add Add a user to the notification pool. โ
โ configure Configure the Twitch Credentials. โ
โ init Init the config file (it will perform a redefining action through the config file, using it exclusively for the initial setup). โ
โ list List the config file fields. โ
โ refresh Refresh the user profile pictures. โ
โ remove Remove a user from the notification pool. โ
โ start Start the notification loop. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Examples
Let's suppose that you want to add your favorite stream to the notification pool. I'll exemplify that with mine (cellbit).
Firstly, you need to initialize the config file:
twiner init
After that, you need to enter your Twitch credentials for the API:
twiner configure
It will be requested your CLIENT_ID
and CLIENT_SECRET
via stdin (user input). How do you get those credentials?
Follow this: https://dev.twitch.tv/docs/authentication/register-app
Now you are able to add a Twitch user
twiner add cellbit
You also can remove that user:
twiner remove cellbit
To start the notification loop, you need to run:
twiner start
Extras:
You can list your entire config running:
twiner list
And you can refresh the user data (profile user image) running:
twiner refresh
The 'twiner refresh' above is supposed to update the profile images of your streamers added (if they updated them)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file twiner-0.4.1.tar.gz
.
File metadata
- Download URL: twiner-0.4.1.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.9.4-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d155c33bc07232aaf82beb3564e0b9235c8a5d72fae31cada318ce61e2fc5477 |
|
MD5 | 1388671fb81ebed64f4edcfeef057513 |
|
BLAKE2b-256 | 171b24e120442c42bec20505576a6f4cade9d578bccb72e0185a4b17288832b7 |
File details
Details for the file twiner-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: twiner-0.4.1-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.9.4-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08d55700eea3b2adf86efa6dd66f76763a5367dbd7199a7fbfc5a3cc2b195764 |
|
MD5 | b8335ba96b89690004b3c69ea84b5629 |
|
BLAKE2b-256 | be2a4db2dfc7b4b4fa07044529d421b3b87b7923484b57e1d34bc826a6f278d3 |