Vaultrice is a globally distributed key-value store with a familiar API, built for real-time collaboration. Stop wiring together databases and WebSocket servers — get a complete solution in one simple, powerful package.
import { NonLocalStorage } from '@vaultrice/sdk';
const nls = new NonLocalStorage(credentials, 'shared-object-id');
// Set a value from one client...
await nls.setItem('hello', 'world from client A');
// ...and listen for it on another.
nls.on('setItem', 'hello', (item) => {
console.log(item.value); // 'world from client A'
});
Go from idea to live, collaborative app in minutes. Our architecture is designed to make real-time simple and scalable.
When we say Vaultrice lets you build real-time apps with "no backend," we mean there is no backend for you to build, manage, or scale.
Your application's architecture with Vaultrice is simple, powerful, and built on world-class infrastructure. We handle the complexity of real-time data synchronization, global distribution, and WebSocket management so you can focus on building great user experiences.
🌐 Global Edge Network: Built on Cloudflare's infrastructure for low-latency access worldwide
Use the simple setItem()
API that feels just like localStorage
. Store strings, numbers, or complex JSON objects with ease.
Any change to your data is instantly broadcast over a persistent WebSocket connection to all subscribed clients. No polling, no manual refresh.
State is seamlessly synced across all tabs, devices, and even different domains, making it perfect for building unified user experiences.
Watch how easy it is to build real-time collaborative features. From setup to deployment in just a few lines of code.
See how to build real-time collaborative features in just 2 minutes
Watch on YouTubeplay_circleThis video shows an example chat in action.
Watch on YouTubeplay_circle⚙️ Familiar API ⚡ Built-in Real-Time 🛡️ Secure by Default.
If you know localStorage
, you know Vaultrice. Get up and running in minutes with a simple, intuitive API that doesn't get in your way. Live data sync and a full Presence API are included. No need to integrate or pay for a separate WebSocket provider. From default transport encryption (TLS) to optional client-side End-to-End Encryption, you choose the level of security your data needs.
Vaultrice is flexible, but it's purpose-built to solve common developer challenges.
Share user preferences, session state, or a shopping cart across multiple domains or subdomains.
// On site-a.com
await userPrefs.setItem('theme', 'dark');
// On site-b.com, the change is instant
userPrefs.on('setItem', 'theme', (item) => {
// item.value is 'dark'
});
Build real-time features like "who's online" lists, shared to-do apps, or simple multiplayer game lobbies with our integrated Presence API.
// See who's currently viewing the document
await nls.join({ name: 'Alice' });
nls.on('presence:join', (conn) => {
// console.log(`${conn.data.name} is now online.`);
});
const connections = await nls.getJoinedConnections();
console.log(`${connections.length} users online`);
connections.forEach(user => {
console.log(`${user.data.name} joined at ${new Date(user.joinedAt)}`);
});
Enable or disable application features instantly for all users without deploying new code.
// In your admin panel
await featureFlags.setItem('enableNewDashboard', true);
// In your client app
if (await featureFlags.getItem('enableNewDashboard')) {
// show new dashboard
}
We understand that choosing a new platform is a big commitment. You're not just adopting a tool; you're investing your time and trusting us with a piece of your application. You want to be sure we'll be around for the long haul.
That's why we believe in being completely transparent about our business model.
Vaultrice is built from the ground up on Cloudflare's highly-efficient serverless platform. By leveraging their global network, Durable Objects, and KV store, our operational costs are under control. We don't need to manage expensive servers, and we pass those savings on to you.
This efficiency is what allows us to offer a free tier that is powerful enough for many open-source, prototypes, and small-scale projects. Our free tier is not a temporary trial it's a core part of our commitment to the developer community.
Vaultrice is a bootstrapped and profitable business. Our business is sustained by our paid tiers for professional and enterprise users who require higher limits, advanced features, and dedicated support. We don't rely on venture capital, which means we're focused on building a durable, long-term business.
We are building for the long term. Our success is directly and solely tied to the success of the developers and companies who build on our platform. We're committed to providing a reliable, secure, and powerful tool that grows with you.
You can be confident building on Vaultrice.
Create an account and start building your next real-time application in minutes.