A simple IRC web client
Find a file
2020-07-02 11:03:16 +02:00
components Allow paths in server URL query param 2020-07-01 12:25:57 +02:00
lib Remove outdated TODO 2020-07-02 11:02:29 +02:00
.gitignore Add dev server 2020-06-14 14:49:52 +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 Detect highlights 2020-06-29 11:08:47 +02:00
style.css Print IRC error messages in red 2020-06-29 14:29:31 +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