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: HN Chat – Minimal Hacker News Chat with User Verification

180 pointsby zaytounover 8 years ago

31 comments

danneuover 8 years ago
Idea: Color each username based on a hash of the username.<p><pre><code> &#x27;#&#x27; + username.md5().take(6).join(&#x27;&#x27;) </code></pre> I did it for a chat I once built, users liked it, and it helps you keep track of who said what. Though I added some styling to keep it legible, like a 30% white blend, a stroke, and a drop shadow.<p><a href="https:&#x2F;&#x2F;dl.dropboxusercontent.com&#x2F;spa&#x2F;quq37nq1583x0lf&#x2F;xf17fnph.png" rel="nofollow">https:&#x2F;&#x2F;dl.dropboxusercontent.com&#x2F;spa&#x2F;quq37nq1583x0lf&#x2F;xf17fn...</a> (not the best example since everyone happened to be shades of green)
评论 #12433583 未加载
评论 #12432986 未加载
评论 #12433048 未加载
评论 #12433563 未加载
ng-userover 8 years ago
It&#x27;d be cool if it showed the number of anonymous users creepily watching the conversation too.
condescendenceover 8 years ago
Another chat app with mostly arbitrary ways to communicate? No thanks. I understand this is for HN community, but with XMPP, ICQ derivatives, IRC, etc I already have too many spaces to keep up with.<p>Its nice though, I like the profile key integration.
评论 #12432228 未加载
评论 #12432682 未加载
huevingover 8 years ago
This is secretly a way for op to harvest IP addresses of usernames! &#x2F;tinfoilhat
评论 #12433317 未加载
jaytaylorover 8 years ago
I&#x27;ve been idling in #hn on freenode for years now, and sadly it&#x27;s consistently been dead, activity wise. Eager to see if hnchat can change the game.
评论 #12432133 未加载
评论 #12432145 未加载
评论 #12432427 未加载
qwertyuiop924over 8 years ago
Yeah, the thing is, this needs some kind of IRC bridge, with auth. If you&#x27;re an HN user, IRC is probably your usual mechanism for realtime textual communication, and I gather many would rather use their very rich tooling built on IRC than check another website.
评论 #12432297 未加载
评论 #12432699 未加载
评论 #12432290 未加载
philbarrover 8 years ago
The only problem you have is that people are leaving all their comments on the chat group instead of in here... :)
评论 #12432524 未加载
codybover 8 years ago
Oh gosh and it&#x27;s already devolved into tabs vs spaces and two vs four, what else should I have expected? ;-)<p>Nice, I&#x27;ll login later and check it out!
rastapasta42over 8 years ago
App version for android: <a href="http:&#x2F;&#x2F;forty7.org&#x2F;tmp&#x2F;hnapp&#x2F;hnchat.app.arm.apk" rel="nofollow">http:&#x2F;&#x2F;forty7.org&#x2F;tmp&#x2F;hnapp&#x2F;hnchat.app.arm.apk</a><p>I&#x27;m making a website tool to convert website to Android apps, so was using this as a test.<p>If anyone got an x86 android device, I also generated x86 version of the app: <a href="http:&#x2F;&#x2F;forty7.org&#x2F;tmp&#x2F;hnapp&#x2F;hnchat.app.x86.apk" rel="nofollow">http:&#x2F;&#x2F;forty7.org&#x2F;tmp&#x2F;hnapp&#x2F;hnchat.app.x86.apk</a>
评论 #12433916 未加载
stockkidover 8 years ago
I like that I can login without providing my credentials.
huhtenbergover 8 years ago
<p><pre><code> Forbidden (403) CSRF verification failed. Request aborted. You are seeing this message because this HTTPS site requires a &#x27;Referer header&#x27; to be sent by your Web browser, but none was sent. This header is required for security reasons, to ensure that your browser is not being hijacked by third parties. </code></pre> Erm...
a1aover 8 years ago
I really dig the login system!<p>I thought it should be vulnerable to 1. find hash on victim&#x27;s profile, 2. login using the hash + username<p>But it seems the hash is never actually submitted to the server, neither through the login form nor later on by cookie. That is good news! The implied hurdle is that you&#x27;ll need to update the hash on each login.
koolbaover 8 years ago
I&#x27;ve been saving a similar idea of getting people to authenticate with custom text in their bios. Would be clever if the app tricked you into verifying a third party account on keybase too.
OoTheNigerianover 8 years ago
Good stuff!<p>The &quot;Login to chat&quot; should link to the login page.
adrianwajover 8 years ago
someone called for this on another site recently: <a href="http:&#x2F;&#x2F;www.newschoolers.com&#x2F;forum&#x2F;thread&#x2F;845014&#x2F;NS-MEMBER-CHAT-" rel="nofollow">http:&#x2F;&#x2F;www.newschoolers.com&#x2F;forum&#x2F;thread&#x2F;845014&#x2F;NS-MEMBER-CH...</a><p>- maybe some way to have minimum karma to join, or at least a way to only see messages according to certain metrics, eg acct age, karma, avg post karma -- or else have those users in different colors, including being invisible<p>- ability to block people<p>- message replying<p>- toggle message storage, either for user or admin<p>- pausing<p>- users can make comments in another user&#x27;s chat profile, with ability for underlying user to reply<p>- highlight another user&#x27;s conversation, or have different conversations in different colors<p>- this might actually work for instagram, where any user can keep a chatspace for their followers - perhaps a new url is provided upon each new photo, that way the users have to view the underlying instagram account, and the chatspace is cleared regularly (GramChat.)
indirpirover 8 years ago
`Add the following token to your HN Bio` on login screen. What means `HN Bio` ?<p>Sorry, for dumb question.
评论 #12432430 未加载
andrewclunnover 8 years ago
But how do I downvote the chats?
jnpatelover 8 years ago
I&#x27;m getting a 500 from Heroku.<p>btw, care to share the tech stack this is using?
评论 #12432074 未加载
评论 #12432154 未加载
mrmondoover 8 years ago
Neat! I love it!<p>What&#x27;s it written in and can I host something similar myself?
symboleproover 8 years ago
What I liked the most is the fact that it creates a kind of hackernews oauth. Using this mechanism, you can have something like &quot;Login with hackernews&quot; apps. Cool!
gremlinsincover 8 years ago
Would be nice if it had a list of top articles that drill down to open in new window | chat (creates a private room for that article | and view comments&#x2F;threads.
Retr0spectrumover 8 years ago
It would be nice to have tab completion for typing usernames.
Pyppeover 8 years ago
HTTP 503 Service Unavailable &quot;Request queue full.&quot;
paulvsover 8 years ago
I&#x27;m using this on mobile and the scroll is very sluggish, you could add this you your scrollable div:<p><pre><code> -webkit-overflow-scrolling: touch;</code></pre>
SparkyMcUnicornover 8 years ago
Aaaaand we broke it.
评论 #12432067 未加载
greenspotover 8 years ago
&gt; Add the following token to your HN bio: hnchat:p2z9iJCaT5ZXWlWp5Vua<p>Smart idea to verify users
maxpertover 8 years ago
Makes me wonder if I should modify RaspChat (yes it was posted before <a href="http:&#x2F;&#x2F;beta.raspchat.com" rel="nofollow">http:&#x2F;&#x2F;beta.raspchat.com</a> ) to actually play well with HackerNews.
iptablesover 8 years ago
I love this thing
iptablesover 8 years ago
please add a mute feature, tga is annoying
lean0278over 8 years ago
WOW Hackers :D
lvsover 8 years ago
Nice app, but reading the unfiltered drivel of tech executives in real time is truly more than I can handle.
评论 #12433593 未加载