Show HN: TermChat – 通过 SSH 实现的终端聊天(房间/私信)
1 分•作者: unkn0wn_root•8 个月前
您好,
几周前,我和一位朋友讨论了简单应用程序变得多么臃肿,充斥着各种不必要的功能。我从他那里得到一个想法。如果你只想通过古老的文本方式进行交流,你几乎肯定需要安装一些臃肿且经常很慢的桌面应用程序。我们谈论了如果只使用终端,而没有任何依赖项,那会多么酷。所以,我有了创建一个简单的聊天应用程序的想法,但与其制作“又一个应用程序”(YAA),为什么不使用几乎所有人电脑上都已安装的东西——SSH呢?于是,TermChat诞生了。
只需输入:ssh termchat.me
然后:输入 /help 查看所有可用命令,或者输入 /register 然后 /login。
通过 Tab 键切换窗格,使用 'hjkl' 或箭头键导航。
现在还处于早期阶段,所以会有(也已经有)错误和问题,但基本功能已经可用:公共/私有房间、通知和私信。
没有电子邮件注册/验证等。它只是简单的用户名/密码注册。密码经过哈希和加盐处理,私有房间和聊天记录在静态时进行加密。
我现在正在进行代码清理和文档编写,并计划很快将其开源。
欢迎提供反馈、批评或任何可以帮助我改进这个项目的内容。我创建它的主要原因是我只想通过简单的文本方式与人们交流,使用我电脑上已有的工具。
查看原文
Hello,<p>I got an idea from a friend a couple of weeks ago when we were discussing how heavy simple apps have become with all their unnecessary features. If you only want to communicate via good old text, you almost certainly need to install some kind of heavy and often slow desktop app. We talked about how cool it would be to just use your terminal without any dependencies. So I got the idea to create a simple chat app, but instead of making YAA (yet another app), why not use something almost all people already have installed on their PCs - SSH? So TermChat was born.<p>Simply type: ssh termchat.me<p>then: /help to see all the available commands or /register and then /login.<p>Switch panes via tab, navigate by 'hjkl' or arrows.<p>It’s still early days, so there will be (are) bugs and hiccups but the basics work: public/private rooms, notifications, and DMs.<p>There are no email registration/verification etc. It's simple username/password registration. Passwords are hashed and salted, private rooms and chats are encrypted at rest.<p>I'm working with code cleanup and docs. now and planning to open source it soon.<p>Feedback, critique or anything that could help me improve this project are welcome. My main reason for creating this was that I just want to communicate with people via simple text with tools I already have on my computer.