1 unstable release

0.1.0 May 14, 2024

#923 in Network programming

Download history 120/week @ 2024-05-12 13/week @ 2024-05-19

133 downloads per month

Apache-2.0

67KB
1.5K SLoC

brainrot

A live chat interface for Twitch & YouTube written in Rust.

Features

  • Twitch
    • ⚡ Live IRC
    • 🔓 No authentication required
  • YouTube
    • 🏆 Receive chats in real time - first library to do so
    • ⚡ Low latency
    • ⏪ Supports VODs
    • 🔓 No authentication required

Usage

See examples/twitch.rs & examples/youtube.rs.

$ cargo run --example twitch -- sinder
Spartan_N1ck: Very Generous
luisfelipee23: GIGACHAD
wifi882: GIGACHAD
Arigreenzai: @thrillgamer2002 edennWave
notkenooooo: Im going to break into your house and toast all your bread then leave
buddy_boy_joe: @sharkboticus ah LOL fair enough sinder6Laugh sinder6Laugh sinder6Laugh
KateRosaline14: Merry Christmas
ThrillGamer2002: FirstTimeChatter
...

$ cargo run --example youtube -- "@FUWAMOCOch"
Konami Code: makes sense
Wicho4568🐾: thank you biboo
retro: Lol
GLC H 🪐: Thanks Biboo? :face-blue-smiling::FUWAhm:
Ar5eN Vines: lol
Jic: HAHAHA
Rukh 397: :FUWAhm:
PaakType: :FUWApat::MOCOpat::FUWApat::MOCOpat:
...

Dependencies

~4–21MB
~304K SLoC