TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: I made Devzat – It's like Discord but in the terminal, over SSH

391 pointsby quackduckabout 3 years ago
Run `ssh devzat.hackclub.com` to try it out! The repo is here: https:&#x2F;&#x2F;github.com&#x2F;quackduck&#x2F;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&#x27;s inbuilt games and rainbow names and a lot of other small things I don&#x27;t remember right now.<p>You might find the auth system interesting: it&#x27;s based on a hash of ssh pubkey (bans use that and a hash of IP, so it isn&#x27;t so easy to get around a ban)<p>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.

37 comments

geoahabout 3 years ago
Love the fact that there are currently more people on the server than likes on this post :D<p>You might wanna take a look at <a href="https:&#x2F;&#x2F;github.com&#x2F;charmbracelet&#x2F;bubbletea" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;charmbracelet&#x2F;bubbletea</a> ad specifically <a href="https:&#x2F;&#x2F;github.com&#x2F;charmbracelet&#x2F;soft-serve" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;charmbracelet&#x2F;soft-serve</a> for v2.<p>IRC style commands that are only sent to the sender would also be nice as current version is a bit spammy with help and user commands.
评论 #30726974 未加载
评论 #30692682 未加载
makeworldabout 3 years ago
I just get &quot;Permission denied (publickey)&quot;. The README says to just run ssh-keygen, but I already have an RSA key. Does this server only support ed25519 or something?
评论 #30691345 未加载
评论 #30692738 未加载
评论 #30691436 未加载
0xbadcafebeeabout 3 years ago
&gt; It&#x27;s like discord but in the terminal, over SSH<p>so it&#x27;s IRC?
评论 #30692688 未加载
评论 #30696658 未加载
评论 #30710557 未加载
评论 #30692956 未加载
quackduckabout 3 years ago
Devzat will be temporarily down while I figure out some good auto-moderation
评论 #30694972 未加载
anfogoatabout 3 years ago
Really like this, great work! For those who aren&#x27;t aware, there are more of these: ssh-chat[0][1] and sshtalk[2].<p>[0]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8828543" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8828543</a><p>[1]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8743374" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8743374</a><p>[2]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15829206" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15829206</a>
ravabout 3 years ago
After living through Google Chat going down while handling a server incident at work, I created an internal, encrypted chat system in order to have an alternative in case our regular communications channel is down.<p>However the actual chat part of it is very barebones with a simplistic JSON-based protocol and a simplistic IRC-like interface - quite unlike devzat.<p>I wonder how hard it would be to untangle the authentication and transport bits from devzat and plug in our own proprietary auth&#x2F;transport.
评论 #30692619 未加载
评论 #30693488 未加载
exabrialabout 3 years ago
make sure one&#x27;s ssh-agent forwarding is off when connecting to strange hosts :)
评论 #30698424 未加载
评论 #30693777 未加载
leowoo91about 3 years ago
Did you know you are exposing your identity for each &quot;permission denied&quot; error? SSH repeatedly tries all of your public keys to authenticate. Someone was able to harvest that and figure multiple github profiles of the client in past.
评论 #30699445 未加载
评论 #30695997 未加载
评论 #30697305 未加载
quackduckabout 3 years ago
Holy crap, moderation is hard.
评论 #30698703 未加载
gzer0about 3 years ago
I&#x27;m in the terminal &#x2F; chat right now. This is giving me major 90&#x27;s nostalgia! Incredible.
评论 #30694056 未加载
评论 #30700779 未加载
hdb2about 3 years ago
I really dig this, but if I issue a command like cd, the output should only be showed to the person who issued the command.<p>but this is really fun! nice job!
评论 #30692709 未加载
boxingrockabout 3 years ago
i knew the name looked familiar... there&#x27;s already a hackthebox out for it: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=QEgtbzS1Pyc" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=QEgtbzS1Pyc</a>
评论 #30692695 未加载
nog0x7cdabout 3 years ago
Looks cool, joined and made friends with a french dude. Totally forgot how cool irc-like minimalism can be sometimes.
评论 #30692645 未加载
bovermyerabout 3 years ago
I like it. A few observations:<p>* Hangman doesn&#x27;t give you credit for all instances of a letter when you guess it<p>* Starting a new game of hangman (maybe also TTT?) interrupts&#x2F;erases the previous one, if there&#x27;s one in progress<p>* Images can be anything and aren&#x27;t filtered - troll users could present some nasty stuff<p>* User settings don&#x27;t persist (e.g., nickname)
评论 #30692790 未加载
评论 #30691371 未加载
quackduckabout 3 years ago
Okay auto-moderation seems to be working surprisingly well! Related commit: <a href="https:&#x2F;&#x2F;github.com&#x2F;quackduck&#x2F;devzat&#x2F;commit&#x2F;866c33a7d24b43f269fa5c1049d335e802b5bfe2" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;quackduck&#x2F;devzat&#x2F;commit&#x2F;866c33a7d24b43f26...</a>
a1445c8babout 3 years ago
TIP: If you want to be truly anonymous, don’t use the same identity file that you use to ID yourself with Github since the latter publishes your pubkey in <a href="https:&#x2F;&#x2F;github.com&#x2F;&lt;username&gt;.keys" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;&lt;username&gt;.keys</a>
jawngeeabout 3 years ago
Back in the mid 90&#x27;s, I used to hang out on what was called vrave, a telnet based chat hosted at hyperreal.org (Apache&#x27;s&#x27; Brian Behlendorf&#x27;s rave archive&#x2F;culture site).<p>This is definitely making me nostalgic for it.
评论 #30695055 未加载
评论 #30693517 未加载
评论 #30693655 未加载
wingerlangabout 3 years ago
Isn&#x27;t the only thing this has in common with Discord.. text chat?<p>That&#x27;s the LEAST interesting part about Discord, and it&#x27;s basically just table stakes for a chat service.
评论 #30695989 未加载
heyitsguayabout 3 years ago
Is this working now? I logged on and can&#x27;t do anything and nothing seems to be happening, i just get a snippet of text starting &quot;38m earlier&quot;
评论 #30692471 未加载
评论 #30692626 未加载
eezurrabout 3 years ago
Im not a command liner but was curious to check this out. I tried running ssh-keygen and the &quot;Enter file in which to save the key (C:\Users\...&#x2F;.ssh&#x2F;id_rsa):&quot; prompt appears and I lose ALL keyboard input to the command line. No CTRL C, no text, no enter. Cant do anything. Anyone aware of what the problem is?<p>Windows 10 PowerShell
评论 #30694878 未加载
评论 #30694833 未加载
bragrabout 3 years ago
One thing that could help with the bots is leveraging some of the community generate blocklists for the ssh bots such as blocklist.de though there are other providers. It may not stop all of them, but will cut down a lot on the noise. These are generally useful for any ssh instance exposed to the internet.
评论 #30695653 未加载
Retr0idabout 3 years ago
&gt; bans use that and a hash of IP<p>Why hash it? There are &lt;2^32 IP(v4) addresses, so it would be trivial to crack the hash.
评论 #30694401 未加载
nope96about 3 years ago
Nuclear Greenhouse BBS vibes!<p><a href="http:&#x2F;&#x2F;www.bbsdocumentary.com&#x2F;software&#x2F;IBM&#x2F;DOS&#x2F;GTALK&#x2F;bbs_gtalk_history.html" rel="nofollow">http:&#x2F;&#x2F;www.bbsdocumentary.com&#x2F;software&#x2F;IBM&#x2F;DOS&#x2F;GTALK&#x2F;bbs_gta...</a>
odonnellryanabout 3 years ago
Lots of fun, but the issue with the images (is this the problem?) needs to be fixed. And the command issue where everyone sees the output - I wonder how hard that would be to address. Neat app!
评论 #30692656 未加载
AnnikaLabout 3 years ago
Very cool project! I think having more channels would help cut down on the fast pace of chat, as well as the suggestions from others about making broadcasting commands to everyone opt-in.
评论 #30695590 未加载
GOATS-about 3 years ago
I&#x27;ve just spent an hour on here when I should really be sleeping. Reminded me a lot of public IRC channels back in the day, surprised how fun it was to hang out with everyone. :)
评论 #30694100 未加载
Jamie9912about 3 years ago
Joined but got banned pretty quickly after not saying a word :(
评论 #30694934 未加载
zomglingsabout 3 years ago
I typed &quot;hello&quot; and hit Enter, and the whole thing froze. Had to close my shell because I couldn&#x27;t get out of the chat session any other way. Not great.
评论 #30695293 未加载
评论 #30695126 未加载
humanwhositsabout 3 years ago
I really like it, it seems like a great alternative to slack for a team that just wants non-notification chat
评论 #30693039 未加载
NylaTheWolfabout 3 years ago
Damn this is sick! I&#x27;ll bookmark this so I can mess around with this later!
gompertzabout 3 years ago
Reminds me of irssi... A terminal IRC client from way back! Great job!
评论 #30700873 未加载
alucardoabout 3 years ago
Post a video of a demo of it. Might drain attention :)
评论 #30692942 未加载
jbirerabout 3 years ago
Looks like the n-word filter is working.
wferrellabout 3 years ago
This is fun. Well done!
评论 #30693300 未加载
paskozdilarabout 3 years ago
&gt; 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.<p>I should&#x27;ve read this before trying to connect 100 usernames in parallel.
评论 #30693617 未加载
评论 #30693593 未加载
ilakshabout 3 years ago
Seems frozen
mixmastamykabout 3 years ago
What is discord? Yes, I’ve heard of the company, but haven’t used it. You might do better with “chat” as more folks know what that is.
评论 #30691411 未加载
评论 #30691347 未加载
评论 #30692048 未加载