Lurker News
Run `ssh devzat.hackclub.com` to try it out! The repo is here: https://github.com/quackduck/devzat (golang). It has markdown and emoji support, DMs, channels, and it can show images too. You can send code, and it gets syntax highlighted (you can change the theme). You can ping people like so: @user and it sends them a \a, which should play an audible sound if the terminal allows it. There's inbuilt games and rainbow names and a lot of other small things I don't remember right now.

You might find the auth system interesting: it's based on a hash of ssh pubkey (bans use that and a hash of IP, so it isn't so easy to get around a ban)
Also an interesting issue: bots that go around trying to brute force ssh into random IPs with common usernames. My current solution is banning if rapid successive joins are detected.

Comments (147) 37 threads

quackduck1 reply#
idk if i wanna make this a TUI tbh, i've seen those libs before. I don't think they support output to an io.Writer / term.Terminal though
quackduck#
Wow yeah that is pretty cool
geoah#
Argh, yap that's the one thank you :D
netizen-936824#
+1 for charm bracelet, those libs are great. Plus the website is amazing
makeworld3 replies#
I just get "Permission denied (publickey)". The README says to just run ssh-keygen, but I already have an RSA key. Does this server only support ed25519 or something?
colbyhub#
Using the following helped me join: ssh devzat.hackclub.com -p 443

... to get around my firewall!

kerblang1 reply#
I think you are correct. Was able to get in by first doing `ssh-keygen -t ed25519` to create new private/public keys (be careful not to overwrite ssh keys that you are already using for other things!). RSA support is being phased out in various places.
ThePinion#
Just confirming that I had to do this first and it started working. It was originally giving me the Permission Denied (publickey) error.
hinkley1 reply#
This is your week to learn about .ssh/config files.
quackduck2 replies#
this is mostly a certain crypto lib's fault (maybe stdlib, let me check)
thefreeman1 reply#
it's a known gossh issue I believe

Continue this thread — 1 reply

hinkley#
Ugh. That’s not specific to one language either. Changing CA certs or enabling OCSP is often a case of configuring the same thing in several places or multiple libraries. Identity certs doubly so. If memory serves I spent more time on that than the rest combined.
0xbadcafebee4 replies#
> It's like discord but in the terminal, over SSH

so it's IRC?

quackduck1 reply#
idk, i didn't exist when IRC was the hip thing
0xbadcafebee2 replies#
You might wanna check it out. Things like code quotes and expand/collapse would be cool to add to an IRC client. I think some clients already support emoji as it's just UTF8?

It's common for IRC users to use IRC from a terminal client on their desktop. If they have a remote server they'll ssh into a box and use their terminal client there. They'd also use a screen session to keep their IRC client running 24/7 so they can keep receiving messages. Or they'll keep an eggdrop bot on a server somewhere, which is basically a sorta IRC proxy that they connect to from any IRC client and can keep their user online in the background.
Here's some stuff on IRC: https://github.com/ircdocs/modern-irc | https://ircv3.net/ | https://wiki.wireshark.org/IRC
Looks like there's some discord<->IRC gateways: https://github.com/sjwhitak/discord-irc-matrix https://github.com/qaisjp/go-discord-irc https://discordrc.com/
Here's some IRC stuff in Go: https://github.com/khlieng/dispatch https://github.com/ergochat/ergo https://github.com/go-irc/irc https://github.com/search?q=go+irc

quackduck#
Interesting. Btw, by support emoji I mean things like ":rocket:", ":fire:", etc do what they should: using emojis by copy pasting or using a system emoji picker gets tiring
haroldp#
Great post! Minor nit: eggdrop is an old bot written in TCL. People use "bouncers" like BNC and ZNC to proxy IRC through a shell to keep themselves connected, and other features.

I don't know why we keep reinventing IRC.

willis9361 reply#
IRC never used SSH.
walrus01#
not directly, no, but one of the most common ways to maintain a persistent IRC session is to ssh to a server somewhere (typically not on a residential or dynamic internet connection) and then run your CLI irc client like ircII, bitchx or irssi inside of a gnu screen session, or inside of tmux.
zozbot2342 replies#
More like a BBS partyline. IRC requires a custom client, not just a terminal connection.
0ld#
i had been using telnet for irc in the 90s a lot, it doesn’t really require any custom client
raspyberr#
You can do IRC just with nc.
josephd79#
IRC 4 Life...
quackduck1 reply#
Devzat will be temporarily down while I figure out some good auto-moderation
deutschew1 reply#
yeah it was a matter of time before people starting spamming
quackduck2 replies#
I would have expected some self selection: these are people from HN who know how to use SSH. Not exactly a high bar but implies some proficiency with software.
deutschew4 replies#
based on my past experiences of hiring and connecting with people from HN & YC

they've been some of the worst. I don't know what it is about this site that people place so much positive bias here.

Continue this thread — 4 replies

syntheweave#
What you actually select for with this particular requirement is misanthropic elitists who see new tech as something to break. A shame, isn't it?

Load more comments