A simple IRC web client
Find a file
2020-07-22 14:51:37 +02:00
components Add message URLs, unify URL generation 2020-07-15 18:47:33 +02:00
lib Fetch all unread messages on reconnect 2020-07-15 18:21:09 +02: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 Extract commands to separate file 2020-07-13 17:22:24 +02:00
index.html Add <noscript> message 2020-06-24 15:43:19 +02:00
LICENSE Initial commit 2020-04-24 19:03:43 +02:00
package-lock.json Linkify messages 2020-06-25 17:27:24 +02:00
package.json Linkify messages 2020-06-25 17:27:24 +02:00
README.md readme: add link to sr.ht hub project 2020-07-02 11:03:16 +02:00
state.js Use msgid in message URL if available 2020-07-21 14:48:04 +02:00
style.css Show offline user status 2020-07-13 12:55:39 +02:00

gamja

A bare-bones IRC web client.

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.

License

AGPLv3, see LICENSE.

Copyright (C) 2020 The gamja Contributors