Skip to content

Instantly share code, notes, and snippets.

@noromanba
Last active January 24, 2024 01:17
Show Gist options
  • Star 68 You must be signed in to star a gist
  • Fork 10 You must be signed in to fork a gist
  • Save noromanba/df3d975613713f60e6ae to your computer and use it in GitHub Desktop.
Save noromanba/df3d975613713f60e6ae to your computer and use it in GitHub Desktop.
How to join Twitch IRC w/ WeeChat

How to join Twitch IRC w/ WeeChat

WeeChat terminal IRC client

gen token

  1. acccess to "OAuth Password Generator"; semi-official service
  1. push "Connect to Twitch"
  2. copy oauth key
  • include "oauth:"
oauth:***

https://twitchapps.com/tmi/#access_token=***&scope=chat_login

reset/revoke

you must be keep "Twitch Chat OAuth Token Generator" connection

if you push "Disconnect", so IRC connection unavailable; you have to need re-generate new oAuth key for join IRC

add server

replace TWITCH_NAME to your lowercase Twitch Name

/server add twitch irc.twitch.tv/6667 -password=oauth:*** -nicks=TWITCH_NAME -username=TWITCH_NAME

https://www.reddit.com/r/Twitch/comments/2uqews/anybody_here_using_weechat/

connect and join

/connect twitch
/join #CHANNEL_NAME

save settings

write settings to files

/save

exit/close

exit channel

/part #CHANNEL_NAME

close WeeChat

/quit

buffer

below commands/key very convenience when join 2 or more channels

/buffer list

move buffer-ring

Ctrl + n , Ctrl + p

close buffer

push Tab completion BUFFER_NAME

/buffer close BUFFER_NAME

window split

vertical and horizontal split

/window splitv
/window splith

move window

F7 , F8

undo split

/window merge

set membership (optional)

use for normal IRC client; get user list et al.

/set irc.server.twitch.command "/quote CAP REQ :twitch.tv/membership"

http://fogelholk.io/twitch-irc-joinsparts-with-weechat/ https://ter0.net/enable-userlist-in-weechat-for-twitch-tv-irc/

@rawzone
Copy link

rawzone commented Sep 14, 2019

YAS! Forgot how to get the damn nicklist working on a fresh install of weechat - Thanks for having this here! (The damn command part)

@krinklefingers
Copy link

krinklefingers commented Apr 30, 2020

Will there ever be one of these with actual chat functionality? There is no reason why I shouldn't be able to chat. Why would anyone make something that only receives messages and doesn't allow replies? I makes sense if you are a streamer but not everyone is a streamer.
How, unbelievably, annoying.

@zekesulastin
Copy link

In case someone comes across this from Google, yes you can actually chat with this.

@mikeful
Copy link

mikeful commented May 28, 2021

Connection host address has changed. Check current one from here https://dev.twitch.tv/docs/irc/guide

@tokudan
Copy link

tokudan commented May 31, 2021

Suggestion: irc.chat.twitch.tv port 6697 with an encrypted connection instead of plaintext

@moorebrb
Copy link

moorebrb commented Sep 7, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment