Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
native seshat-node: Change the search result format. Sep 12, 2019
test seshat-node: Change the search result format. Sep 12, 2019


Node.js bindings for the Matrix message database/indexer Seshat.


To install the bindings rust and npm are needed:

$ npm install

The above command will compile all the necessary rust libraries, install javascript dependencies and build a node module. After the command is done building the library can be used inside of node as usual:

const Seshat = require(".")


let db = new Seshat("/home/example/database_dir");
// Add a Matrix event to the database.
db.addEvent(textEvent, profile);
// Commit events waiting in the queue to the database.
await db.commit();
// Search the database for messages containing the word 'Test'
let results = await'Test');
You can’t perform that action at this time.