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: Best way(s) to distribute a self-hosted, non-compiled product

5 pointsby jnankinalmost 12 years ago
Say you have a product written in Ruby, Python, PHP etc. and you would like to distribute it as a self-hosted solution.<p>What are the best ways to go about doing this without having to worry about people ripping off your code?<p>I assume answers will fall into some of the following categories:<p>- compile&#x2F;obfuscate code (i.e. cpython)<p>- submit product as a virtual image (like github enterprise)<p>- just don&#x27;t care and rely on your bundled licenses<p>Each has their own up&#x2F;down sides. Discuss. :)

5 comments

firstprimatealmost 12 years ago
I am going with the last option. Rely on bundled licenses. Seeing as I also provide a fully managed service, I include all software updates etc. for those who pay the annual license.<p>The rest are not my customers and worrying about them is a distraction.
sdrinfalmost 12 years ago
There was a pretty dense discussion on the first option at Stackoverflow: <a href="http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;5069791&#x2F;challenge-maximize-cost-of-obfuscations-reverse-engineering" rel="nofollow">http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;5069791&#x2F;challenge-maximiz...</a><p>The most viable target market for self-hosted products are still entreprises ; deployment via virtual images might be the most feasable solution for all parties involved.<p>Second-best option, specifically for eg. PHP, might be compiling the code into executables (via eg. <a href="https:&#x2F;&#x2F;github.com&#x2F;facebook&#x2F;hiphop-php" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;facebook&#x2F;hiphop-php</a> ), and distributing distro-specific executables.<p>Re: 3rd option, the specific worry about distributing code in any form isn&#x27;t piracy (as pointed out by firstprimate, those aren&#x27;t your customers); rather, blatant ripoffs engaging in marketing-only competition using a rebranded version of your own product.
rotnewsonalmost 12 years ago
The github way is pretty good because most businesses use some sort of virtualization (usually vmware) once they become a certain size.<p>But really it depends on who you are selling to and what you are selling, some companies just have the customer pay for a server and then the company ships it out with a guy to install it (better for small businesses that don&#x27;t have dedicated sysadmins).
gesmanalmost 12 years ago
<a href="http:&#x2F;&#x2F;zencrypt.com" rel="nofollow">http:&#x2F;&#x2F;zencrypt.com</a> for PHP obfuscation. It&#x27;s not NSA-grade encryption - but it works for 99.9% hosting accounts without need for specialized libraries.<p>It obfuscates your code well.
wmfalmost 12 years ago
People don&#x27;t buy software any more anyway; they only buy cloud services.
评论 #5894006 未加载