TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

I have written a basic chat application using node.js, what do you guys think?

15 点作者 serkanyersen超过 13 年前

11 条评论

serkanyersen超过 13 年前
Haha. Either heroku or Node.js couldn't handle the Hacker News traffic. If you would like to see the code<p><a href="https://github.com/serkanyersen/Basic-Chat" rel="nofollow">https://github.com/serkanyersen/Basic-Chat</a>
评论 #3389940 未加载
serkanyersen超过 13 年前
I see people are complaing about the XHR requests. That's not my fault. I'm using heroku for hosting and it does not support websockets, so I have to force socket.io to use ajax long polling. That's actually heroku's solution.<p>But if you run it on your server or Cloud9 ide it will work just fine.
评论 #3389866 未加载
bpfh超过 13 年前
Seems fairly usable atm. A few observations: there is an XSS vulnerability as you probably learned by now. Also, there was a moment when someone was submitting content and it appeared under my nick "bpfh".<p>Other than that, kudos for a simple well-functioning chat.
评论 #3390008 未加载
spp超过 13 年前
I've written a (very) basic mud server in node.js (in like 8 hours). Maybe you'll be interested: <a href="https://github.com/farevalod/nodemud" rel="nofollow">https://github.com/farevalod/nodemud</a> (I'd appreciate some comments on it too!)
评论 #3389847 未加载
chjj超过 13 年前
I think writing a chat app is the rite of passage for node developers at this point.
评论 #3389906 未加载
评论 #3389832 未加载
jiyinyiyong超过 13 年前
UI is great. I wrote one serveral days ago, aiming to offer real time chat featute(http:zhonglichat.cnodejs.net), new I see how ugly that is.. Nodejs moke chating really fun.
akkishore超过 13 年前
Isn't this similar to <a href="http://chat.nodejs.org/" rel="nofollow">http://chat.nodejs.org/</a>?
评论 #3389810 未加载
LeafStorm超过 13 年前
It seems that when the client loses the connection, it doesn't attempt to reconnect.
评论 #3389834 未加载
akivabamberger超过 13 年前
ugh stop copying the node.js chat code and acting like it's something brand new. this is publicly available on rydahl's github.
评论 #3390046 未加载
limanoit超过 13 年前
ya..save name button does not do anything and it is almost similar to the chat demo of node.js
bhaaai超过 13 年前
I can't enter the chat. Save Name button does nothing! I'm on firefox 3.6.17.
评论 #3389813 未加载