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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Are there downsides to making all our source code publicly available?

16 点作者 davidpolberger超过 1 年前
I run a small SaaS business and our code is currently proprietary and hidden from view, as is the norm (the client-side code is minified). However, I would prefer to make it publicly accessible, for the following reasons:<p>* As a matter of principle, I like to err on the side of openness.<p>* We have great code, fully documented and with lots of unit tests, and I&#x27;m hoping that others could learn from it.<p>* It might help with recruitment, if we can talk publicly about our code and about interesting problems we are solving.<p>Support libraries could be licensed under a permissive license, such as MIT or Apache, while our core user-facing products could either be kept proprietary (&quot;source available&quot;), or be licensed under terms businesses tend to dislike -- the AGPL3 comes to mind. (If doing so could spur discussions about licensing our products under a different license, that would be a nice bonus.)<p>Are there any downsides to doing what I describe above?

8 条评论

necovek超过 1 年前
I think it really is case-by-case: the idea is obviously not to make it easy for someone else to spin up a competitor SaaS by doing far less work.<p>Then again, even that might be ok if you are covering a geographic area, for instance, and already have good penetration there.<p>In general, I do want to believe we can find business models where hiding the code is not important, and we can let our users contribute back, so I wonder how much of the business model you can share here?
评论 #37457187 未加载
评论 #37456532 未加载
houseatrielah超过 1 年前
If a single dev ignores the license and spins up the code he can outcompete you on price; Then what? Throw money at lawyers to sue someone in a foreign land? The whole idea behind SaaS is that people can&#x27;t copy-paste your cd-rom and give it to their friend.
评论 #37458207 未加载
评论 #37456827 未加载
caprock超过 1 年前
Erring on the side of openness is fine as a principle. That doesn&#x27;t mean the actions to follow the principle won&#x27;t cost you time and money. Everything has tradeoffs. As a small SaaS business, I don&#x27;t think public repos would make it very high on my list of priorities.<p>A good balance can be open sourcing an internal library or two, so you get some of the benefit without the work needed to polish the mass of your core code.<p>With regard to recruitment, I think the openness is mostly a benefit to employees, because they can point directly at their work product like a portfolio. So it helps recruitment, but it&#x27;s about them not about your cool problems.
ezekg超过 1 年前
I did it (<a href="https:&#x2F;&#x2F;keygen.sh&#x2F;blog&#x2F;all-your-licensing-are-belong-to-you&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;keygen.sh&#x2F;blog&#x2F;all-your-licensing-are-belong-to-you&#x2F;</a>). It&#x27;s only been a few months, but I&#x27;ve only seen upside. And my enterprise growth has skyrocketed. But if you don&#x27;t have a definitive reason to do so, e.g. to increase enterprise adoption, then perhaps rethink why it makes sense from a business perspective. You need a goal. Going open source can be your competitive advantage, or it could cause you to lose yours.
ActorNightly超过 1 年前
Don&#x27;t do things in business because they feel good (a.k.a your first 2 points), do them because of right reasons.<p>Making your source code open should be done only if its use and modification will increase your user base and thus revenue. This can be in the form of &quot;hey free to try for a company but once we build production, we will need to move to paid subscription&quot;, or &quot;hey i can use this on my local computer but I want to set it up in the cloud to be accessible publicly, for which I need to use the paid product&quot;.
评论 #37465643 未加载
brudgers超过 1 年前
The absolute downside is it is a distraction from running the business.<p>Money is a better tool to improve recruitment, in all probability there are better code bases for random people to learn from, and your principles are only opinions at heart.<p>To put it another way, if it was obviously a good idea, you would not have a question.<p>Good luck.
davidpolberger超过 1 年前
Everyone -- thanks for your constructive comments. I think that we&#x27;ll start off by releasing the libraries under permissive licenses, and see how that goes. Releasing the code of the user-facing products publicly would probably provide little value for others (as the code would not be open source), and there are indeed risks.
jajajsjsjjd超过 1 年前
Do you expect to get any tangible benefits to your codebase?
评论 #37459713 未加载