gamja/README.md

67 lines
1.4 KiB
Markdown
Raw Normal View History

2020-07-02 05:03:16 -04:00
# [gamja]
2020-04-25 06:40:15 -04:00
A bare-bones IRC web client.
2020-07-24 03:51:02 -04:00
![screenshot](https://l.sr.ht/7Npm.png)
2020-06-24 08:55:49 -04:00
## 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:
```ini
[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:
2020-06-24 08:55:49 -04:00
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.
2021-03-08 13:02:31 -05:00
## 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
2021-03-08 13:04:38 -05:00
Send patches on the [mailing list], report bugs on the [issue tracker]. Discuss
in #soju on Freenode.
2020-04-25 06:40:15 -04:00
## License
AGPLv3, see LICENSE.
2020-06-24 08:56:22 -04:00
Copyright (C) 2020 The gamja Contributors
2020-07-02 05:03:16 -04:00
[gamja]: https://sr.ht/~emersion/gamja/
[soju]: https://soju.im
[webircgateway]: https://github.com/kiwiirc/webircgateway
[mailing list]: https://lists.sr.ht/~emersion/public-inbox
[issue tracker]: https://todo.sr.ht/~emersion/gamja