Kinto: a JSON object store that makes sharing and sync the default
A generic JSON document store with sharing and synchronisation capabilities.
At a glance
- What is it?
- Kinto is a small Python web service that stores JSON records, with synchronisation and sharing abilities. It suits teams that want sync without running CouchDB.
- Who is it for?
- Adopt Kinto when a browser or mobile client has to write records while offline and merge them later, and you would rather not operate a CouchDB cluster. Skip it when you need query planning across collections, or a storage engine other than PostgreSQL 9.5+ or the in-memory store.
- Can I use it commercially?
- Check first. The repository uses a licence we do not classify automatically, so read its LICENSE file before any commercial use.
- Is it still maintained?
- Yes. The repository last received commits 1 day ago.
- What is it written in?
- Mainly Python, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 24, 2026, and from our analysis. They are not legal advice.
Star history
- Kinto/kinto4,424 ★ · +5
| Repository | 2026-09-23 | 2026-11-24 |
|---|---|---|
| Kinto/kinto | 4.4k | 4.4k |
5 Stars in the last 62 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Kinto exposes collections as HTTP endpoints, not as a query language
Kinto is a Pyramid WSGI application that keeps JSON objects in named collections, and each collection is a URL you hit with GET, POST, PATCH and DELETE. Nothing sits between you and the data: there is no query planner, no secondary index and no document schema beyond optional JSON Schema validation. That narrowness is the design. Teams that need to store a settings blob, a bookmark list or a form submission get an API surface small enough to read in one sitting.
The audience is a backend team building an offline-first client, not a data team running analytics. A JavaScript or mobile client can hold records locally, edit them with no connection, then push a batch when the network returns.
The dependency list in pyproject.toml tells you what sits under the hood: pyramid for routing, jsonschema and jsonpatch for validation and patch application, python-rapidjson for parsing, pyjwt with crypto for tokens, waitress as the server, and transaction with pyramid_tm for request-level transactions. That is a WSGI stack with a database driver, not a distributed system.
Sync is a timestamp comparison on records the client already holds
Kinto describes itself as a minimalist JSON storage service with synchronisation and sharing abilities; the sync protocol is covered in the online documentation and tutorial rather than in the repository files shown here.
Sharing is a separate axis from syncing. Permissions have their own backend, and in the compose setup they are stored in the same PostgreSQL database, with KINTO_PERMISSION_BACKEND set to kinto.core.permission.postgresql and a matching KINTO_PERMISSION_URL.
Because permissions are enforced in the application rather than by the database, a bug in a permission rule is a data exposure bug, not a query that returns too much.
No install command in the README, so you pick a distribution route
The README is a short index card. It lists the requirements, points at kinto.readthedocs.io for the tutorial, and links a Docker Hub image at hub.docker.com/r/kinto/kinto-server. There is no pip install line to copy, so there is nothing here to paste. If you want a container, the image name is kinto/kinto-server, and the repository ships a docker-compose.yml that builds from the local Dockerfile rather than pulling the published image.
That compose file is the clearest statement of the intended production shape: postgres:14 for storage and permissions, memcached:1 for cache, and a web service listening on port 8888. The cache backend is set to kinto.core.cache.memcached with KINTO_CACHE_HOSTS pointing at cache:11211 cache:11212, and storage is kinto.core.storage.postgresql against postgresql://postgres:postgres@db/postgres. The healthcheck on the database is pg_isready -U postgres with a five second interval, so the web service waits for a real readiness signal rather than a sleep.
If you run it yourself instead, the Makefile wires the same steps as make install followed by the kinto init, migrate and start sequence, and the console script kinto = kinto.__main__:main is the entry point for all three.
The container starts by migrating the schema and then binding the port, exactly as the CMD line in the Dockerfile has it:
kinto migrate --ini $KINTO_INI && kinto start --ini $KINTO_INI --port $PORTIf the container exits during the migrate step, the ini file it points at is the first thing to read, since KINTO_INI defaults to /etc/kinto/kinto.ini and that file was generated with memory backends at build time.
setuptools<82 exists because an unbounded resolver breaks Pyramid
The dependency list carries an upper bound that has nothing to do with Kinto's own code: setuptools<82, with a comment saying Pyramid still imports pkg_resources, which was removed in setuptools 82. Without the bound, the resolver downgrades pyramid to 2.0.2, that release declares an unbounded setuptools requirement, and the import fails at startup. The comment cites the Pyramid issue directly.
This is the clearest evidence of how the project absorbs ecosystem churn. Kinto pins its framework's tooling dependency rather than patching around it, which means an unrelated package upgrade can still break a fresh install. Anyone building in a locked environment should install from the committed uv.lock instead of letting a resolver pick versions, and the Dockerfile does exactly that with uv sync --locked --no-editable.
The Dockerfile is a two-stage build on python:3.10-bullseye, with a python:3.10-slim-bullseye runtime running as uid 10001. It also runs kinto init at build time with --backend=memory --cache-backend=memory, so the image ships a working default config at /etc/kinto/kinto.ini, and the container command starts with kinto migrate before kinto start --port $PORT.
The in-memory backend is named for development, so production has a floor
The requirements block states the backends directly: in-memory for development, PostgreSQL 9.5+ for production. That sentence is a constraint, not a suggestion. If you accept the container's default config file, you are running the memory backend, and every record written into it dies with the process. The repository's docker-compose.yml supplies PostgreSQL and memcached settings through KINTO_* environment variables; without them the image uses the memory defaults written by kinto init.
There is a related trap in the build. The admin UI is not committed to the repository. The Dockerfile copies kinto/plugins/admin into a separate /kinto-admin directory, runs scripts/pull-kinto-admin.sh to fetch it, and copies the build output back into the image. An offline build machine, or one that blocks the upstream host, fails at that step rather than at application start.
The in-memory backend is also why the first run is deceptively easy: you can get a server up in seconds, poke it, and learn nothing about how it behaves against a real database with concurrent writers.
CouchDB replication is the difference, not the document count
The nearest alternative is CouchDB, which also gives you offline clients, conflict resolution and a replication protocol. The difference is in where the merge happens. CouchDB keeps a revision tree per document and hands the client a list of conflicting revisions to resolve, which preserves losing edits as inspectable data but grows the document.
CouchDB's model also carries its own cost, and it is not a small one, since every replica speaks the replication protocol.
A second option is to skip a sync service and use a relational table plus timestamps, which is what many small teams do. Kinto's value there is that conflict handling and permission scoping are already written, in Python, in about a dependency list rather than an afternoon of application code.
Extra capabilities arrive as extras, not as bundled code
The runtime dependency list is short enough to read in one screen, and everything larger sits behind extras. The Makefile has a target per extra: install-postgres runs uv sync --extra postgresql, install-memcached and install-redis do the same for their own drivers, and install-monitoring enables monitoring features like Prometheus and Newrelic. The container build installs five of them at once, including redis and container, so the image ships support for backends its own compose file does not use.
Extension happens through Pyramid's own plugin mechanisms rather than a Kinto-specific registry. pyproject.toml registers an entry point in the paste.app_factory group, main = kinto:main, which is how any Paste-based server boots the application, and the admin interface arrives as kinto/plugins/admin with its static build declared in package-data globs alongside the .sql, .tpl and .json files the backend ships.
That structure has a cost. A Kinto deployment is a Python application whose capabilities are decided by which extras you installed at build time, so a missing driver shows up as an import error rather than a configuration error, and an image built with the wrong extra set cannot be fixed by editing kinto.ini.
Editorial conclusion
Adopt Kinto when a browser or mobile client has to write records while offline and merge them later, and you would rather not operate a CouchDB cluster. Skip it when you need query planning across collections, or a storage engine other than PostgreSQL 9.5+ or the in-memory store. Verify the backend first: confirm that KINTO_STORAGE_BACKEND and KINTO_PERMISSION_BACKEND, as docker-compose.yml sets them, point at kinto.core.storage.postgresql and kinto.core.permission.postgresql rather than the memory defaults written into the image by kinto init, and check that your build machine can run scripts/pull-kinto-admin.sh to fetch the admin build.
Frequently asked questions
How do you install Kinto?
The README does not give an install command. It links a Docker Hub image at hub.docker.com/r/kinto/kinto-server, and the Makefile uses uv sync for dependencies followed by the kinto init, migrate and start console commands.
What backends does Kinto support?
The README states two: an in-memory backend for development and PostgreSQL 9.5 or later for production. The compose file configures kinto.core.storage.postgresql and kinto.core.permission.postgresql.
What runs Kinto as the web server?
Kinto is a Pyramid WSGI application and waitress is listed as a dependency. The container starts it with kinto start --ini $KINTO_INI --port $PORT on port 8888.
Does Kinto need Memcached in production?
The docker-compose.yml includes a memcached:1 service and sets KINTO_CACHE_BACKEND to kinto.core.cache.memcached. The build-time default config created by kinto init uses the memory cache backend.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/kinto-kinto)Star history chart for your README
[](https://hysenlabs.com/projects/kinto-kinto)Was this useful?