Let's build an open-source Firebase with Couchbase
As with any commercial provider, you don't have any guarantee here. This may be even more so now that Google has acquired Firebase.
Maybe you build an awesome app with Firebase, and in 12 months, Google decides that it just wanted the technology and the team, and shuts down Firebase as an independent service. What will you do?
As far as I can see, the Couchbase project offers similar features and all pieces of the stack are open-source.
How does this help? We can just re-use Couchbase Server and Couchbase SyncGateway. And on top of Couchbase Mobile and their other client libraries (iOS, Android, .NET), one can build a "shim" that maps Firebase's API to the Couchbase API.
The result will be a drop-in replacement for Firebase that is 100% open-source.
Maybe it will be most efficient to continue using Firebase even then. But it's always good to have a safe replacement up your sleeve.
7 comments
[ 3.1 ms ] story [ 29.6 ms ] threadBut nothing comes close to the first experience and ease of development you have with Firebase. And I'd love to build my products around Firebase and embrace their service if there was not that risk of them shutting down some day.
An API that works as a drop-in replacement would let us developers sleep much better, wouldn't it?
So I'd like to know: Which open-source product would you consider best as the foundation for something like that?
Couchbase? hood.ie? Meteor? CouchDB?
I'd love to work on such an open-source "clone", and maybe we'll even find some more collaborators.
We would have to built this ourselves. However, CouchDB has a "_changes" API that can even be turned into "continuous" mode [1]. This is the perfect data source for pub/sub.
hood.ie, Meteor, etc. offer more features, but they are also more cluttered and not as clean as CouchDB.
[1] http://docs.couchdb.org/en/latest/api/database/changes.html
http://procbits.com/2014/01/06/poor-mans-firebase-leveldb-re...
I used it to create my own personal use mini-firebase.