The SDK that turns your data into a living timeline.
Built on Git to branch, rewind and sync effortlessly.
Offer user collaboration features inspired by Git.
Save time and infrastructure costs.
Control collaboration through a filesystem interface.
Collab on any app data. From JSON to legacy formats to SQLite.
Features
From undo-redo to rollback , branching to experiments, sync and more. Everything is built in, powered by Git at the core. Deliver collaboration and reliability without building your own version control.
Let your user move through the entire history like a living timeline. They can jump back to previous moments, explore past states, and restore them instantly.
Let users create isolated workspaces to try out ideas safely. They can experiment freely and later decide if they want to merge changes back to the original document.
Let users recover from mistakes instantly. They can bring back any earlier version of their data and stay fully in control of AI assisted changes.
Start local and sync seamlessly across all devices later.
Every change is tracked with full context and accountability.
Control who can view or edit your data.
Define rules and triggers that run whenever AI or users modify data.
Hands-On
Everything is based on the filesystem API. If you know how to read and write files, you already know how to use Legit SDK.
UI
Legit
File System API
React
import { LegitProvider, useLegitFile }
from '@legit-sdk/react';
function App() {
return (
<LegitProvider>
<Editor />
</LegitProvider>
);
}
function Editor() {
const { content, setContent, history }
= useLegitFile('/document.txt');
return (
<textarea
value={content || ''}
onChange={e => setContent(e.target.value)}
/>
);
}
© Legit Control 2025