• Stars
    star
    570
  • Rank 78,245 (Top 2 %)
  • Language
    JavaScript
  • License
    GNU Affero Genera...
  • Created almost 5 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ‘จ a simple, git diffable JSON database on yer filesystem. By the power of NodeJS

๐Ÿ‘จ Sir npm downloads version visitors+++

Sir.DB -- A simple database on the file system.

JSON files organised into subdirectories for each table.

Like SirDB? You'll probably love ServeData! ServeData is a powerful yet simple server for SirDB with baked-in schemas, users, groups, permissions, authentication, authorization and payments.


overview

Top

With this library you can make databases that are:

  • human-readable
  • git-diffable, and therefore versionable, and
  • text-based. Everything is a JSON file, including the database meta information.

Sir.DB:

  • is written in literate, tested JavaScript,
  • is permissively licensed, and
  • is around 500 lines of code and 6.6Kb gzipped.

features

Top

  • Human readable
  • Store any JSON-able object
  • Index on any property (for nested objects, only index top-level properties)
  • Auto ID or custom ID
  • Diffable by git
  • All records, indexes and table information are JSON files
  • 1 file per record, 1 file per unique index value, 1 file per table info
  • 1 sub-directory per table, 1 sub-directory (nested inside table) per indexed property

All in all this makes the database easy to understand and inspect. As well as making the code easy to read and maintain.

roadmap

Top

  • <PageableTable>.getPage
  • Transactions
  • ACID guarantee (as long as accessed by single node thread)
  • Can expand ACID to multi-threaded access with a request queue.

get

Top

npm i --save sirdb

add git, make diffable.

Top

Just cd into your DB root path (the root path given to config()) and type git init. Or do it at any ancestor directory.

repository guide

Top

This repository has around 500 lines of code and 2 dependencies (esm and discohash), and is organized as follows:

  • api.js: the main file (config, dropTable, getTable and getIndexedTable)
  • table.js: Table and IndexedTable classes
  • stats/: see the source-code stats

api

Top

There's only a couple of handful of calls in this api: config, dropTable, getIndexedTable, getTable, put, get, getAllMatchingKeysFromIndex and getAllMatchingRecordsFromIndex

config({root: path})

Configure the root directory of your database.

Top

dropTable(name: string)

Deletes a table.

Top

getTable(name: string): Table

