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: Mogo Chat – open-source team chat app written in Elixir and Ember.js

140 pointsby SingAlongabout 11 years ago

17 comments

hunvreusabout 11 years ago
There are tons of free apps, with contenders like Kandan (<a href="https://github.com/kandanapp/kandan" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kandanapp&#x2F;kandan</a>) if you&#x27;re looking for a self-hosted or free alternative to HipChat&#x2F;Campfire, you can even find sexy-ish Web clients for IRC (<a href="https://github.com/thedjpetersen/subway" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;thedjpetersen&#x2F;subway</a>).<p>The problem I see with message apps is that it&#x27;s like email; you really wished you could host it yourself and fine tune things (as well as make sure nobody is eavesdropping). But you can&#x27;t have it down or (worse) performing at half capacity. It needs to be up all the time with almost perfect quality.<p>Sure you can set something up yourself, but you&#x27;ll probably struggle with maintaining a decent QoS, and if your team is any good, they probably won&#x27;t allow that to go on very long.
评论 #7473707 未加载
评论 #7473902 未加载
评论 #7473359 未加载
评论 #7473585 未加载
评论 #7473698 未加载
评论 #7475351 未加载
JangoSteveabout 11 years ago
Someone seems to have broken the demo by typing in some JavaScript. Doesn&#x27;t seem to be sanitizing input completely.<p>EDIT: Looks like it&#x27;s CSS, not JS. In case it helps, here&#x27;s what I&#x27;m seeing [1], and here&#x27;s the code from the message:<p><pre><code> &lt;style&gt;* { float: left; display: block }&lt;&#x2F;style&gt; </code></pre> [1] <a href="http://imgur.com/BoZ6lrF" rel="nofollow">http:&#x2F;&#x2F;imgur.com&#x2F;BoZ6lrF</a><p>EDIT 2: Yup, style tags don&#x27;t seem to be escaped. Tried changing colors of the room a few times, and it worked:<p><pre><code> &lt;style&gt;* { color: green; }&lt;&#x2F;style&gt; </code></pre> EDIT 3: Issue filed here: <a href="https://github.com/HashNuke/mogo-chat/issues/2" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;HashNuke&#x2F;mogo-chat&#x2F;issues&#x2F;2</a>
评论 #7473675 未加载
评论 #7473916 未加载
psycrabout 11 years ago
It seems that the room message state is synced via a poller, as seen here: <a href="https://github.com/HashNuke/mogo-chat/blob/master/assets/javascripts/pollers/message_poller.js.coffee" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;HashNuke&#x2F;mogo-chat&#x2F;blob&#x2F;master&#x2F;assets&#x2F;jav...</a><p>I&#x27;m curious why you decided to implement this with a poller instead of with a Websocket. There&#x27;s actually a reasonably detailed answer about how to do this sort of thing with Ember Data in the emberjs.com guides: <a href="http://emberjs.com/guides/models/frequently-asked-questions/#toc_how-do-i-inform-ember-data-about-new-records-created-on-the-backend" rel="nofollow">http:&#x2F;&#x2F;emberjs.com&#x2F;guides&#x2F;models&#x2F;frequently-asked-questions&#x2F;...</a><p>Either way, how did you find working with Ember Data in general? What were the main sticking points?
评论 #7473994 未加载
mattdeboardabout 11 years ago
I am glad to see an Elixir app on HN! Elixir is a great language I have been enjoying messing with in my spare time. It&#x27;s far below a 1.0 release but its syntax is delightful and it&#x27;s been a good excuse to get familiar with BEAM and OTP as I know nothing of Erlang.<p>So quality of the app aside (I haven&#x27;t looked) everyone should give Elixir a go.
KhalPandaabout 11 years ago
Suggestion: Have messages instantly appear in chat (maybe with a loading icon to one side) when uses hit enter&#x2F;send... then display an error if it fails to reach the server. Not <i>enter</i> ........ <i>message appears</i>. It&#x27;d make the app feel much more responsive.
pessimizerabout 11 years ago
Isn&#x27;t every Erlang web tutorial about building a chat app?<p>Thanks for an example in Elixir, though:)
ef4about 11 years ago
I would like to see a credible open source alternative to Campfire, etc, so this is nice work.<p>But if it&#x27;s an Ember app, why don&#x27;t the different rooms present as different URLs?
评论 #7474545 未加载
评论 #7474044 未加载
lengadsabout 11 years ago
&quot;[TODO: Too tired to complete the docs. If you feel like contributing, please take a look at the routers and send a pull-request.]&quot;<p>I approve of this kind of API documentation.
jlafonabout 11 years ago
Out of curiosity, why did you choose Ember? For context, my team is evaluating Angular vs. Ember. Thanks.
评论 #7473957 未加载
jvehentabout 11 years ago
This is cool, and as a heavy IRC user, I&#x27;m eager to find a solution that can replace self-hosted IRSSI+ZNC entirely, without compromising security. Don&#x27;t reinvent the protocol, reinvent the UI.
评论 #7473728 未加载
评论 #7473339 未加载
tehskylarkabout 11 years ago
Is there any documentation on installing this locally (without Heroku)?
评论 #7478997 未加载
bicxabout 11 years ago
I know the advantage here is the open source availability, but ever since my team joined Slack for dev team chat, we haven&#x27;t looked back. So many integrations. Such awesome.
评论 #7473863 未加载
arcameronabout 11 years ago
If you&#x27;re interested in this, you might also check out <a href="https://echoplex.us" rel="nofollow">https:&#x2F;&#x2F;echoplex.us</a>
elwellabout 11 years ago
That&#x27;s a lot of AJAX requests. Why not use WebSockets?
robobroabout 11 years ago
I&#x27;ll just stick with IRC, thanks
yincrashabout 11 years ago
someone already changed the demo account password
评论 #7473180 未加载
moron4hireabout 11 years ago
It would take 30 minutes to modify the Node.JS and Socket.IO examples into a usable, IRC-like chat server.
评论 #7473112 未加载
评论 #7473132 未加载
评论 #7473302 未加载
评论 #7473151 未加载
评论 #7473627 未加载
评论 #7473679 未加载