A lightweight API for storing data without managing a backend.
Like LocalStorage but persistent, secure, and accessible across devices. Perfect for indie devs, static pages, prototypes and hobby apps.
”it's like LocalStorage - but better! My static pages now have a database backend!”
“Perfect for my side projects. I didn't want to run a database just to store a few settings.”
“I use it for prototypes, demos, and hackathons. Simple API and super reliable.”
Free tier. No account to create. No sign-ups. Just start storing data in seconds with a on-the-fly generated API key.
Create your users' accounts and logins, store their preferences - all with no backend. No databases to create and maintain.
API allows storing and retrieving plain text, JSON documents, files, and serialize and de-serialize objects.
Each project is protected by an isolated API Key with end-to-end encryption.
Data life-cycle can be controlled with time-to-live (TTL) rules set by you. Data is purged automatically after period of inactivity.
Data stored with prefs.us is persistent, survives device data wipes, and handles device switching.
Your users - your data. All managed data can be backed up and exported.
You will never get hit with surprise fees like compute charges or data transfer. You get unlimited egress, users, and unlimited bandwidth.
let settings = '{ "score":"200", "theme": "dark" }';
prefs_us.key("settings").write(settings);
prefs_us.key("settings").read( (response)=>{ settings = response.value; });
let userData = '{ "score":"200" }';
prefs_us.setItem("user", userData);
prefs_us.getItem("user", (response)=>{ userData = response.value; });
prefs_us.putObject("myObj", objInstance);
prefs_us.getObject("myObj", (response)=>{
let instance = null;
if (response.success) {
instance = response.value;
}
});
A simple dashboard helps you manage your API keys. You can review stored data, monitor data ingress and egress, and other metrics.
Stop worrying about databases for your side projects.