soju forked to be LESS SHIT
Go to file
Simon Ser 9df9880301 Add disable-inactive-user config option
This can be used to automatically disable users if they don't
actively use the bouncer for a while.
2023-01-26 19:42:29 +01:00
cmd Add disable-inactive-user config option 2023-01-26 19:42:29 +01:00
config Add disable-inactive-user config option 2023-01-26 19:42:29 +01:00
contrib Add a flag to disable users 2023-01-26 18:33:55 +01:00
database Add disable-inactive-user config option 2023-01-26 19:42:29 +01:00
doc Add disable-inactive-user config option 2023-01-26 19:42:29 +01:00
identd Move identd to separate package 2022-05-09 16:36:54 +02:00
msgstore Truncate message times to the second when using the FS message store 2022-11-28 17:54:13 +01:00
xirc xirc: Fix sending hostnames starting with ':' in WHO replies 2023-01-25 00:02:26 +01:00
.build.yml ci: switch to alpine/latest 2021-10-15 09:59:53 +02:00
.editorconfig Add .editorconfig 2020-11-30 11:39:41 +01:00
.gitignore doc: document "network delete" 2020-04-01 17:38:09 +02:00
certfp.go Split CertFP logic into separate file 2021-10-08 09:47:25 +02:00
config.in Rename "log" config directive to "message-store" 2022-05-09 16:41:41 +02:00
conn.go Upgrade to gopkg.in/irc.v4 2022-11-14 12:06:58 +01:00
downstream.go service: refactor downstreamConn to serviceContext 2023-01-18 15:12:33 +01:00
go.mod Upgrade dependencies 2022-11-22 14:55:52 +01:00
go.sum Upgrade dependencies 2022-11-22 14:55:52 +01:00
irc_test.go irc: add isHighlight tests 2022-02-25 11:31:41 +01:00
irc.go Add WHO cache 2022-12-01 15:50:33 +01:00
LICENSE Switch license to AGPLv3 2020-02-07 17:41:51 +01:00
Makefile makefile: switch to BSD/GNU make 2022-02-08 16:10:19 +01:00
net_go113.go go fmt: add go:build tags 2021-09-09 10:07:37 +02:00
net_go116.go go fmt: add go:build tags 2021-09-09 10:07:37 +02:00
rate.go Add exponential backoff when re-connecting to upstream 2021-12-02 12:14:35 +01:00
README.md Add build tag for modernc/sqlite driver 2022-09-26 19:31:43 +02:00
server_test.go Add a flag to disable users 2023-01-26 18:33:55 +01:00
server.go Add disable-inactive-user config option 2023-01-26 19:42:29 +01:00
service_test.go Hand-made word splitter for BouncerServ 2021-06-24 19:33:46 +02:00
service.go service: indicate which users are disabled in "user status" 2023-01-26 19:42:13 +01:00
upstream.go Implement TLS fingerprint pinning 2022-12-16 17:44:14 +01:00
user.go Add disable-inactive-user config option 2023-01-26 19:42:29 +01:00

soju

builds.sr.ht status

soju is a user-friendly IRC bouncer. soju connects to upstream IRC servers on behalf of the user to provide extra functionality. soju supports many features such as multiple users, numerous IRCv3 extensions, chat history playback and detached channels. It is well-suited for both small and large deployments.

Usage

Building and installing

Dependencies:

  • Go
  • BSD or GNU make
  • a C89 compiler (optional, for SQLite)
  • scdoc (optional, for man pages)

For end users, a Makefile is provided:

make
sudo make install

For development, you can use go run ./cmd/soju as usual.

To link with the system libsqlite3, set GOFLAGS="-tags=libsqlite3". To disable SQLite support, set GOFLAGS="-tags=nosqlite".

To use an alternative SQLite library that does not require CGO, set GOFLAGS="-tags=moderncsqlite".

Contributing

Send patches on the mailing list or on GitHub, report bugs on the issue tracker. Discuss in #soju on Libera Chat.

License

AGPLv3, see LICENSE.

Copyright (C) 2020 The soju Contributors