Auth and copy token at https://irc.gitter.im/.
Ignore the /PASS thing, it doesn't work in weechat.
/server add gitter irc.gitter.im -ssl -ssl_verify -ssl_dhkey_size=1024 -password=<REPLACE_WITH_YOUR_TOKEN>
/connect gitter
| <?php | |
| header('Access-Control-Allow-Origin: *'); | |
| header('Access-Control-Allow-Headers: Authorization'); | |
| if(isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'text/plain') !== false) { | |
| $format = 'text'; | |
| } else { | |
| header('Content-Type: application/json'); | |
| $format = 'json'; | |
| } |
Auth and copy token at https://irc.gitter.im/.
Ignore the /PASS thing, it doesn't work in weechat.
/server add gitter irc.gitter.im -ssl -ssl_verify -ssl_dhkey_size=1024 -password=<REPLACE_WITH_YOUR_TOKEN>
/connect gitter