A simple IRC web client
Find a file
2021-03-09 21:48:04 +01:00
components Display error popup on FAIL 2021-03-09 21:48:04 +01:00
lib lib/irc: escape/unescape everything in tags 2021-03-09 17:40:57 +01:00
.editorconfig Add .editorconfig 2020-07-22 14:51:37 +02:00
.gitignore Add dev server 2020-06-14 14:49:52 +02:00
commands.js Add help section for commands 2021-03-08 17:25:00 +01:00
index.html Make all resource paths relative 2021-03-02 22:46:48 +01:00
keybindings.js Make all resource paths relative 2021-03-02 22:46:48 +01:00
LICENSE Initial commit 2020-04-24 19:03:43 +02:00
package-lock.json Update preact 2021-01-12 16:04:49 +01:00
package.json Update preact 2021-01-12 16:04:49 +01:00
README.md readme: add IRC discussion channel 2021-03-08 19:04:38 +01:00
state.js Make all resource paths relative 2021-03-02 22:46:48 +01:00
style.css Move dialog submit buttons to the right 2021-03-09 19:08:16 +01:00

gamja

A bare-bones IRC web client.

screenshot

Usage

Requires an IRC WebSocket server.

First install dependencies:

npm install --production

soju

Add a WebSocket listener to soju, e.g. listen wss://127.0.0.1:8080.

Configure your reverse proxy to serve gamja files and proxy /socket to soju.

webircgateway

Setup webircgateway to serve gamja files:

[fileserving]
enabled = true
webroot = /path/to/gamja

Then connect to webircgateway and append ?server=/webirc/websocket/ to the URL.

Development server

Start your IRC WebSocket server, e.g. on port 8080. Then run:

npm install
npm start

This will start a development HTTP server for gamja. Connect to it and append ?server=ws://localhost:8080 to the URL.

Query parameters

gamja settings can be overridden using URL query parameters:

  • server: path or URL to the WebSocket server
  • channels: comma-separated list of channels to join

Contributing

Send patches on the mailing list, report bugs on the issue tracker. Discuss in #soju on Freenode.

License

AGPLv3, see LICENSE.

Copyright (C) 2020 The gamja Contributors