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.

Ask HN: Build your own chat service or buy?

3 pointsby joelpalmost 4 years ago
Hi HNers,<p>I have been thinking about making my own chat service for my app but stuck in a build or buy situation.<p>Do startups usually build their own chat services into their apps?<p>If not, what chat services are there that most startups build into their apps?<p>Thanks.

4 comments

sylvain_kerkouralmost 4 years ago
From what I understand you are talking about an chat inside your app, and not a chat for your company (like matrix or Slack).<p>I would say it depends.<p>If you know how to implement long polling then making a simple chat is not hard, the hardest part, being certainly the UI, but it can be improved over time. The only thing to remember is to sanitize and check all the input data, as a chat is basically moving untrusted data from user A to user B. A lot of in-house built chat systems are vulnerable to XSS and other injection attacks.<p>Otherwise, I&#x27;ve never used it, but I believe that a service such as <a href="https:&#x2F;&#x2F;pusher.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pusher.com&#x2F;</a> would make it.
zimpenfishalmost 4 years ago
Worked for a startup making their own chat and it sucked up <i>such</i> a lot of effort on everyone&#x27;s part trying to get all the tiny details working that everything else started to suffer.<p>I dunno though - even using something like Mattermost as the backend, you&#x27;re probably still having to do a lot of UI work yourself as a wrapper around that. Damned if you do, damned if you don&#x27;t?
Mandatumalmost 4 years ago
I&#x27;d buy. Unless chat is core to the functionality of what you&#x27;re building, why would you re-invent the wheel?
ohiovralmost 4 years ago
If you just want something private for yourself and a few of your friends nextcloud talk is pretty good.
评论 #28158496 未加载