This is (1) a totally legit idea (2) achievable nearly out of the box with Ergo and Gamja!
Live on our production network: https://ergo.chat/gamja/
Gamja: https://sr.ht/~emersion/gamja/
The one clunky thing is that you have to register your nickname with our NickServ and then become "always-on": `/msg nickserv set always-on true`
Re:Ergo IRC Server
by danieloaks on Sunday September 12, 2021 @07:54PM
(#28506315)
Ah! So what we have right now is a websocket API (so clients can speak IRC via websockets), and our default config basically turns the ircd into a 'bouncer' (it automatically stays online all the time, caches message history, plays it to you when you join and all that).
We're looking at some new persistence capabilities and caps to speed up connection, which should (hopefully, eventually) provide something similar to that c2s bouncer api in terms of speed: https://github.com/ergochat/ergo/issues?q=is%3Aopen+is%3Aiss... Always up to take on and look at suggestions though :D
The place I was planning to diverge was to make a c2s bouncer api that could be used via http, so that mobile clients could work and stay logged in even when the app was backgrounded. That may still be possible with the bouncer protocol instead of http, but if you do it with http then you can make a js web client too, for a sort of self hosted irccloud.