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.
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've never used it, but I believe that a service such as <a href="https://pusher.com/" rel="nofollow">https://pusher.com/</a> would make it.
Worked for a startup making their own chat and it sucked up <i>such</i> a lot of effort on everyone'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'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't?