| Crates.io | twitch-hunter |
| lib.rs | twitch-hunter |
| version | 0.5.0 |
| created_at | 2025-01-12 17:26:04.028178+00 |
| updated_at | 2025-08-16 06:37:26.849522+00 |
| description | A simple tool that looks for specific regex patterns in Twitch chat messages. |
| homepage | |
| repository | https://github.com/ayoubdya/twitch-hunter |
| max_upload_size | |
| id | 1513455 |
| size | 68,024 |
Twitch Hunter is a tool that connects to multiple Twitch IRC channels and looks for specific regex patterns in chat messages. It uses the Twitch Helix API to fetch streams from a specific category and then monitors the chat messages in those streams.
Using cargo:
cargo install twitch-hunter
Or build from source:
git clone https://github.com/ayoubdya/twitch-hunter.git
cd twitch-hunter
cargo build --release
twitch-hunter --client-id <CLIENT_ID> --access-token <ACCESS_TOKEN> --save --category-name "Rust" --filter "https://.+"
twitch-hunter --streams xqc,loltyler1 --filter 'KEKW'
Run the application:
Usage: twitch-hunter [OPTIONS] --filter <REGEX> <--category-name <CATEGORY_NAME>|--streams <STREAM1,STREAM2 ...>>
Options:
--client-id <CLIENT_ID>
--access-token <ACCESS_TOKEN>
-c, --category-name <CATEGORY_NAME>
-s, --streams <STREAM1,STREAM2 ...>
-b, --batch-size <BATCH_SIZE> [default: 100]
-f, --filter <REGEX>
--capture-only Only print regex captures, not the full message
--save Save credentials to file
-h, --help Print help
-V, --version Print version
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please open an issue or submit a pull request on GitHub.