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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: I wrote a Slack compatible server. Can I open source it?

101 点作者 sysk将近 10 年前
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 条评论

ChuckMcM将近 10 年前
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 未加载
kaolinite将近 10 年前
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 未加载
lmm将近 10 年前
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_ss将近 10 年前
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 未加载
jtokoph将近 10 年前
If you do open source it, don&#x27;t use Slack in the name
评论 #9589797 未加载
joeyspn将近 10 年前
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-dub将近 10 年前
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.
charlesdm将近 10 年前
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>.
samwillis将近 10 年前
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;.
dmourati将近 10 年前
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.
jacquesm将近 10 年前
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.
dvdplm将近 10 年前
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.
alazar将近 10 年前
Host it in China and advertise directly to their current customers.
cp9将近 10 年前
talk to an actual lawyer
tzury将近 10 年前
For a solid advise, talk to a lawyer.
jkot将近 10 年前
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.