Find a file
Simon Ser c709ebfc91
Add network update command
The user.updateNetwork function is a bit involved because we need to
make sure that the upstream connection is closed before re-connecting
(would otherwise cause "Nick already used" errors) and that the
downstream connections' state is kept in sync.

References: https://todo.sr.ht/~emersion/soju/17
2020-06-04 13:04:39 +02:00
cmd Allow to read password when stdin is not a tty. 2020-06-03 15:51:56 +02:00
config config: use shlex 2020-04-01 14:58:14 +02:00
doc Implement upstream SASL EXTERNAL support 2020-06-02 11:24:22 +02:00
.build.yml ci: add builds.sr.ht manifest 2020-03-18 10:28:58 +01:00
.gitignore doc: document "network delete" 2020-04-01 17:38:09 +02:00
bridge.go Add support for multiple user channel memberships 2020-05-11 12:25:49 +02:00
conn.go Close net.Conn in conn.Close 2020-06-04 12:18:51 +02:00
db.go Implement upstream SASL EXTERNAL support 2020-06-02 11:24:22 +02:00
downstream.go Implement upstream SASL EXTERNAL support 2020-06-02 11:24:22 +02:00
go.mod Remove some IRCv3 constants 2020-03-19 14:51:45 +01:00
go.sum Remove some IRCv3 constants 2020-03-19 14:51:45 +01:00
irc.go Add support for TAGMSG and client message tags 2020-05-27 23:48:08 +02:00
LICENSE Switch license to AGPLv3 2020-02-07 17:41:51 +01:00
logger.go Parse timestamp from message tags in messageLogger.Append 2020-04-08 10:19:33 +02:00
Makefile Move man page to doc/ 2020-03-27 19:23:41 +01:00
README.md readme: add CI badge 2020-05-01 21:58:29 +02:00
ring.go Remove Ring.consumers 2020-04-07 14:46:31 +02:00
server.go Introduce conn for common connection logic 2020-04-03 16:35:08 +02:00
service.go Add network update command 2020-06-04 13:04:39 +02:00
upstream.go Only send JOIN message if we have channels to join 2020-06-03 17:18:57 +02:00
user.go Add network update command 2020-06-04 13:04:39 +02:00

soju

builds.sr.ht status

A user-friendly IRC bouncer.

  • Multi-user
  • Support multiple clients for a single user, with proper backlog synchronization
  • Support connecting to multiple upstream servers via a single IRC connection to the bouncer

Usage

go run ./cmd/sojuctl create-user <username>
go run ./cmd/soju

Then connect with username <username>/chat.freenode.net and join #soju.

See the man page at doc/soju.1.scd for more information.

Contributing

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

License

AGPLv3, see LICENSE.

Copyright (C) 2020 Simon Ser