News for hackers. Stuff that matters.
Re:Ergo Chat – A modern IRC server written in Go by donio on Tuesday December 17, 2024 @09:33PM (#42447622)
I've been running Ergo for the past year for my friends/family chat. I went this route because of the ease of hosting, very low resource requirements and a protocol and codebase that I feel I can understand and debug if needed.

The v3 chathistory support and the always-on[1] multi-client[2] features paired with modern clients (like Goguma) go a long way at providing a modern chat environment. Most others on the server don't even know that they are using IRC.

The built-in websocket support is another key feature for me since it lets me to provide a web client just by serving some static files (I use Gamja for this).

[1] always-on: https://github.com/ergochat/ergo/blob/master/docs/USERGUIDE....

[2] multiclient: https://github.com/ergochat/ergo/blob/master/docs/USERGUIDE....

Re:Ergo Chat – A modern IRC server written in Go by stackskipton on Tuesday December 17, 2024 @09:37PM (#42447646)
As heavy Discord user, it's nice to see that IRC is still kicking and might be available if/when Discord ZIRP gas runs out.
Re:Ergo Chat – A modern IRC server written in Go by arcanemachiner on Wednesday December 18, 2024 @03:49AM (#42449015)
Just think of all that information, stuck in the walled garden, away from the prying eyes of search engines or any other forms of public discoverability. Just waiting to get flushed down the drain or shoved into the training data of a future round of AI crapware...
Re:Ergo Chat – A modern IRC server written in Go by ycuser2 on Wednesday December 18, 2024 @03:55AM (#42449038)
IRC is also a walled garden.
Re:Ergo Chat – A modern IRC server written in Go by TonyTrapp on Wednesday December 18, 2024 @04:28AM (#42449152)
IRC is pretty much the opposite of the definition of a walled garden. Its content is not discoverable by search engines by default, but that is not the definition of a walled garden, which is typically a synonym for closed platforms where you have no choice how to access their content (e.g. being forced to use a specific client software).
Re:Ergo Chat – A modern IRC server written in Go by sandos on Wednesday December 18, 2024 @05:29AM (#42449425)
But in general IRC is not really archived etc? So just as throw-away as Discord imo.
Re:Ergo Chat – A modern IRC server written in Go by johnisgood on Wednesday December 18, 2024 @08:05AM (#42450124)
Lots of people log channels, and that is another discussion when you see yourself online. They usually mention it in the topic though that the channel is logged.
Re:Ergo Chat – A modern IRC server written in Go by dijit on Wednesday December 18, 2024 @07:40AM (#42449983)
Any single client can upload their logs, since it's "archived" in plaintext on every users PC.

You can also log from the server; using a multitude of modules; https://docs.inspircd.org/4/modules/log_syslog/ or https://docs.inspircd.org/4/modules/log_json/ if you're using inspircd.

Re:Ergo Chat – A modern IRC server written in Go by hombre_fatal on Wednesday December 18, 2024 @10:46AM (#42451399)
The point still stands. Regardless of how easy it might be to access logs, not a single popular Freenode (or otherwise) server I spent years chatting on has an archive online. It might as well have all taken place on Discord.

Turns out what matters isn’t how easy it is to access logs but whether anyone cares to do it.

Re:Ergo Chat – A modern IRC server written in Go by dijit on Wednesday December 18, 2024 @11:04AM (#42451633)
You sure? There are loads. Have you tried looking?

Heres an archive searcher for #bitfighter on freenode: https://bitfighter.org/irclogs/search.php

Re:Ergo Chat – A modern IRC server written in Go by hombre_fatal on Wednesday December 18, 2024 @01:28PM (#42453328)
That's the counter example?

A channel with one day logged in 2024, then nothing for two years, then nine days logged in 2022, five days logged in 2021, etc?

What about big tech channels like, say, nodejs and javascript?

Re:Ergo Chat – A modern IRC server written in Go by dijit on Wednesday December 18, 2024 @01:41PM (#42453463)
I’m not exactly sure why you think that matters. Everyone in those channels have logs that any program can read.

The point that I am making is that the capability and software exists, even for others to view, if you want. I mean: did you need an account or specialised client for these logs?

Thats the point.

Be the change you want to see if you want archives uploaded. Or, do what others do: grep your local files or znc logs.

Re:Ergo Chat – A modern IRC server written in Go by mbreese on Wednesday December 18, 2024 @01:42PM (#42453466)
Many years ago at $WORK we had an in house IRC server (pre-Slack). It was well archived and logs were easily searchable. It was a pretty easy setup.

And for IRC, I think this is a good compromise between "everything is public at all times" and "everything is walled off and private at all times".

If you want to have a log of your use, it's possible. If the org running the server wants a log, they can do that too. Is that possible with something like Discord?

Re:Ergo Chat – A modern IRC server written in Go by johannes1234321 on Wednesday December 18, 2024 @06:02AM (#42449546)
However on IRC this is not for technical reasons, but limited interest.

Pre-LLM-GenAI gathering information from huge chat logs was quite limited.

But different extraction mechanisms always existed. Some people kept logs, some servers/channels had web-archives.

Discord tries to keep it exclusive to them.

(Focussing on technical side here, whether it's socially wanted is a different big question, which ends with a "it depends")

Re:Ergo Chat – A modern IRC server written in Go by anthk on Wednesday December 18, 2024 @01:52PM (#42453555)

       grep/recoll. Fast even on ancient machines.
Re:Ergo Chat – A modern IRC server written in Go by johannes1234321 on Wednesday December 18, 2024 @02:08PM (#42453712)
That's nice for finding Keywords, but dismantling a chat discussion, which probably consists of many parallel threads in a channel, isn't easy.
Re:Ergo Chat – A modern IRC server written in Go by corobo on Wednesday December 18, 2024 @07:15AM (#42449870)
Being knowingly throwaway meant that any long term knowledge got turned into a blog post, documentation, a forum thread, or a search engine indexable logs-to-html site in the worst case.

With discord the message might get pinned if a mod thinks it was useful and remains undiscoverable for the majority of people

Re:Ergo Chat – A modern IRC server written in Go by thunky on Wednesday December 18, 2024 @01:35PM (#42453394)
> remains undiscoverable for the majority of people

IME it doesn't work very well. If you hang around a discord server long enough you see the same conversations happening over and over and over. And the app is not good at helping you finding old conversations (which is why they are repeated endlessly).

It's also very bad at resuming where you left off, so it's incredibly difficult to follow an active thread without missing anything:

https://www.reddit.com/r/discordapp/comments/18d4tiv/inexpli...

Re:Ergo Chat – A modern IRC server written in Go by tryauuum on Wednesday December 18, 2024 @05:08AM (#42449344)
Hm, for me the definition of the walled garden is "you have to have an account to see any discussions"
Re:Ergo Chat – A modern IRC server written in Go by fl0id on Wednesday December 18, 2024 @05:48AM (#42449488)
Which you don’t need for irc. Also pretty sure that’s not an accurate definition as you can be walked without needing an account technically.
Re:Ergo Chat – A modern IRC server written in Go by Klonoar on Thursday December 19, 2024 @02:10PM (#42464705)
This is notably not the definition from the thread you’re responding to, though.

So…

Re:Ergo Chat – A modern IRC server written in Go by boltzmann64 on Wednesday December 18, 2024 @05:52AM (#42449508)
It's not a website a search engine can crawl but anyone on the internet can log all the messages on IRC as long as they want without any restrictions. In fact if you are nice, you will never need to login and can have conversation for as long as you want with a guest login. It is not a walled garden.
Re:Ergo Chat – A modern IRC server written in Go by trollbridge on Wednesday December 18, 2024 @09:47AM (#42450817)
Search engines could crawl it if they wanted to.
Re:Ergo Chat – A modern IRC server written in Go by rendx on Wednesday December 18, 2024 @06:28AM (#42449661)
For me, a "walled garden" is also something controlled and regulated by a party I have no influence over. They can arbitrarily make and change rules and decide who to let in or not, which feature to drop, how the UX looks like etc.

IRC is an open, community protocol, and as such not a walled garden. Even if I'm not involved, which I could be, I trust the composition of people there much more than any single commercial actor. The power dynamics are fundamentally different.

A single instance (an IRC network) may be a "walled garden", in control of the group that runs it. The incentives are different. Also because people can simply migrate to another network given the open protocol (and different, third party clients; the API cannot be shut down like with Twitter/X). Historical example e.g. Freenode ownership change.

Re:Ergo Chat – A modern IRC server written in Go by blueflow on Wednesday December 18, 2024 @07:40AM (#42449981)
IRC is not "walled off" - open protocol, open servers, open clients.
Re:Ergo Chat – A modern IRC server written in Go by tomrod on Wednesday December 18, 2024 @08:34AM (#42450287)
A walled garden is a platform where auth is required to come in and user content is owned and stuck within.

IRC is not a walled garden. You will have a better time registering with Nickserv, but you can pull content and logs channels. So, more like a fenced meadow.

Re:Ergo Chat – A modern IRC server written in Go by yapyap on Wednesday December 18, 2024 @01:04PM (#42453078)
explain ur definition of walled garden please
Re:Ergo Chat – A modern IRC server written in Go by mmanfrin on Friday December 20, 2024 @11:48AM (#42472624)
I did not realize IRC chats were archived on search engines.
Re:Ergo Chat – A modern IRC server written in Go by kaamkiya on Wednesday December 18, 2024 @02:47PM (#42454224)
And if it's not, or you need something more secure, there's always Matrix.

https://matrix.org

Re:Ergo Chat – A modern IRC server written in Go by stackskipton on Wednesday December 18, 2024 @03:41PM (#42454906)
Ehhhh, Not a fan of Matrix but I haven't investigated it a ton. What I'm looking for probably doesn't exist.

Central Login Server hosted by Foundation of Chat Program and servers authenticate via OAuth2.

Central Login Server keeps track of which Servers identity is in and their endpoints so people don't lose track of servers.

Central Mobile Notification Service because mobile app notification is so important AND SO PAINFUL TO RUN.

Federation NOT required.

Re:Ergo Chat – A modern IRC server written in Go by Arathorn on Wednesday December 18, 2024 @04:49PM (#42455760)
fwiw Matrix does do this, although making the OIDC IdP track the right target homeserver might need a bit of config.
Re:Ergo Chat – A modern IRC server written in Go by kyawzazaw on Tuesday December 17, 2024 @10:06PM (#42447769)
your family and friends care enough to download and set this up?
Re:Ergo Chat – A modern IRC server written in Go by phillipseamore on Tuesday December 17, 2024 @10:36PM (#42447915)
The last line of OP: "The built-in websocket support is another key feature for me since it lets me to provide a web client just by serving some static files (I use Gamja for this)."

https://github.com/Libera-Chat/gamja

Re:Ergo Chat – A modern IRC server written in Go by donio on Wednesday December 18, 2024 @06:13AM (#42449600)
https://codeberg.org/emersion/gamja is probably what you want, the repo above seems like a local branch and it's a few months behind.
Re:Ergo Chat – A modern IRC server written in Go by crtasm on Tuesday December 17, 2024 @10:20PM (#42447835)
Isn't it just: install app, enter myserver.net and username+password ?
Re:Ergo Chat – A modern IRC server written in Go by kyawzazaw on Tuesday December 17, 2024 @10:31PM (#42447894)
yeah, this part itself. How easy it is to get them to do it?
Re:Ergo Chat – A modern IRC server written in Go by brabel on Wednesday December 18, 2024 @02:00AM (#42448628)
Any app that requires a login will be exactly the same? What's exactly your point? That people can't login to phone apps?
Re:Ergo Chat – A modern IRC server written in Go by Mashimo on Wednesday December 18, 2024 @02:58AM (#42448816)
> That people can't login to phone apps?

Probably that they don't bother to have another chat app just for a few people.

A older family member has WhatsUp and Signal and gets sometimes confused. I have WhatsUp, signal, telegram, discord, meta messenger and would be .. hesitant to install an IRC client for like 3 people.

Re:Ergo Chat – A modern IRC server written in Go by mavhc on Wednesday December 18, 2024 @07:21AM (#42449901)
Whatsapp wins because it doesn't require a username and password, that's too complex for many people
Re:Ergo Chat – A modern IRC server written in Go by prmoustache on Wednesday December 18, 2024 @10:37AM (#42451305)
> wins because it doesn't require a username and password

And lose because you can't give it to a kid that doesn't have a mobile phone number.

I have shared custody of my daughter and we communicate via xmpp on a tablet they carry over there when they spend a week at their mother's.

Re:Ergo Chat – A modern IRC server written in Go by mavhc on Wednesday December 18, 2024 @08:13PM (#42457313)
True, but I mean wins in a global "it's now the default platform for most people in the world" sense.
Re:Ergo Chat – A modern IRC server written in Go by Kiro on Wednesday December 18, 2024 @03:14AM (#42448876)
Yes. People install a handful of known apps and that's it. You would never convince any of my friends or family to install this. In fact, I wouldn't either.
Re:Ergo Chat – A modern IRC server written in Go by worldsayshi on Wednesday December 18, 2024 @09:29AM (#42450683)
The reason that most people don't want another chat app is not just because of the initial work. Every chat app adds a mental overhead for some activities.

Want to find that recipe that you remember that some person shared with you a while back? Now you have to look through four different apps.

And the overhead grows quite fast as you add apps.

Re:Ergo Chat – A modern IRC server written in Go by hombre_fatal on Wednesday December 18, 2024 @10:52AM (#42451465)
Your incredulous attitude is naive. Yes, people don’t want to have yet another increasingly niche chat app to communicate with just a few people.
Re:Ergo Chat – A modern IRC server written in Go by kyawzazaw on Wednesday December 18, 2024 @11:55PM (#42458538)
yeah, people definitely don't want to switch to use another app to chat. Is that too hard to understand?
Re:Ergo Chat – A modern IRC server written in Go by eddieroger on Tuesday December 17, 2024 @10:13PM (#42447799)
why would they need to download and setup a server? can't they just log in to OP's with the client of their choice?
Re:Ergo Chat – A modern IRC server written in Go by kyawzazaw on Tuesday December 17, 2024 @10:32PM (#42447899)
i am asking about download the client and even registering and entering a password
Re:Ergo Chat – A modern IRC server written in Go by donio on Wednesday December 18, 2024 @12:05AM (#42448249)
Yes, they just download the app and enter the server name, username and pw. It's a private server and I manage the accounts so there is no registration step. And they only need to worry about any of this when they get a new phone.
Re:Ergo Chat – A modern IRC server written in Go by scrapcode on Tuesday December 17, 2024 @11:07PM (#42448041)
Although I understand your point, and certainly have some friends that would feel like they're hacking the gibson connecting to an irc server, is Discord et. al really that much different?
Re:Ergo Chat – A modern IRC server written in Go by kyawzazaw on Wednesday December 18, 2024 @01:36AM (#42448538)
discord is totally different. I assure you they are not going to download Signal, Whatsapp. there is massive network effect involved and inertia

Even getting people to use a different messaging app (such as Facebook Messenger) already installed on their phones is difficult.

Re:Ergo Chat – A modern IRC server written in Go by mikepurvis on Wednesday December 18, 2024 @01:57AM (#42448614)
It’s an inertia issue. I already have iMessage, FB Messenger, WhatsApp, and Signal as “primary” messaging apps, plus Instagram and LinkedIn and Teams as secondary— my tolerance would be basically zero for installing something else to connect with a specific person or friend group.
Re:Ergo Chat – A modern IRC server written in Go by prmoustache on Wednesday December 18, 2024 @10:39AM (#42451326)
That is because you already have an absurd lots of them though.

I have whatsapp and conversations and that's it. I only use teams on my professional computer, you will never see me install "work" on my personal smartphone and nobody needs a linkedin app, the website is enough.

Re:Ergo Chat – A modern IRC server written in Go by mikepurvis on Wednesday December 18, 2024 @10:47AM (#42451408)
iMessage is needed for texting, Messenger for neighbours and FB Marketplace, WhatsApp for group chats, and Signal to have a non-meta option.

I agree about LinkedIn and will probably get rid of it; I mostly installed it as I was going to a conference and wanted the easy option for swapping contact details using camera codes.

Re:Ergo Chat – A modern IRC server written in Go by rollcat on Wednesday December 18, 2024 @08:54AM (#42450418)
My fam chat is currently on Telegram, but there recently (Durov's arrest) was a long discussion about that; everyone is actually interested in switching to something E2EE and/or self-hosted. But we want to keep the core features: share photos/videos, keep a history, 1-on-1 voice/video calls, etc. So the main alternatives are WhatsApp, and (distant second) Signal - the latter doesn't offer history for newly joining devices.

If self-hosting in general wasn't such a PITA, I'd probably research the options and set something up. But honestly, I'm burnt out with trying to maintain even the most basic setups. I have a Raspberry Pi with NixOS under my desk that hosts Miniflux over Tailscale, and I can forget it exists 99.7% of the time - until I accidentally unplug it, and 6 hours later, wonder wtf happened again.

Now multiply the problem by the average funny cat video size and crappiness of my residential uplink. Won't happen.

Re:Ergo Chat – A modern IRC server written in Go by dazed_confused on Wednesday December 18, 2024 @10:57AM (#42451553)
> Signal doesn't offer history for newly joining devices

This is a great feature for privacy though

Re:Ergo Chat – A modern IRC server written in Go by rollcat on Wednesday December 18, 2024 @11:38AM (#42452062)
This is not a feature, this is a limitation. It would've been a feature if Signal offered you a choice of whether the history should be synced up or not (perhaps with a default of "no" for existing users, to maintain the established expectation). As it is, this is a limitation.
Re:Ergo Chat – A modern IRC server written in Go by rekabis on Wednesday December 18, 2024 @12:56PM (#42452993)
In order for Signal to provide this history, said history would have to be stored on their servers, massively nerfing one of their core competitive advantages.

This “limitation” is the ultimate advantage from the perspective of Signal’s core competency.

Re:Ergo Chat – A modern IRC server written in Go by devjab on Wednesday December 18, 2024 @01:26PM (#42453298)
It could be saved on devices and supplied as needed from that device history. They wouldn’t need to keep it on their servers. I don’t think you can fault signal for not wanting to do that, but it also means signal is a terrible communications platform if you want that sort of thing.
Re:Ergo Chat – A modern IRC server written in Go by the_gipsy on Thursday December 19, 2024 @02:11AM (#42459176)
Exactly, matrix.org has this feature IIRC.
Re:Ergo Chat – A modern IRC server written in Go by rekabis on Monday December 23, 2024 @10:48AM (#42495220)
> It could be saved on devices and supplied as needed from that device history.

Then what if a new person joined the group convo? Do they have a right to see everything that everyone has said in that group convo, right back to the beginning? What if someone objects to sharing past conversations? What if sharing past conversations is a legitimate security concern to the group?

How does one filter out those past statements by someone who doesn’t want to share past statements? With security-state and foreign-state moles being a rather big issue in some groups, this is a legitimate rabbit’s hole that needs addressing. Some companies that standardize on Signal may not want any prior convos to become available to new entrants.

Personally, I see the lack of history to be a very real competitive advantage, and not any sort of a nerf.

Sure, your own history can be shared between installs on devices that you yourself own. But that is your chat history, meant for only you.

Re:Ergo Chat – A modern IRC server written in Go by kuschku on Wednesday December 18, 2024 @02:28PM (#42453960)
When you switch to a new phone, Signal can sync the history just fine.

When you add a new computer, Signal refuses to sync the history.

Re:Ergo Chat – A modern IRC server written in Go by stackghost on Wednesday December 18, 2024 @05:44PM (#42456323)
Does Signal, in fact, enjoy any competitive advantages?

Where I live (Canada) only a single person I know uses Signal. Everyone else is on Whatsapp and/or iMessage. As far as I am concerned, Signal is a wasteland.

I have received 400% more spam on Signal than I have received real messages.

Re:Ergo Chat – A modern IRC server written in Go by Suppafly on Tuesday December 17, 2024 @10:17PM (#42447823)
>(like Goguma)(I use Gamja for this).

Is everything related to potatoes lol?

Re:Ergo Chat – A modern IRC server written in Go by donio on Wednesday December 18, 2024 @12:13AM (#42448273)
Yep, both are by the same author (emersion) and there is definitely a running theme in the project names.
Re:Ergo Chat – A modern IRC server written in Go by nolist_policy on Wednesday December 18, 2024 @03:16AM (#42448880)
Interesting, does push notification work? Will phones receive messages and notify while sleeping?
Re:Ergo Chat – A modern IRC server written in Go by donio on Wednesday December 18, 2024 @05:40AM (#42449467)
This explains the notification options with Goguma, the mobile client we use: https://codeberg.org/emersion/goguma/src/branch/master/doc/n...

I didn't bother setting up proper push notification so we use the "Servers supporting chathistory" mode. This means that when the app is not in the foreground a workmanager task polls every few minutes. So in this mode notifications can be delayed by a few minutes which is fine for our use case.

Re:Ergo Chat – A modern IRC server written in Go by okasaki on Wednesday December 18, 2024 @04:54AM (#42449262)
I think ircd is the wrong layer to attach those features to.

You can run something like thelounge and have that on any server.

Re:Ergo Chat – A modern IRC server written in Go by qudat on Wednesday December 18, 2024 @08:43AM (#42450347)
I disagree. I run all comms for https://pico.sh through IRC on libera and people really struggle to onboard into IRC. People will pop-in ask a question, then leave because they arrive to a chat that is empty and didnt see any activity in 5mins and bounce.

We tried to offer a bouncer instance for users and even that had a barrier to entry because it requires creating 2 accounts: one for libera and one for pico.

I think about us switching to ergo every few months because I think the onboarding experience will be much nicer.

Logging into a channel for the first time and see the chat log will make people a lot more motivated to stay.

Re:Ergo Chat – A modern IRC server written in Go by superkuh on Wednesday December 18, 2024 @09:39AM (#42450764)
I agree. The reason IRC is so good is that it is mostly stateless and stores very little information beyond lists of IPs associated with each socket it's stuffing messages into.

Once a server starts hosting for people there are a huge set of problems and pressures. IRC is the text chat layer of the internet. It's not by itself, it's part of a larger network of open protocols. If you avail yourself to these it far exceeds the capabilities of even the most featureful walled corporate garden.

Re:Ergo Chat – A modern IRC server written in Go by skulk on Wednesday December 18, 2024 @03:43PM (#42454943)
You must have a truly mind-boggling amount of social capital to be able to switch your family/friends off of a mega platform like Discord or WhatsApp. Do you just onboard every single person who wants to talk to any of them also? Or do they see your system as "how to reach donio"
Re:Ergo Chat – A modern IRC server written in Go by donio on Wednesday December 18, 2024 @05:13PM (#42456041)
Nobody is on a single messaging platform these days they also use other stuff of course. They look at it as a simple way to reach this group of people.
Re:Ergo Chat – A modern IRC server written in Go by averageRoyalty on Wednesday December 18, 2024 @05:32PM (#42456197)
You'd be surprised how easy it is to move a group chat to a new platform. Often you'll need to run a couple through, but people expect to be on multiple platforms.
Re:Ergo Chat – A modern IRC server written in Go by avhception on Wednesday December 18, 2024 @04:09PM (#42455233)
I'm in the process of switching over from ngircd to ergo and have contributed a FreeBSD initscript to ergo.

My little IRC community has been going on for what must be more than 15 years now. There has been a noticeable slowdown this year. Maybe it will be the end of the line in a few years.

Nice to hear that at least there are others out there. I have vivid memories of the first time I connected my Nokia to a laptop and used mobile dialup-internet from the passenger seat of a car to connect to the IRC server while going down the Autobahn. Mobile internet was unheard of at the time, so it was totally exciting!