Code first
Stay in the editor, stay in the terminal.
Versions
Every change is versioned. Undo a mistake, let your users undo theirs.
Authentication by Google
Sign-in built in with your own tenant, and every user gets state of their own.
Flat plans, no surprises
Priced by writes and users, reads for free.
Start in your terminal
- Every read has a default in your code.
provisionfinds those defaults and creates the missing keys. Existing values stay as they are.- Change live values later, without a redeploy.
- Nothing to host or run.
$ skystate provision --project my-app --env dev --yes Provisioning 2 missing key(s) to development: + banner = {"enabled":false} + theme = "dawn" Provisioned 2 key(s) (v1).
Simple SDK: install, wrap, read
- Framework-agnostic coreWith a React package on top.
- Install itnpm i @skystate/react
- Wrap your appOne provider at the root.
- Read state with a hookTyped, with a fallback value.
- Caching and auth built inHandled for you.
const { value } = useProjectState('public', 'banner', { enabled: false }); const { value, set } = useUserState('private', 'theme', 'dark');
A version for every update
- Every write creates a new version.
- Diff and track changes between versions.
- Optimistic concurrency. Stale writes get
412 Precondition Failedinstead of overwriting.
{
"banner": { "enabled": true },
"theme": "dawn",
"maxUploadMb": 25
}Sign-in with Google Cloud Identity Platform
- Your users, in your own isolated tenant.
- Google and GitHub sign-in.
- Handled by Google.
Welcome
Sign in to continue.
An honest API
- Plain JSON over standard HTTP.
- Atomic updates using JSON Patch (RFC 6902).
- Conditional writes using
If-Matchheaders (RFC 9110). - Predictable errors.
PATCH /v1/projects/my-app/state/public/production Content-Type: application/json-patch+json If-Match: "14" [{ "op": "replace", "path": "/banner/enabled", "value": true }] ────────────────────────────── HTTP/1.1 412 Precondition Failed Content-Type: application/json { "message": "Version 14 is stale. Current version is 15." }
A powerful CLI
- Manage state from the terminal.
- Scriptable and CI-friendly.
- Do it all:
show,put,patch,diff,promote.
$ skystate state project public show --env production { "banner": { "enabled": true }, "theme": "dawn", "maxUploadMb": 25 }
Print the current document as JSON. Pipe it anywhere.
Simple pricing
Free to start. Upgrade when needed. Three tiers, no surprises.
For trying it out and side projects.
- Writes / month
- 5,000
- Version history
- Latest only
- Document size
- 256 KB
For a live app with real users.
- Writes / month
- 100,000
- Version history
- 10 days · 10 versions
- Document size
- 256 KB
For products with a growing user base.
- Writes / month
- 1,000,000
- Version history
- 30 days · 30 versions
- Document size
- 256 KB
Prices exclude VAT. Reads are free. A write is any request that changes state; your own CLI and console calls don't count.
Questions?
What happens if SkyState is unreachable?
State hooks take a fallback value from your code, so your app still renders. Use useStatus().health to show loading and error states.
Where is my data stored?
In Google Cloud's Belgium region (europe-west1). Your data stays in the EU.
What if I go over my write limit?
You get a 10% grace margin. Past that, writes return a clear error and reads keep working, so nothing your users see goes blank.
Can I leave?
Yes. Your state is plain JSON. Read any document out with the CLI or the API. No export fee, no lock-in format.
Is this a database?
No. It's a home for JSON your app reads often and changes on purpose: config, flags and per-user settings.