Say you come up with some great productivity application. It's web based, has a back end and a JavaScript front end for browsers and mobile.
You put it on github under an MIT or BSD or similar license. So corporations or anyone else can download and install your software and use it at no cost.
On your main website, you offer the software but on a per-user fully hosted, running online basis. So your revenue will come from people signing up to use your fully hosted service where they don't need to make any effort to install or configure - it just works. You also make money offering support contracts to people who have downloaded and installed their own copies of the software.
The reason you have open sourced it is to spread the word, gather interest and build community around your product. The theory being that the vast number of free users will be the impetus that leads to a small number of paying people discovering and using your product. Maybe free and open source is more newsworthy, more likely to get press and blog coverage?
Theoretically anyone could take your code and set up in competition to you. Anyone could fork your code and rename it to something else.
So is open sourcing your SAAS application a good way to do business, or is it foolish and giving away the farm?
Is there any examples out there of companies that have actually made money taking this approach?
I'm scared that if I fully open source then I will somehow have given the value away.
I'd consider shipping a bare bones version of the back-end under MIT, letting people spend their own two weeks getting one ready if they want to have it more useful in production, or give them the option of paying $500 per year for your back-end. That's an easy, easy call for a lot of companies to make.
Just to set expectations: just OSSing your thing is not going to cause the world to beat a path to your door. You're going to have to go bang down doors to get this adopted, whether it is 100% free, 100% paid, or some combination of the two. Unless you put in the marketing and "sales" work, you will probably build no community, receive no buzz, acquire no press mentions, and get no meaningful support from other developers. Be ready for this, because three months from throwing most projects on Github you can expect a deafening cacophony of absolutely nothing at all unless you find the people it solves a problem for and, with the best of intentions, shove it down their throats.