Creates a table (if it doesn't exist) and returns it.

Top

getIndexedTable(name: string, indexed_properties: string[]): IndexedTable

Creates a table (if it doesn't exist) that has indexes for the given properties, and returns it.

Top

<Table>.put(key: string, value: any, greenlights?: function | function[] | Evaluator)

Adds (or updates) an item to the table by key.

Top

<Table>.get(key: string, greenlights?: function | function[] | Evaluator)

Gets an item from the table by key.

Top

<IndexedTable>.getAllMatchingKeysFromIndex(prop: string, value: any): string[]

Gets all item keys from the table that have a property prop that matches value, if that property is indexed.

Top

<IndexedTable>.getAllMatchingRecordsFromIndex(prop: string, value: any): any[]

Gets all items from the table that have a property prop that matches value, if that property is indexed.

Top

<Table>.getAll(): any[]

Gets all items from the table.

Top

<PageableTable>.getPage(cursor: string, count?: int): any[]

Get count (default 10) items from the table, starting at the first item after cursor. Note: not yet implemented.

Top

examples

Top

See below for how the api calls are used:

import path from 'path';
import assert from 'assert';
import fs from 'fs';

import {getTable, getIndexedTable, dropTable, config} from './api.js';

testGetTable();
testGetIndexedTable();
testDropTable();
testPut();
testIndexedPut();
testGet();
testGetAll();

function testGetTable() {
  const root = path.resolve(__dirname, "test-get-table");
  config({root});

  dropTable("users");
  dropTable("subscriptions");

  getTable("users");
  getTable("subscriptions");

  assert.strictEqual(fs.existsSync(path.resolve(root, "users", "tableInfo.json")), true);
  assert.strictEqual(fs.existsSync(path.resolve(root, "subscriptions", "tableInfo.json")), true);

  fs.rmdirSync(root, {recursive:true});
}

function testGetIndexedTable() {
  const root = path.resolve(__dirname, "test-get-indexed-table");
  config({root});

  dropTable("users");
  dropTable("subscriptions");

  getIndexedTable("users", ["username", "email"]);
  getIndexedTable("subscriptions", ["email"]);

  try {
    assert.strictEqual(fs.existsSync(path.resolve(root, "users", "tableInfo.json")), true);
    assert.strictEqual(fs.existsSync(path.resolve(root, "subscriptions", "tableInfo.json")), true);

    assert.strictEqual(fs.existsSync(path.resolve(root, "users", "_indexes", "username", "indexInfo.json")), true);
    assert.strictEqual(fs.existsSync(path.resolve(root, "users", "_indexes", "email", "indexInfo.json")), true);
    assert.strictEqual(fs.existsSync(path.resolve(root, "subscriptions", "_indexes", "email", "indexInfo.json")), true);
  } catch(e) {
    console.error(e);
  }

  fs.rmdirSync(root, {recursive:true});
}

function testDropTable() {
  const root = path.resolve(__dirname, "test-drop-table");
  config({root});

  getTable("users");
  getTable("subscriptions");

  dropTable("users");
  dropTable("subscriptions");

  assert.strictEqual(fs.existsSync(path.resolve(root, "users", "tableInfo.json")), false);
  assert.strictEqual(fs.existsSync(path.resolve(root, "subscriptions", "tableInfo.json")), false);

  fs.rmdirSync(root, {recursive:true});
}

function testPut() {
  const root = path.resolve(__dirname, "test-get-table");
  const errors = [];
  let gotItems;
  let key = 1;

  config({root});

  dropTable("items");

  const Items = getTable("items");
  const items = [
    {
      key: `key${key++}`,
      name: 'Apple',
      type: 'fruit',
      grams: 325
    },
    {
      key: `key${key++}`,
      name: 'Pear',
      type: 'fruit',
      grams: 410
    },
    {
      key: `key${key++}`,
      name: 'Soledado',
      type: 'career',
      grams: null,
      qualities_of_winners: [
        "devisiveness",
        "rationality",
        "aggression",
        "calmness"
      ]
    },
  ];
  
  try {
    items.forEach(item => Items.put(item.key, item));
  } catch(e) {
    errors.push(e);
  }

  assert.strictEqual(errors.length, 0);

  try {
    gotItems = items.map(item => Items.get(item.key));
  } catch(e) {
    errors.push(e);
  }

  assert.strictEqual(errors.length, 0);

  assert.strictEqual(JSON.stringify(items), JSON.stringify(gotItems));

  fs.rmdirSync(root, {recursive:true});
}

function testIndexedPut() {
  const root = path.resolve(__dirname, "test-indexed-put-table");
  const errors = [];
  let gotItems1 = [], gotItems2 = [], gotItems3 = [];
  let key = 1;

  config({root});

  dropTable("items");

  const Items = getIndexedTable("items", ["name", "type"]);
  const items = [
    {
      key: `key${key++}`,
      name: 'Apple',
      type: 'fruit',
      grams: 325
    },
    {
      key: `key${key++}`,
      name: 'Pear',
      type: 'fruit',
      grams: 410
    },
    {
      key: `key${key++}`,
      name: 'Soledado',
      type: 'career',
      grams: null,
      qualities_of_winners: [
        "devisiveness",
        "rationality",
        "aggression",
        "calmness"
      ]
    },
  ];
  
  try {
    try {
      items.forEach(item => Items.put(item.key, item));
    } catch(e) {
      errors.push(e);
    }

    assert.strictEqual(errors.length, 0);

    try {
      gotItems1 = items.map(item => Items.get(item.key));
    } catch(e) {
      errors.push(e);
    }

    assert.strictEqual(errors.length, 0);

    assert.strictEqual(JSON.stringify(items), JSON.stringify(gotItems1));

    try {
      gotItems2 = Items.getAllMatchingRecordsFromIndex('name', 'Apple');
    } catch(e) {
      errors.push(e);
    }

    assert.strictEqual(errors.length, 0);
    assert.strictEqual(gotItems2.length, 1);
    assert.strictEqual(JSON.stringify(items.slice(0,1)), JSON.stringify(gotItems2.map(([,val]) => val)));

    try {
      gotItems3 = Items.getAllMatchingRecordsFromIndex('type', 'fruit');
    } catch(e) {
      errors.push(e);
    }

    assert.strictEqual(errors.length, 0);
    assert.strictEqual(gotItems3.length, 2);
    assert.strictEqual(JSON.stringify(items.slice(0,2)), JSON.stringify(gotItems3.map(([,val]) => val)));

  } catch(e) {
    console.error(e);
    console.log(errors);
  }

  fs.rmdirSync(root, {recursive:true});
}

function testGet() {
  const root = path.resolve(__dirname, "test-get-table");
  const errors = [];
  const gotItems = [];
  let key = 1;

  config({root});

  dropTable("items");

  const Items = getTable("items");
  const items = [
    {
      key: `key${key++}`,
      name: 'Apple',
      type: 'fruit',
      grams: 325
    },
    {
      key: `key${key++}`,
      name: 'Pear',
      type: 'fruit',
      grams: 410
    },
    {
      key: `key${key++}`,
      name: 'Soledado',
      type: 'career',
      grams: null,
      qualities_of_winners: [
        "devisiveness",
        "rationality",
        "aggression",
        "calmness"
      ]
    },
  ];
  
  for( const item of items ) {
    try {
      gotItems.push(Items.get(item.key));
    } catch(e) {
      errors.push(e);
    }
  }

  assert.strictEqual(errors.length, 3);
  assert.strictEqual(gotItems.length, 0);

  fs.rmdirSync(root, {recursive:true});
}

function testGetAll() {
  const root = path.resolve(__dirname, "test-get-table");
  const errors = [];
  let gotItems;
  let key = 1;

  config({root});

  dropTable("items");

  const Items = getTable("items");
  const items = [
    {
      key: `key${key++}`,
      name: 'Apple',
      type: 'fruit',
      grams: 325
    },
    {
      key: `key${key++}`,
      name: 'Pear',
      type: 'fruit',
      grams: 410
    },
    {
      key: `key${key++}`,
      name: 'Soledado',
      type: 'career',
      grams: null,
      qualities_of_winners: [
        "devisiveness",
        "rationality",
        "aggression",
        "calmness"
      ]
    },
  ];
  
  try {
    items.forEach(item => Items.put(item.key, item));
  } catch(e) {
    errors.push(e);
  }

  assert.strictEqual(errors.length, 0);

  try {
    gotItems = Items.getAll();
  } catch(e) {
    errors.push(e);
  }

  assert.strictEqual(errors.length, 0);

  items.sort((a,b) => a.key < b.key ? -1 : 1);
  gotItems.sort((a,b) => a.key < b.key ? -1 : 1);
  assert.strictEqual(JSON.stringify(items), JSON.stringify(gotItems));

  fs.rmdirSync(root, {recursive:true});
}

related projects

Top

  • recutils - text-file database, format and tooling. Inspiration for Sir.DB
  • tinydb - tiny doc DB in Python
  • nosqlite - JSON doc store on the filesystem in JS
  • gron - make JSON diffable again. Not a db.
  • sqlite-diffable - make SQLite diffable. Not a db.
  • augtool - a different take on diffable JSON. Not a db.
  • dBASE - old school. One of the first DB, it's .dbf file format is mostly text-based.
  • mjdb - Mongo-inspired db on a JSON file

example of database files and diffs

Top

A sample directory structure:

$ tree dev-db/
dev-db/
โ”œโ”€โ”€ groups
โ”‚ย ย  โ”œโ”€โ”€ 3d4a3b6585bbe3f2.json
โ”‚ย ย  โ”œโ”€โ”€ 7ab53d4759cf8d29.json
โ”‚ย ย  โ”œโ”€โ”€ 9da55bd553c07c38.json
โ”‚ย ย  โ”œโ”€โ”€ f40d923a3c2ba5ff.json
โ”‚ย ย  โ””โ”€โ”€ tableInfo.json
โ”œโ”€โ”€ loginlinks
โ”‚ย ย  โ”œโ”€โ”€ 1bc5169933e50cbc.json
โ”‚ย ย  โ”œโ”€โ”€ 2ddec09e77385aca.json
โ”‚ย ย  โ”œโ”€โ”€ a910b6f21813cb7.json
โ”‚ย ย  โ””โ”€โ”€ tableInfo.json
โ”œโ”€โ”€ permissions
โ”‚ย ย  โ”œโ”€โ”€ 1cf3af24befc2986.json
โ”‚ย ย  โ”œโ”€โ”€ 24610a1149367f1f.json
โ”‚ย ย  โ”œโ”€โ”€ d8b117b20fc79e3e.json
โ”‚ย ย  โ”œโ”€โ”€ def8539bbf7dbbc1.json
โ”‚ย ย  โ”œโ”€โ”€ e2416534c92d50f6.json
โ”‚ย ย  โ”œโ”€โ”€ eda87a7e1d6ba7a8.json
โ”‚ย ย  โ”œโ”€โ”€ f8b72c3cd42d295d.json
โ”‚ย ย  โ””โ”€โ”€ tableInfo.json
โ”œโ”€โ”€ sessions
โ”‚ย ย  โ”œโ”€โ”€ 25ec5e75a4d0b96f.json
โ”‚ย ย  โ”œโ”€โ”€ 2b6bed2dbdd0d2dc.json
โ”‚ย ย  โ”œโ”€โ”€ 533eebbd739bf327.json
โ”‚ย ย  โ”œโ”€โ”€ 6322375803c34598.json
โ”‚ย ย  โ”œโ”€โ”€ f4a0cb9d36f9030c.json
โ”‚ย ย  โ””โ”€โ”€ tableInfo.json
โ”œโ”€โ”€ transactions
โ”‚ย ย  โ”œโ”€โ”€ 6dac9e110f6dcb59.json
โ”‚ย ย  โ”œโ”€โ”€ 71d81f09f935a891.json
โ”‚ย ย  โ”œโ”€โ”€ 884a54fe68c52b7f.json
โ”‚ย ย  โ”œโ”€โ”€ 94ed31d563dd5dce.json
โ”‚ย ย  โ”œโ”€โ”€ 9f7332d5df0b2aa5.json
โ”‚ย ย  โ”œโ”€โ”€ _indexes
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ txID
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ indexInfo.json
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ txId
โ”‚ย ย  โ”‚ย ย      โ”œโ”€โ”€ 14e1d255dc1103d2.json
โ”‚ย ย  โ”‚ย ย      โ”œโ”€โ”€ 6675cc42541e074e.json
โ”‚ย ย  โ”‚ย ย      โ”œโ”€โ”€ 8034f1abf46bdbac.json
โ”‚ย ย  โ”‚ย ย      โ”œโ”€โ”€ 900589a13116162e.json
โ”‚ย ย  โ”‚ย ย      โ”œโ”€โ”€ 9fc943ed5e62a8fe.json
โ”‚ย ย  โ”‚ย ย      โ”œโ”€โ”€ a85c50b38192035e.json
โ”‚ย ย  โ”‚ย ย      โ”œโ”€โ”€ c96945c364a965e7.json
โ”‚ย ย  โ”‚ย ย      โ””โ”€โ”€ indexInfo.json
โ”‚ย ย  โ”œโ”€โ”€ c9ada5b8636ee642.json
โ”‚ย ย  โ”œโ”€โ”€ d79de05232b0ab86.json
โ”‚ย ย  โ””โ”€โ”€ tableInfo.json
โ””โ”€โ”€ users
    โ”œโ”€โ”€ 13a9cecf980fe729.json
    โ”œโ”€โ”€ 2262c20251836a31.json
    โ”œโ”€โ”€ 3c826d856f4daf66.json
    โ”œโ”€โ”€ 952dcc1b50eceb43.json
    โ”œโ”€โ”€ _indexes
    โ”‚ย ย  โ”œโ”€โ”€ email
    โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ 3b69159ce20cd7.json
    โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ c39cff5b3281c377.json
    โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ indexInfo.json
    โ”‚ย ย  โ””โ”€โ”€ username
    โ”‚ย ย      โ”œโ”€โ”€ 2262c20251836a31.json
    โ”‚ย ย      โ”œโ”€โ”€ 349061df5d4d8620.json
    โ”‚ย ย      โ”œโ”€โ”€ 47f95eca482d8154.json
    โ”‚ย ย      โ”œโ”€โ”€ 4dbe7d7a513519c4.json
    โ”‚ย ย      โ”œโ”€โ”€ 7dd764412ec98f45.json
    โ”‚ย ย      โ”œโ”€โ”€ b0ca406c54cb4fae.json
    โ”‚ย ย      โ”œโ”€โ”€ c0d82d5d5ef27d6.json
    โ”‚ย ย      โ””โ”€โ”€ indexInfo.json
    โ”œโ”€โ”€ ce2f089cb53133db.json
    โ”œโ”€โ”€ da6bffbeaccdaf91.json
    โ”œโ”€โ”€ debc8440b3334c1c.json
    โ””โ”€โ”€ tableInfo.json

12 directories, 59 files

Top

Example record file, dev-db/users/2262c20251836a31.json:

$ cat dev-db/users/2262c20251836a31.json
{
  "_owner": "nouser",
  "username": "nouser",
  "email": "[email protected]",
  "salt": 0,
  "passwordHash": "0000000000000000",
  "groups": [
    "nousers"
  ],
  "stripeCustomerID": "system_class_payment_account",
  "verified": false,
  "_id": "nouser"
}

Top

Example index directory, dev-db/users/_indexes/email/:

$ tail -n +1 users/_indexes/email/*
==> users/_indexes/email/3b69159ce20cd7.json <==
{
  "bm8tb25lQG5vd2hlcmUubm90aGluZw==": [
    "nouser"
  ]
}
==> users/_indexes/email/c39cff5b3281c377.json <==
{
  "Y3JpczdmZUBnbWFpbC5jb20=": [
    "9ywwsemd",
    "74lip6ki",
    "dvr1o4mz",
    "8dsu03bw",
    "dm8gvqo",
    "a2jkabsg"
  ]
}
==> users/_indexes/email/indexInfo.json <==
{
  "property_name": "email",
  "createdAt": 1601111295853
}

Top

Example git diff, dev-db/:

$ git diff --summary 10bb7bfdac9bff93bbec1edfc008f5177fdb83ad..HEAD .
 create mode 1006ff dev-db/loginlinks/76f1a77ff73a9cf.json
 create mode 1006ff dev-db/loginlinks/8a5e9f1ea0981aa7.json
 create mode 1006ff dev-db/sessions/13acaca8f8a350d3.json
 create mode 1006ff dev-db/sessions/1d098dfe01fa185c.json
 create mode 1006ff dev-db/sessions/a1d9ccab091bae1d.json
 create mode 1006ff dev-db/sessions/faaff97a9a7e58ea.json
 create mode 1006ff dev-db/sessions/a867a835c730609b.json
 create mode 1006ff dev-db/sessions/e380f1a8386f7aec.json
 create mode 1006ff dev-db/users/1ef87aa71096b050.json
 create mode 1006ff dev-db/users/3c5dbf1fca97d778.json
 create mode 1006ff dev-db/users/_indexes/email/c1301aa657367dc7.json
 create mode 1006ff dev-db/users/_indexes/email/caf961b8f1558e7.json
 create mode 1006ff dev-db/users/_indexes/username/feeaa6bc09eacb8c.json
 create mode 1006ff dev-db/users/_indexes/username/8a8af11l3e09b667.json

$ git diff 99db83ad..HEAD dev-db/
diff --git a/dev-db/loginlinks/8a5e1e1ea0081aa7.json b/dev-db/loginlinks/8a5e1e1ea0081aa7.json
new file mode 1006ff
index 0000000..caaa87b
--- /dev/null
+++ b/dev-db/loginlinks/8a5e1e1ea0081aa7.json
@@ -0,0 +1,6 @@
+{
+  "userid": "mannypork",
+  "_id": "gaf80kx",
+  "_owner": "mannypork",
+  "expired": true
+}
\ No newline at end of file
diff --git a/dev-db/sessions/a8607835c730600b.json b/dev-db/sessions/a8607835c730600b.json
new file mode 1006ff
index 0000000..163ceff
--- /dev/null
+++ b/dev-db/sessions/a8607835c730600b.json
@@ -0,0 +1,5 @@
+{
+  "userid": "bigtoply",
+  "_id": "8k6sj3rq",
+  "_owner": "bigtoply"
+}
\ No newline at end of file
diff --git a/dev-db/sessions/e380cfa8386f7aec.json b/dev-db/sessions/e380cfa8386f7aec.json
new file mode 1006ff
index 0000000..3fd67a7
--- /dev/null
+++ b/dev-db/sessions/e380cfa8386f7aec.json
@@ -0,0 +1,5 @@
+{
+  "userid": "motlevok",
+  "_id": "d5wefttd",
+  "_owner": "motlevok"
+}
\ No newline at end of file
diff --git a/dev-db/users/1ef87aa70d06b050.json b/dev-db/users/1ef87aa70d06b050.json
new file mode 1006ff
index 0000000..a65f715
--- /dev/null
+++ b/dev-db/users/1ef87aa70d06b050.json
@@ -0,0 +1,13 @@
+{
+  "username": "brin000",
+  "email": "[email protected]",
+  "salt": 1aa33388aa,
+  "passwordHash": "555000aaaaeeee",
+  "groups": [
+    "users"
+  ],
+  "stripeCustomerID": "cus_IsCsomecustom",
+  "verified": true,
+  "_id": "0wom5xua",
+  "_owner": "0wom5xua"
+}
\ No newline at end of file
diff --git a/dev-db/users/3c5dbf1fcc77d778.json b/dev-db/users/3c5dbf1fcc77d778.json
new file mode 1006ff
index 0000000..310afd0
--- /dev/null
+++ b/dev-db/users/3c5dbf1fcc77d778.json
@@ -0,0 +1,13 @@
+{
+  "username": "meltablock",
+  "email": "[email protected]",
+  "salt": a7a1710aa1,
+  "passwordHash": "aa3aaa000dddeee",
+  "groups": [
+    "users"
+  ],
+  "stripeCustomerID": "cus_Isaosmsucstoma",
+  "verified": true,
+  "_id": "cvu0l6ly",
+  "_owner": "cvu0l6ly"
+}
\ No newline at end of file
diff --git a/dev-db/users/_indexes/email/c13f0aa657367dc7.json b/dev-db/users/_indexes/email/c13f0aa657367dc7.json
new file mode 1006ff
index 0000000..0a00c00
--- /dev/null
+++ b/dev-db/users/_indexes/email/c13f0aa657367dc7.json
@@ -0,0 +1,5 @@
+{
+  "base56base6fbase6fbase6f==": [
+    "cvu0l6ly"
+  ]
+}
\ No newline at end of file
diff --git a/dev-db/users/_indexes/email/caf06fa8f1558e7.json b/dev-db/users/_indexes/email/caf06fa8f1558e7.json
new file mode 1006ff
index 0000000..fcea15d
--- /dev/null
+++ b/dev-db/users/_indexes/email/caf06fa8f1558e7.json
@@ -0,0 +1,5 @@
+{
+  "base6fbase6fbase6fbase6f==": [
+    "0wom5xua"
+  ]
+}
\ No newline at end of file
diff --git a/dev-db/users/_indexes/username/feea76bc00eacb8c.json b/dev-db/users/_indexes/username/feea76bc00eacb8c.json
new file mode 1006ff
index 0000000..bd356d0
--- /dev/null
+++ b/dev-db/users/_indexes/username/feea76bc00eacb8c.json
@@ -0,0 +1,5 @@
+{
+  "base6fbas6fbase6f==": [
+    "0wom5xua"
+  ]
+}
\ No newline at end of file

Top

contributing

Just open a PR. Before your PR can be considered tho, you'll need to sign the CLA. This will probably seem like a major issue for you, and a super annoying burden, especially because of the restrictive AGPL-3.0 license combined with the company-preferential CLA. I've tried to make it easy by utilizing CLA-assistant (which hooks into the PR process, and will guide you through signing) and templating my CLA off TimescaleDB's one, because I really like what they're doing in profitable open-source and I really fucking love their terms.

If you want to do major changes, that's great, but I recommend you check with me first (ideally over email: [email protected]), so that you don't waste your time.

notices

The logo was graciously donated by Jakub T. Jankiewicz.


Sir!

More Repositories

1

dn

๐Ÿ’พ dn - offline full-text search and archiving for your Chromium-based browser.
JavaScript
3,760
star
2

BrowserBoxPro

๐ŸŒ€ BrowserBoxPro - The internet. But unrestricted. And secure. Remote browser isolation product, available open-source here and for purchase on our website.
JavaScript
2,529
star
3

chai

chai - Experience Zero Trust security with Chai! Convert and view documents as vivid images right in your browser. No mandatory downloads, no hassleโ€”just pure, joyful security! ๐ŸŒˆ
JavaScript
361
star
4

DISCoHAsH

๐Ÿš€ DISCoHAsH - Simple, fast, quality hash in 120 lines. 10GB/s serial (depending on hardware). Also in NodeJS
C++
218
star
5

WeirdJSON

the JS/Node.JS library for encoding complex and unconventional data structures. Support for BigInts, TypedArrays, null, undefined, and Symbol. Multiple flavors available.
JavaScript
201
star
6

graderjs

๐Ÿ’ฆ Turn your full-stack NodeJS application into a downloadable cross-platform binary. Also works for SPAs, or regular web-sites.
Shell
154
star
7

beamsplitter

๐Ÿ’Ž Beamsplitter - A new (possibly universal) hash that passes SMHasher. Built mainly with a random 10x64 S-box. Also in NodeJS
C
90
star
8

puppetromium

๐ŸŽฉ A single tab web browser built with puppeteer. Also, no client-side JS. Viewport is streamed with MJPEG. For realz.
JavaScript
53
star
9

rain

Rain Hashes: Rainbow, Rainstorm and more! Support our work with a โญ ๐Ÿฅฐ
C++
31
star
10

devtoolium

๐Ÿ“ก expose browser devtools port publicly with TLS and authentication.
JavaScript
16
star
11

selector-generalization

๐Ÿ” selector-generalization - Select columns of data by clicking on examples.
JavaScript
16
star
12

floppsy

๐Ÿค floppsy - SMHasher-passing 200Mb/s hash using floating-point ops
JavaScript
12
star
13

browsergap.js

BrowserGap client side library. Check commercial product: https://dosyago.com
JavaScript
11
star
14

browsercontrollers.store

โšก BrowserController - A new distribution channel for your apps. More control than a browser extension, more lightweight than an Electron app. Just as powerful as Node.
3
star
15

Laminar

On-prem, downloadable, no phone-home web RPA solution to automate any sequence of interactions in the Chrome browser.
2
star
16

tarobox

๐Ÿฑ TaroBox - A simple pseudo-random number generator built from base64 and xor. Passes Dieharder, does not pass SMHasher. ๐Ÿคทโ€โ™‚๏ธ
C
2
star
17

xen

๐Ÿ‘ฝ xen - Discover unknown crypto tools. Like demos? https://cutt.ly/xen
JavaScript
2
star
18

dual-licensing

Dosyago software dual licensing information
1
star
19

vulnerability-reports

๐Ÿ”“ vulnerability-reports - Responsible Disclosures
1
star
20

jellyness

A WebRTC Chat Server
JavaScript
1
star
21

service-issues

Central contract point for Service Issues on DOSYAGO Products
1
star
22

bc-boilerplate

๐Ÿ“„ Get started developing a browser controller today, to fully leverage the power of Chrome-enabled apps in a downloadable binary without the bloat of Electron, or the limitations of Extensions.
1
star
23

tinymap

A world map in a single SVG, with latitude and longitude
1
star