Skip to content

Instantly share code, notes, and snippets.

Last active January 24, 2024 01:17
Show Gist options
  • 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:"


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 -password=oauth:*** -nicks=TWITCH_NAME -username=TWITCH_NAME

connect and join

/connect twitch

save settings

write settings to files



exit channel


close WeeChat



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"

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)

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.

Copy link

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

Copy link

mikeful commented May 28, 2021

Connection host address has changed. Check current one from here

Copy link

tokudan commented May 31, 2021

Suggestion: port 6697 with an encrypted connection instead of plaintext

Copy link

moorebrb commented Sep 7, 2021


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