CloudKit
discontinuedby Jon Crosby · since 2008 · also known as CloudKit (Ruby), Open Web JSON Appliance
Jon Crosby's Ruby Rack middleware for schema-free, auto-versioned JSON storage over REST (2008–2011).
discontinued. Unmaintained since 2011; the project site describes itself as an archive. Unrelated to Apple CloudKit.
Overview
This CloudKit is Jon Crosby's open-source Ruby project, not Apple's iCloud framework of the same name. Billed as an Open Web JSON Appliance, it was Rack middleware: a line such as expose :notes, :todos in config.ru turned named collections into a RESTful HTTP API that stored arbitrary JSON documents and kept every version of each one, so occasionally connected clients could diff and merge, with optional OpenID login and OAuth authorization filters in front. Storage was pluggable, with in-memory, MongoDB and Tokyo Cabinet adapters, and it could sit alongside Rails, Merb or Sinatra apps. It was an early take on the REST-first document backends that CouchDB and Firebase later popularised, but development stopped in 2011 and its own site now calls itself an archive.
Strengths & trade-offs
Strengths
- +A couple of lines in config.ru turned any Rack app into a versioned JSON REST store
- +Every document revision retained, supporting diff/merge with occasionally connected clients
- +Built-in OpenID and OAuth filters
- +Pluggable storage adapters (memory, MongoDB, Tokyo Cabinet)
Trade-offs
- −Unmaintained since 2011 and built on obsolete OpenID and OAuth 1.0 stacks
- −No query language, indexes or transactions
- −Throughput limited to a single Ruby process
Great for
- +Historical reference for REST-first document stores
- +Studying versioned JSON storage designs
Think twice for
- −New applications
- −Anything that needs modern authentication
Capabilities
Native or official first-party support · 3 of 25 tracked
Scale & consistency
- Comfortable data size
- Small · ≤ 100 GB
- Horizontal scaling
- None
- Multi-region
- No
- Transactions
- None
- Consistency
- Strong
- Schema
- Schemaless
- Architecture
- Client server
- Query languages
- REST API
Deployment
Ecosystem
Alternatives to CloudKit
HTTP/JSON document database built around multi-master replication and offline-first sync.
cloudkit vs apache-couchdb →JavaScript database for browsers and Node that speaks the CouchDB replication protocol.
cloudkit vs pouchdb →Google's app platform: Firestore, Realtime Database and Data Connect, plus auth, functions and hosting.
cloudkit vs firebase →The default document database: flexible BSON documents, rich queries and built-in sharding.
cloudkit vs mongodb →Open-source Postgres backend platform: database, auth, storage, realtime and edge functions in one project.
cloudkit vs supabase →The relational database built into IBM i (AS/400), integrated with the OS and object security.
cloudkit vs ibm-db2-for-i →CloudKit FAQ
What is CloudKit?
CloudKit is a document database by Jon Crosby, first released in 2008. This CloudKit is Jon Crosby's open-source Ruby project, not Apple's iCloud framework of the same name. Billed as an Open Web JSON Appliance, it was Rack middleware: a line such as expose :notes, :todos in config.ru turned named collections into a RESTful HTTP API that stored arbitrary JSON documents and kept every version of each one, so occasionally connected clients could diff and merge, with optional OpenID login and OAuth authorization filters in front. Storage was pluggable, with in-memory, MongoDB and Tokyo Cabinet adapters, and it could sit alongside Rails, Merb or Sinatra apps. It was an early take on the REST-first document backends that CouchDB and Firebase later popularised, but development stopped in 2011 and its own site now calls itself an archive.
Is CloudKit open source?
Yes. CloudKit is open source. License: MIT License.
Does CloudKit support ACID transactions?
No. CloudKit does not provide ACID transactions; its consistency model is strong.
Does CloudKit scale horizontally?
CloudKit does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).
How can I run CloudKit?
You can self-host it.
What is CloudKit best for?
CloudKit is a strong fit for historical reference for REST-first document stores and studying versioned JSON storage designs. Think twice for new applications.
What are the best alternatives to CloudKit?
Common alternatives to CloudKit include Apache CouchDB, PouchDB, Firebase, MongoDB and Supabase. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is CloudKit still maintained?
CloudKit is discontinued. Unmaintained since 2011; the project site describes itself as an archive. Unrelated to Apple CloudKit.
How popular is CloudKit?
CloudKit ranks #621 of 844 databases on the WhichDB Score (0.6/100), and #57 among document databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.