Keep the app close
to its data.
Open a durable .meld file from Go. Use documents and collections without running a separate database service.
Work with documents →Documents, queries, and live updates. Embed Meldbase in your Go app, or serve the same database to your browser and Node.js clients.
Apache 2.0 · Single node · Built in Go
db, err := meldbase.Open("todos.meld")
if err != nil { return err }
defer db.Close()
todos := db.Collection("todos")
_, err = todos.InsertOne(ctx, meldbase.Document{
"title": meldbase.String("Build something"),
"done": meldbase.Bool(false),
})
cursor, err := todos.Find(ctx,
meldbase.Filter{"done": false})Run the complete Go example →TRY THE QUERY
Check a todo or add your own. The result follows the query through the actual local SDK.
todos.find({ done: false })falsefalseThis demo runs in memory in your browser. Refreshing resets it. Connect a real app to the server →
SMALL FOOTPRINT. USEFUL PRIMITIVES.
Open a durable .meld file from Go. Use documents and collections without running a separate database service.
Work with documents →Filter, sort, and paginate. Add indexes for your access patterns, with explicit semantics for typed values.
Understand queries →Add the HTTP service when another process needs access. Subscribe to query results over WebSocket.
Build with live queries →YOUR NEXT STEP