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: I wrote a Slack compatible server. Can I open source it?

101 pointsby syskalmost 10 years ago
I had to implement a chat server for a project I&#x27;m working on and since I had never done this before, I used Slack&#x27;s documentation as a roadmap and ended up re-implementing pretty much their whole API (I went a bit overboard I know).<p>I would like to open source this code but was wondering if it was legal for me to do so or would I be infringing on Slack&#x27;s IP.

16 comments

ChuckMcMalmost 10 years ago
In general, re-implementing a software product from open specifications has been protected by the courts. There are numerous examples, from the original IBM BIOS to Microsoft BASIC to PostGres and BSD Unix. That said, the Google case is casting a shadow on programatic APIs, but &#x27;look and feel&#x27; are essentially fair game.<p>What are protected and protectable are Trademarks. So using the word &#x27;Slack&#x27; in the name or anything that looks like it came from the Slack web site (see the recent &quot;Open Trello&quot; flare up) will cause you legal issues and should be avoided entirely.<p>The most interesting &quot;middle&quot; case is if you want to host third party integrations which work on your system and Slack&#x27;s then you&#x27;re going to get some push back. But again, caveat things like patents, being enough workalike (or my favorite phrase bug-for-bug compatible) is well trodden and has consistently been shown to be ok. (see the latest Keurig fiasco for that!)
评论 #9590317 未加载
评论 #9591125 未加载
kaolinitealmost 10 years ago
I&#x27;d do it, but keep the references to Slack to a minimum. So, don&#x27;t call it &quot;OpenSlack&quot;, for example. Just give it a nice name, mention that it&#x27;s Slack API compatible and you should be fine. At most, I suspect they&#x27;ll just C&amp;D you and then you say sorry and take it down. I can&#x27;t imagine you&#x27;ll get in any trouble.<p>Not a lawyer though.
评论 #9591281 未加载
lmmalmost 10 years ago
APIs themselves aren&#x27;t copyrightable, as we saw in Google&#x27;s recent lawsuit. The documentation is though, so be sure you&#x27;re not infringing on that.<p>Any license agreement you or your company have with Slack might &quot;ban&quot; you from doing this; you might e.g. lose your access. That will be a contractual matter between you and them though, not anything criminal.<p>IANAL; you should probably get actual legal advice.
评论 #9589402 未加载
评论 #9589351 未加载
waffle_ssalmost 10 years ago
IANAL but I don&#x27;t think API compatibility is infringement[1]. At least, I&#x27;ve seen projects that advertise this as a feature - for example, errbit[2] is API-compatible with Airbrake.<p>[1]: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Application_programming_interface#APIs_and_copyrights" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Application_programming_interf...</a><p>[2]: <a href="https:&#x2F;&#x2F;github.com&#x2F;errbit&#x2F;errbit" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;errbit&#x2F;errbit</a>
评论 #9589973 未加载
jtokophalmost 10 years ago
If you do open source it, don&#x27;t use Slack in the name
评论 #9589797 未加载
joeyspnalmost 10 years ago
What technologies did you use? XMPP? Node? ... I don&#x27;t think your are infringing any copyright as long as you are not making profit from it. Reverse Engineering is legal, specially when done with the aim of interoperability... and what you are seeking is an interoperable server right?<p><a href="http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Reverse_engineering#Legality" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Reverse_engineering#Legality</a>
评论 #9589723 未加载
评论 #9590611 未加载
评论 #9589726 未加载
a-dubalmost 10 years ago
Slack is pretty much just IRC with an indexer, a pretty web interface, a mobile interface and a bunch of of cool datafeeds&#x2F;bots. These things aren&#x27;t hard to build, and many people build them internally in companies all the time.<p>Their value proposition isn&#x27;t the technology, their value proposition is the packaging. It all just works. People actively maintain the interfaces and the GUI. They have ops teams that keep it up. The integrations are maintained and are literally plug and play. You can pretty much just sign up and within an hour its all done for not much money.<p>For these reasons, I have doubts as to whether or not they&#x27;d mind, regardless of IP concerns.
charlesdmalmost 10 years ago
No clue where you&#x27;re based, but in the EU, this is legal. You are allowed to replicate and reverse engineer systems, as long as you do not use the original source code.<p>APIs&#x2F;functionality&#x2F;data models&#x2F;etc can&#x27;t be copyrighted (again, in Europe). See <a href="http:&#x2F;&#x2F;www.bloomberg.com&#x2F;news&#x2F;articles&#x2F;2012-05-02&#x2F;copyright-can-t-block-software-reverse-engineering-court" rel="nofollow">http:&#x2F;&#x2F;www.bloomberg.com&#x2F;news&#x2F;articles&#x2F;2012-05-02&#x2F;copyright-...</a>.
samwillisalmost 10 years ago
You could ask Slack if they would mind you open sourcing it?<p>Just make it clear that the only reference to Slack is when you say its &quot;Compatible with the Slack API&quot;.
dmouratialmost 10 years ago
IP can be broken down into its constituent parts. Patent, Copyright, trademark, and trade secret. The rules for each are different and sufficiently complex that the question should be treated as these four parts.
jacquesmalmost 10 years ago
Without a lot more information your question is un-answerable.<p>For one, the jurisdiction that you&#x27;re in is critical, for another the process is in some cases as important as the end result.<p>You should consult a lawyer that you pay for.
dvdplmalmost 10 years ago
Did you manage to connect the regular Slack client to this? Is it enough to redirect the traffic to &quot;myorg.slack.com&quot; wherever your daemon is running? That would be kinda neat.
alazaralmost 10 years ago
Host it in China and advertise directly to their current customers.
cp9almost 10 years ago
talk to an actual lawyer
tzuryalmost 10 years ago
For a solid advise, talk to a lawyer.
jkotalmost 10 years ago
If you would like to use it as a reference, and dont want any sort of troubles, make sure it does not reach mass adoption. Some exotic build instruction or complicated deployment will do.