soju forked to be LESS SHIT
Go to file
Simon Ser 08bb06c164
Nuke user.lock
Split user.register into two functions, one to make sure the user is
authenticated, the other to send our current state. This allows to get
rid of data races by doing the second part in the user goroutine.

Closes: https://todo.sr.ht/~emersion/soju/22
2020-03-27 19:17:58 +01:00
cmd Rename project to soju 2020-03-13 18:13:03 +01:00
config Rename project to soju 2020-03-13 18:13:03 +01:00
.build.yml ci: add builds.sr.ht manifest 2020-03-18 10:28:58 +01:00
.gitignore gitignore: add soju.db and soju.1 2020-03-25 13:44:32 +01:00
bridge.go Add downstream TOPIC support 2020-03-26 22:27:46 +01:00
db.go Correctly set Channel.ID in DB.StoreChannel 2020-03-25 14:23:41 +01:00
downstream.go Nuke user.lock 2020-03-27 19:17:58 +01: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 upstream RPL_CREATIONTIME support 2020-03-26 22:33:44 +01:00
LICENSE Switch license to AGPLv3 2020-02-07 17:41:51 +01:00
Makefile Add basic Makefile 2020-03-19 15:11:43 +01:00
README.md Fix deadlocks in single-upstream mode 2020-03-20 10:42:17 +01:00
ring.go Add more details to ring buffer panics 2020-03-24 09:22:40 +01:00
schema.sql schema: add Network.name 2020-03-19 00:06:48 +01:00
server.go Add eventDownstreamDisconnected 2020-03-27 17:55:03 +01:00
service.go Add a "network status" command 2020-03-25 22:57:48 +01:00
soju.1.scd Add a "network status" command 2020-03-25 22:57:48 +01:00
upstream.go Introduce a user.events channel 2020-03-27 16:33:19 +01:00
user.go Nuke user.lock 2020-03-27 19:17:58 +01:00

soju

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

sqlite3 soju.db <schema.sql
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 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