home.social

#jsdb — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #jsdb, aggregated by home.social.

fetched live
  1. 🥳 JSDB¹ 7.1.0 release

    Added:

    • `JSTable.CHANGE` event. Fires when a value is changed (set) in memory. Guaranteed to fire before the `JSTable.PERSIST` event.

    Full change log: codeberg.org/small-tech/jsdb/s

    To install: npm install @small-tech/jsdb@latest

    Enjoy!

    💕

    ¹ JSDB is a free and open source, zero-dependency, transparent, in-memory, streaming write-on-update JavaScript database for the Small Web that persists to a JavaScript transaction log.

    Find out more and grab the source at codeberg.org/small-tech/jsdb

    #JavaScriptDatabase #JSDB #SmallWeb #SmallTech

  2. 🥳 JSDB¹ 7.1.0 release

    Added:

    • `JSTable.CHANGE` event. Fires when a value is changed (set) in memory. Guaranteed to fire before the `JSTable.PERSIST` event.

    Full change log: codeberg.org/small-tech/jsdb/s

    To install: npm install @small-tech/jsdb@latest

    Enjoy!

    💕

    ¹ JSDB is a free and open source, zero-dependency, transparent, in-memory, streaming write-on-update JavaScript database for the Small Web that persists to a JavaScript transaction log.

    Find out more and grab the source at codeberg.org/small-tech/jsdb

    #JavaScriptDatabase #JSDB #SmallWeb #SmallTech

  3. 🥳 JSDB¹ 7.1.0 release

    Added:

    • `JSTable.CHANGE` event. Fires when a value is changed (set) in memory. Guaranteed to fire before the `JSTable.PERSIST` event.

    Full change log: codeberg.org/small-tech/jsdb/s

    To install: npm install @small-tech/jsdb@latest

    Enjoy!

    💕

    ¹ JSDB is a free and open source, zero-dependency, transparent, in-memory, streaming write-on-update JavaScript database for the Small Web that persists to a JavaScript transaction log.

    Find out more and grab the source at codeberg.org/small-tech/jsdb

    #JavaScriptDatabase #JSDB #SmallWeb #SmallTech

  4. 🥳 JSDB¹ 7.1.0 release

    Added:

    • `JSTable.CHANGE` event. Fires when a value is changed (set) in memory. Guaranteed to fire before the `JSTable.PERSIST` event.

    Full change log: codeberg.org/small-tech/jsdb/s

    To install: npm install @small-tech/jsdb@latest

    Enjoy!

    💕

    ¹ JSDB is a free and open source, zero-dependency, transparent, in-memory, streaming write-on-update JavaScript database for the Small Web that persists to a JavaScript transaction log.

    Find out more and grab the source at codeberg.org/small-tech/jsdb

    #JavaScriptDatabase #JSDB #SmallWeb #SmallTech

  5. 🥳 JSDB¹ 7.1.0 release

    Added:

    • `JSTable.CHANGE` event. Fires when a value is changed (set) in memory. Guaranteed to fire before the `JSTable.PERSIST` event.

    Full change log: codeberg.org/small-tech/jsdb/s

    To install: npm install @small-tech/jsdb@latest

    Enjoy!

    💕

    ¹ JSDB is a free and open source, zero-dependency, transparent, in-memory, streaming write-on-update JavaScript database for the Small Web that persists to a JavaScript transaction log.

    Find out more and grab the source at codeberg.org/small-tech/jsdb

    #JavaScriptDatabase #JSDB #SmallWeb #SmallTech

  6. 🥳 New JavaScript Database (JSDB) release

    • Fix: Now properly handling array indices on `JSTable.PERSIST` events in the `keypath` property that’s passed to the event handler.

    Just noticed that the pretty keypaths of the JavaScript deltas written to the append-only log were ignoring array indices while playing with a new database introspection call I’m adding to the Kitten Interactive Shell (REPL) and fixed it.

    I’ll be updating Kitten shortly to use this version of JSDB and I haven’t forgotten my promise to record a little video of the new Kitten Introspection API.

    Enjoy!

    💕

    codeberg.org/small-tech/jsdb#r

    #JavaScriptDatabase #javascript #database #JSDB #SmallTech #SmallWeb #NodeJS

  7. 🥳 New JavaScript Database (JSDB) release

    • Fix: Now properly handling array indices on `JSTable.PERSIST` events in the `keypath` property that’s passed to the event handler.

    Just noticed that the pretty keypaths of the JavaScript deltas written to the append-only log were ignoring array indices while playing with a new database introspection call I’m adding to the Kitten Interactive Shell (REPL) and fixed it.

    I’ll be updating Kitten shortly to use this version of JSDB and I haven’t forgotten my promise to record a little video of the new Kitten Introspection API.

    Enjoy!

    💕

    codeberg.org/small-tech/jsdb#r

    #JavaScriptDatabase #javascript #database #JSDB #SmallTech #SmallWeb #NodeJS

  8. 🥳 New JavaScript Database (JSDB) release

    • Fix: Now properly handling array indices on `JSTable.PERSIST` events in the `keypath` property that’s passed to the event handler.

    Just noticed that the pretty keypaths of the JavaScript deltas written to the append-only log were ignoring array indices while playing with a new database introspection call I’m adding to the Kitten Interactive Shell (REPL) and fixed it.

    I’ll be updating Kitten shortly to use this version of JSDB and I haven’t forgotten my promise to record a little video of the new Kitten Introspection API.

    Enjoy!

    💕

    codeberg.org/small-tech/jsdb#r

    #JavaScriptDatabase #javascript #database #JSDB #SmallTech #SmallWeb #NodeJS

  9. 🥳 New JavaScript Database (JSDB) release

    • Fix: Now properly handling array indices on `JSTable.PERSIST` events in the `keypath` property that’s passed to the event handler.

    Just noticed that the pretty keypaths of the JavaScript deltas written to the append-only log were ignoring array indices while playing with a new database introspection call I’m adding to the Kitten Interactive Shell (REPL) and fixed it.

    I’ll be updating Kitten shortly to use this version of JSDB and I haven’t forgotten my promise to record a little video of the new Kitten Introspection API.

    Enjoy!

    💕

    codeberg.org/small-tech/jsdb#r

    #JavaScriptDatabase #javascript #database #JSDB #SmallTech #SmallWeb #NodeJS

  10. 🥳 New JavaScript Database (JSDB) release

    • Fix: Now properly handling array indices on `JSTable.PERSIST` events in the `keypath` property that’s passed to the event handler.

    Just noticed that the pretty keypaths of the JavaScript deltas written to the append-only log were ignoring array indices while playing with a new database introspection call I’m adding to the Kitten Interactive Shell (REPL) and fixed it.

    I’ll be updating Kitten shortly to use this version of JSDB and I haven’t forgotten my promise to record a little video of the new Kitten Introspection API.

    Enjoy!

    💕

    codeberg.org/small-tech/jsdb#r

    #JavaScriptDatabase #javascript #database #JSDB #SmallTech #SmallWeb #NodeJS

  11. Just made a little correction to the JavaScript Database (JSDB) Table Events section:

    Previously, the example that listens for the JSTable.PERSIST event was erroneously stating that the table was deleted when the `type` property in the event handlers parameter object was JSTable.DELETE. It now correctly states that the value at `keypath` was deleted.

    I also documented the JSTable.PERSIST types so they wouldn’t be confused with the JSTable event types (persist and delete; the latter of which does actually signal that the table – i.e., the append-only JavaScript log – was deleted.

    codeberg.org/small-tech/jsdb#t

    #SmallWeb #SmallTech #JavaScript #database #JSDB #documentation #events #fix

  12. Just made a little correction to the JavaScript Database (JSDB) Table Events section:

    Previously, the example that listens for the JSTable.PERSIST event was erroneously stating that the table was deleted when the `type` property in the event handlers parameter object was JSTable.DELETE. It now correctly states that the value at `keypath` was deleted.

    I also documented the JSTable.PERSIST types so they wouldn’t be confused with the JSTable event types (persist and delete; the latter of which does actually signal that the table – i.e., the append-only JavaScript log – was deleted.

    codeberg.org/small-tech/jsdb#t

    #SmallWeb #SmallTech #JavaScript #database #JSDB #documentation #events #fix

  13. Just made a little correction to the JavaScript Database (JSDB) Table Events section:

    Previously, the example that listens for the JSTable.PERSIST event was erroneously stating that the table was deleted when the `type` property in the event handlers parameter object was JSTable.DELETE. It now correctly states that the value at `keypath` was deleted.

    I also documented the JSTable.PERSIST types so they wouldn’t be confused with the JSTable event types (persist and delete; the latter of which does actually signal that the table – i.e., the append-only JavaScript log – was deleted.

    codeberg.org/small-tech/jsdb#t

    #SmallWeb #SmallTech #JavaScript #database #JSDB #documentation #events #fix

  14. Just made a little correction to the JavaScript Database (JSDB) Table Events section:

    Previously, the example that listens for the JSTable.PERSIST event was erroneously stating that the table was deleted when the `type` property in the event handlers parameter object was JSTable.DELETE. It now correctly states that the value at `keypath` was deleted.

    I also documented the JSTable.PERSIST types so they wouldn’t be confused with the JSTable event types (persist and delete; the latter of which does actually signal that the table – i.e., the append-only JavaScript log – was deleted.

    codeberg.org/small-tech/jsdb#t

    #SmallWeb #SmallTech #JavaScript #database #JSDB #documentation #events #fix

  15. Just made a little correction to the JavaScript Database (JSDB) Table Events section:

    Previously, the example that listens for the JSTable.PERSIST event was erroneously stating that the table was deleted when the `type` property in the event handlers parameter object was JSTable.DELETE. It now correctly states that the value at `keypath` was deleted.

    I also documented the JSTable.PERSIST types so they wouldn’t be confused with the JSTable event types (persist and delete; the latter of which does actually signal that the table – i.e., the append-only JavaScript log – was deleted.

    codeberg.org/small-tech/jsdb#t

    #SmallWeb #SmallTech #JavaScript #database #JSDB #documentation #events #fix

  16. 🥳 New Kitten release

    Just released a new version of Kitten that now includes JSDB 7.0.0 with its improved JSTable.PERSIST event.

    kitten.small-web.org

    Note that this is a breaking change. If you’re listening for the old 'persist' event, please update your code.

    For more information, please see the changelog: codeberg.org/kitten/app/src/br

    Enjoy!

    :kitten: 💕

    #SmallWeb #SmallTech #Kitten #KittenReleases #web #dev #JavaScriptDatabase #JSDB #NodeJS

  17. 🥳 New Kitten release

    Just released a new version of Kitten that now includes JSDB 7.0.0 with its improved JSTable.PERSIST event.

    kitten.small-web.org

    Note that this is a breaking change. If you’re listening for the old 'persist' event, please update your code.

    For more information, please see the changelog: codeberg.org/kitten/app/src/br

    Enjoy!

    :kitten: 💕

    #SmallWeb #SmallTech #Kitten #KittenReleases #web #dev #JavaScriptDatabase #JSDB #NodeJS

  18. 🥳 New Kitten release

    Just released a new version of Kitten that now includes JSDB 7.0.0 with its improved JSTable.PERSIST event.

    kitten.small-web.org

    Note that this is a breaking change. If you’re listening for the old 'persist' event, please update your code.

    For more information, please see the changelog: codeberg.org/kitten/app/src/br

    Enjoy!

    :kitten: 💕

    #SmallWeb #SmallTech #Kitten #KittenReleases #web #dev #JavaScriptDatabase #JSDB #NodeJS

  19. 🥳 New Kitten release

    Just released a new version of Kitten that now includes JSDB 7.0.0 with its improved JSTable.PERSIST event.

    kitten.small-web.org

    Note that this is a breaking change. If you’re listening for the old 'persist' event, please update your code.

    For more information, please see the changelog: codeberg.org/kitten/app/src/br

    Enjoy!

    :kitten: 💕

    #SmallWeb #SmallTech #Kitten #KittenReleases #web #dev #JavaScriptDatabase #JSDB #NodeJS

  20. 🥳 New Kitten release

    Just released a new version of Kitten that now includes JSDB 7.0.0 with its improved JSTable.PERSIST event.

    kitten.small-web.org

    Note that this is a breaking change. If you’re listening for the old 'persist' event, please update your code.

    For more information, please see the changelog: codeberg.org/kitten/app/src/br

    Enjoy!

    :kitten: 💕

    #SmallWeb #SmallTech #Kitten #KittenReleases #web #dev #JavaScriptDatabase #JSDB #NodeJS

  21. 🥳 JavaScript Database (JSDB)¹ version 7.0.0 released

    - *Breaking change* JSTable.PERSIST event now uses a parameter object with properties for `type`, `keypath`, `value`, `change`, and `table`. This should make listening for events on your databases much nicer to author. e.g., a snippet from Catalyst² I’m working on:

    ```js
    const settingsTable = db.settings['__table__']
    const JSTable = settingsTable.constructor

    settingsTable.addListener(JSTable.PERSIST, ({ keypath, value }) => {
    switch (keypath) {
    case 'servers.serverPoolSize':
    console.info('New server pool size requested', value)
    this.updateServerPool()
    break
    // etc.
    }
    })
    ```

    This new version of JSDB is not in the latest Kitten³ yet as it is a breaking change and I want to make sure I update my sites/apps first if needed. I should have it integrated tomorrow.

    To see the simple use case for JSDB in Kitten (the default untyped database that’s easy to get started with and perfect for quick experiments, little sites, etc.), see: kitten.small-web.org/tutorials

    For a more advanced tutorial for creating your own typed databases in Kitten, see the Database App Modules tutorial: kitten.small-web.org/tutorials

    For another example, see: codeberg.org/small-tech/jsdb/#

    Full change log: codeberg.org/small-tech/jsdb/s

    Enjoy!

    💕

    ¹ codeberg.org/small-tech/jsdb#r
    ² catalyst.small-web.org
    ³ kitten.small-web.org

    #JavaScriptDatabase #JavaScript #appendOnlyLog #JS #JSDB #JSDBUpdates #SmallTech #SmallWeb #Kitten #Catalyst

  22. 🥳 JavaScript Database (JSDB)¹ version 7.0.0 released

    - *Breaking change* JSTable.PERSIST event now uses a parameter object with properties for `type`, `keypath`, `value`, `change`, and `table`. This should make listening for events on your databases much nicer to author. e.g., a snippet from Catalyst² I’m working on:

    ```js
    const settingsTable = db.settings['__table__']
    const JSTable = settingsTable.constructor

    settingsTable.addListener(JSTable.PERSIST, ({ keypath, value }) => {
    switch (keypath) {
    case 'servers.serverPoolSize':
    console.info('New server pool size requested', value)
    this.updateServerPool()
    break
    // etc.
    }
    })
    ```

    This new version of JSDB is not in the latest Kitten³ yet as it is a breaking change and I want to make sure I update my sites/apps first if needed. I should have it integrated tomorrow.

    To see the simple use case for JSDB in Kitten (the default untyped database that’s easy to get started with and perfect for quick experiments, little sites, etc.), see: kitten.small-web.org/tutorials

    For a more advanced tutorial for creating your own typed databases in Kitten, see the Database App Modules tutorial: kitten.small-web.org/tutorials

    For another example, see: codeberg.org/small-tech/jsdb/#

    Full change log: codeberg.org/small-tech/jsdb/s

    Enjoy!

    💕

    ¹ codeberg.org/small-tech/jsdb#r
    ² catalyst.small-web.org
    ³ kitten.small-web.org

    #JavaScriptDatabase #JavaScript #appendOnlyLog #JS #JSDB #JSDBUpdates #SmallTech #SmallWeb #Kitten #Catalyst

  23. 🥳 JavaScript Database (JSDB)¹ version 7.0.0 released

    - *Breaking change* JSTable.PERSIST event now uses a parameter object with properties for `type`, `keypath`, `value`, `change`, and `table`. This should make listening for events on your databases much nicer to author. e.g., a snippet from Catalyst² I’m working on:

    ```js
    const settingsTable = db.settings['__table__']
    const JSTable = settingsTable.constructor

    settingsTable.addListener(JSTable.PERSIST, ({ keypath, value }) => {
    switch (keypath) {
    case 'servers.serverPoolSize':
    console.info('New server pool size requested', value)
    this.updateServerPool()
    break
    // etc.
    }
    })
    ```

    This new version of JSDB is not in the latest Kitten³ yet as it is a breaking change and I want to make sure I update my sites/apps first if needed. I should have it integrated tomorrow.

    To see the simple use case for JSDB in Kitten (the default untyped database that’s easy to get started with and perfect for quick experiments, little sites, etc.), see: kitten.small-web.org/tutorials

    For a more advanced tutorial for creating your own typed databases in Kitten, see the Database App Modules tutorial: kitten.small-web.org/tutorials

    For another example, see: codeberg.org/small-tech/jsdb/#

    Full change log: codeberg.org/small-tech/jsdb/s

    Enjoy!

    💕

    ¹ codeberg.org/small-tech/jsdb#r
    ² catalyst.small-web.org
    ³ kitten.small-web.org

    #JavaScriptDatabase #JavaScript #appendOnlyLog #JS #JSDB #JSDBUpdates #SmallTech #SmallWeb #Kitten #Catalyst

  24. 🥳 JavaScript Database (JSDB)¹ version 7.0.0 released

    - *Breaking change* JSTable.PERSIST event now uses a parameter object with properties for `type`, `keypath`, `value`, `change`, and `table`. This should make listening for events on your databases much nicer to author. e.g., a snippet from Catalyst² I’m working on:

    ```js
    const settingsTable = db.settings['__table__']
    const JSTable = settingsTable.constructor

    settingsTable.addListener(JSTable.PERSIST, ({ keypath, value }) => {
    switch (keypath) {
    case 'servers.serverPoolSize':
    console.info('New server pool size requested', value)
    this.updateServerPool()
    break
    // etc.
    }
    })
    ```

    This new version of JSDB is not in the latest Kitten³ yet as it is a breaking change and I want to make sure I update my sites/apps first if needed. I should have it integrated tomorrow.

    To see the simple use case for JSDB in Kitten (the default untyped database that’s easy to get started with and perfect for quick experiments, little sites, etc.), see: kitten.small-web.org/tutorials

    For a more advanced tutorial for creating your own typed databases in Kitten, see the Database App Modules tutorial: kitten.small-web.org/tutorials

    For another example, see: codeberg.org/small-tech/jsdb/#

    Full change log: codeberg.org/small-tech/jsdb/s

    Enjoy!

    💕

    ¹ codeberg.org/small-tech/jsdb#r
    ² catalyst.small-web.org
    ³ kitten.small-web.org

    #JavaScriptDatabase #JavaScript #appendOnlyLog #JS #JSDB #JSDBUpdates #SmallTech #SmallWeb #Kitten #Catalyst

  25. 🥳 JavaScript Database (JSDB)¹ version 7.0.0 released

    - *Breaking change* JSTable.PERSIST event now uses a parameter object with properties for `type`, `keypath`, `value`, `change`, and `table`. This should make listening for events on your databases much nicer to author. e.g., a snippet from Catalyst² I’m working on:

    ```js
    const settingsTable = db.settings['__table__']
    const JSTable = settingsTable.constructor

    settingsTable.addListener(JSTable.PERSIST, ({ keypath, value }) => {
    switch (keypath) {
    case 'servers.serverPoolSize':
    console.info('New server pool size requested', value)
    this.updateServerPool()
    break
    // etc.
    }
    })
    ```

    This new version of JSDB is not in the latest Kitten³ yet as it is a breaking change and I want to make sure I update my sites/apps first if needed. I should have it integrated tomorrow.

    To see the simple use case for JSDB in Kitten (the default untyped database that’s easy to get started with and perfect for quick experiments, little sites, etc.), see: kitten.small-web.org/tutorials

    For a more advanced tutorial for creating your own typed databases in Kitten, see the Database App Modules tutorial: kitten.small-web.org/tutorials

    For another example, see: codeberg.org/small-tech/jsdb/#

    Full change log: codeberg.org/small-tech/jsdb/s

    Enjoy!

    💕

    ¹ codeberg.org/small-tech/jsdb#r
    ² catalyst.small-web.org
    ³ kitten.small-web.org

    #JavaScriptDatabase #JavaScript #appendOnlyLog #JS #JSDB #JSDBUpdates #SmallTech #SmallWeb #Kitten #Catalyst

  26. The built-in database backup and restore feature in Kitten¹ (that actually works and is in the Kitten Settings section of every Kitten app) just saved my ass (again) :)

    Thank you, past me ;)

    ¹ kitten.small-web.org

    #Kitten #JSDB #backups #SmallWeb #SmallTech

  27. The built-in database backup and restore feature in Kitten¹ (that actually works and is in the Kitten Settings section of every Kitten app) just saved my ass (again) :)

    Thank you, past me ;)

    ¹ kitten.small-web.org

    #Kitten #JSDB #backups #SmallWeb #SmallTech

  28. The built-in database backup and restore feature in Kitten¹ (that actually works and is in the Kitten Settings section of every Kitten app) just saved my ass (again) :)

    Thank you, past me ;)

    ¹ kitten.small-web.org

    #Kitten #JSDB #backups #SmallWeb #SmallTech

  29. The built-in database backup and restore feature in Kitten¹ (that actually works and is in the Kitten Settings section of every Kitten app) just saved my ass (again) :)

    Thank you, past me ;)

    ¹ kitten.small-web.org

    #Kitten #JSDB #backups #SmallWeb #SmallTech

  30. The built-in database backup and restore feature in Kitten¹ (that actually works and is in the Kitten Settings section of every Kitten app) just saved my ass (again) :)

    Thank you, past me ;)

    ¹ kitten.small-web.org

    #Kitten #JSDB #backups #SmallWeb #SmallTech

  31. 🥳 JavaScript Database (JSDB) version 6.1.4 released:

    • Adds TypeScript type definitions

    Been meaning to do this for a while and finally got round to it :)

    codeberg.org/small-tech/jsdb#j

    #JavaScript #database #JavaScriptDatabase #JSDB #native #data #web #dev #NodeJS #SmallWeb

  32. 🥳 JavaScript Database (JSDB) version 6.1.4 released:

    • Adds TypeScript type definitions

    Been meaning to do this for a while and finally got round to it :)

    codeberg.org/small-tech/jsdb#j

    #JavaScript #database #JavaScriptDatabase #JSDB #native #data #web #dev #NodeJS #SmallWeb

  33. 🥳 JavaScript Database (JSDB) version 6.1.4 released:

    • Adds TypeScript type definitions

    Been meaning to do this for a while and finally got round to it :)

    codeberg.org/small-tech/jsdb#j

    #JavaScript #database #JavaScriptDatabase #JSDB #native #data #web #dev #NodeJS #SmallWeb

  34. 🥳 JavaScript Database (JSDB) version 6.1.4 released:

    • Adds TypeScript type definitions

    Been meaning to do this for a while and finally got round to it :)

    codeberg.org/small-tech/jsdb#j

    #JavaScript #database #JavaScriptDatabase #JSDB #native #data #web #dev #NodeJS #SmallWeb

  35. 🥳 JavaScript Database (JSDB) version 6.1.4 released:

    • Adds TypeScript type definitions

    Been meaning to do this for a while and finally got round to it :)

    codeberg.org/small-tech/jsdb#j

    #JavaScript #database #JavaScriptDatabase #JSDB #native #data #web #dev #NodeJS #SmallWeb

  36. 👋🤓 Goodbye Site.js, Hello Kitten!

    I started working on creating a Small Web¹ server (a peer-to-peer Web server) six years ago² with Site.js.

    Building Site.js was my first attempt. And it resulted in:

    • Auto Encrypt (automatic Let’s Encrypt certificates): codeberg.org/small-tech/auto-e

    • Auto Encrypt Localhost (automatic localhost TLS certificates): codeberg.org/small-tech/auto-e

    • @small-tech/https (drop-in Node.js https module replacement with automatic TLS certs everywhere): codeberg.org/small-tech/https

    • JSDB: In-process, in-memory JavaScript database that persists to append-only JavaScript logs: codeberg.org/small-tech/jsdb

    As Site.js reached an evolutionary dead-end, and as I learned from my experiements with replicated data types that replicated data types are *not* a prerequisite for a decentralised web (actual topological decentralisation and ease of use are), I started writing a new server/platform called Kitten from scratch while still making use of the tried and tested modules listed above.

    Last week, I switched over our last site using Site.js to Kitten and, with that, today I’ve sunset³ Site.js:

    sitejs.org

    For its successor, please see Kitten:

    kitten.small-web.org

    If you want to support our work at the Small Technology Foundation, please consider becoming a patron:

    small-tech.org/fund-us

    :kitten:💕

    ¹ ar.al/2024/06/24/small-web-com
    ² ar.al/2019/08/26/introducing-s
    ³ Using our instance of Look Over There!: look-over-there.small-web.org

    #SiteJS #SmallWeb #SmallTech #peerToPeerWeb #SmallTechnologyFoundation #AutoEncrypt #AutoEncryptLocalhost #JSDB #JavaScriptDatabase #https #TLS

  37. 👋🤓 Goodbye Site.js, Hello Kitten!

    I started working on creating a Small Web¹ server (a peer-to-peer Web server) six years ago² with Site.js.

    Building Site.js was my first attempt. And it resulted in:

    • Auto Encrypt (automatic Let’s Encrypt certificates): codeberg.org/small-tech/auto-e

    • Auto Encrypt Localhost (automatic localhost TLS certificates): codeberg.org/small-tech/auto-e

    • @small-tech/https (drop-in Node.js https module replacement with automatic TLS certs everywhere): codeberg.org/small-tech/https

    • JSDB: In-process, in-memory JavaScript database that persists to append-only JavaScript logs: codeberg.org/small-tech/jsdb

    As Site.js reached an evolutionary dead-end, and as I learned from my experiements with replicated data types that replicated data types are *not* a prerequisite for a decentralised web (actual topological decentralisation and ease of use are), I started writing a new server/platform called Kitten from scratch while still making use of the tried and tested modules listed above.

    Last week, I switched over our last site using Site.js to Kitten and, with that, today I’ve sunset³ Site.js:

    sitejs.org

    For its successor, please see Kitten:

    kitten.small-web.org

    If you want to support our work at the Small Technology Foundation, please consider becoming a patron:

    small-tech.org/fund-us

    :kitten:💕

    ¹ ar.al/2024/06/24/small-web-com
    ² ar.al/2019/08/26/introducing-s
    ³ Using our instance of Look Over There!: look-over-there.small-web.org

    #SiteJS #SmallWeb #SmallTech #peerToPeerWeb #SmallTechnologyFoundation #AutoEncrypt #AutoEncryptLocalhost #JSDB #JavaScriptDatabase #https #TLS

  38. 👋🤓 Goodbye Site.js, Hello Kitten!

    I started working on creating a Small Web¹ server (a peer-to-peer Web server) six years ago² with Site.js.

    Building Site.js was my first attempt. And it resulted in:

    • Auto Encrypt (automatic Let’s Encrypt certificates): codeberg.org/small-tech/auto-e

    • Auto Encrypt Localhost (automatic localhost TLS certificates): codeberg.org/small-tech/auto-e

    • @small-tech/https (drop-in Node.js https module replacement with automatic TLS certs everywhere): codeberg.org/small-tech/https

    • JSDB: In-process, in-memory JavaScript database that persists to append-only JavaScript logs: codeberg.org/small-tech/jsdb

    As Site.js reached an evolutionary dead-end, and as I learned from my experiements with replicated data types that replicated data types are *not* a prerequisite for a decentralised web (actual topological decentralisation and ease of use are), I started writing a new server/platform called Kitten from scratch while still making use of the tried and tested modules listed above.

    Last week, I switched over our last site using Site.js to Kitten and, with that, today I’ve sunset³ Site.js:

    sitejs.org

    For its successor, please see Kitten:

    kitten.small-web.org

    If you want to support our work at the Small Technology Foundation, please consider becoming a patron:

    small-tech.org/fund-us

    :kitten:💕

    ¹ ar.al/2024/06/24/small-web-com
    ² ar.al/2019/08/26/introducing-s
    ³ Using our instance of Look Over There!: look-over-there.small-web.org

    #SiteJS #SmallWeb #SmallTech #peerToPeerWeb #SmallTechnologyFoundation #AutoEncrypt #AutoEncryptLocalhost #JSDB #JavaScriptDatabase #https #TLS

  39. 👋🤓 Goodbye Site.js, Hello Kitten!

    I started working on creating a Small Web¹ server (a peer-to-peer Web server) six years ago² with Site.js.

    Building Site.js was my first attempt. And it resulted in:

    • Auto Encrypt (automatic Let’s Encrypt certificates): codeberg.org/small-tech/auto-e

    • Auto Encrypt Localhost (automatic localhost TLS certificates): codeberg.org/small-tech/auto-e

    • @small-tech/https (drop-in Node.js https module replacement with automatic TLS certs everywhere): codeberg.org/small-tech/https

    • JSDB: In-process, in-memory JavaScript database that persists to append-only JavaScript logs: codeberg.org/small-tech/jsdb

    As Site.js reached an evolutionary dead-end, and as I learned from my experiements with replicated data types that replicated data types are *not* a prerequisite for a decentralised web (actual topological decentralisation and ease of use are), I started writing a new server/platform called Kitten from scratch while still making use of the tried and tested modules listed above.

    Last week, I switched over our last site using Site.js to Kitten and, with that, today I’ve sunset³ Site.js:

    sitejs.org

    For its successor, please see Kitten:

    kitten.small-web.org

    If you want to support our work at the Small Technology Foundation, please consider becoming a patron:

    small-tech.org/fund-us

    :kitten:💕

    ¹ ar.al/2024/06/24/small-web-com
    ² ar.al/2019/08/26/introducing-s
    ³ Using our instance of Look Over There!: look-over-there.small-web.org

    #SiteJS #SmallWeb #SmallTech #peerToPeerWeb #SmallTechnologyFoundation #AutoEncrypt #AutoEncryptLocalhost #JSDB #JavaScriptDatabase #https #TLS

  40. 👋🤓 Goodbye Site.js, Hello Kitten!

    I started working on creating a Small Web¹ server (a peer-to-peer Web server) six years ago² with Site.js.

    Building Site.js was my first attempt. And it resulted in:

    • Auto Encrypt (automatic Let’s Encrypt certificates): codeberg.org/small-tech/auto-e

    • Auto Encrypt Localhost (automatic localhost TLS certificates): codeberg.org/small-tech/auto-e

    • @small-tech/https (drop-in Node.js https module replacement with automatic TLS certs everywhere): codeberg.org/small-tech/https

    • JSDB: In-process, in-memory JavaScript database that persists to append-only JavaScript logs: codeberg.org/small-tech/jsdb

    As Site.js reached an evolutionary dead-end, and as I learned from my experiements with replicated data types that replicated data types are *not* a prerequisite for a decentralised web (actual topological decentralisation and ease of use are), I started writing a new server/platform called Kitten from scratch while still making use of the tried and tested modules listed above.

    Last week, I switched over our last site using Site.js to Kitten and, with that, today I’ve sunset³ Site.js:

    sitejs.org

    For its successor, please see Kitten:

    kitten.small-web.org

    If you want to support our work at the Small Technology Foundation, please consider becoming a patron:

    small-tech.org/fund-us

    :kitten:💕

    ¹ ar.al/2024/06/24/small-web-com
    ² ar.al/2019/08/26/introducing-s
    ³ Using our instance of Look Over There!: look-over-there.small-web.org

    #SiteJS #SmallWeb #SmallTech #peerToPeerWeb #SmallTechnologyFoundation #AutoEncrypt #AutoEncryptLocalhost #JSDB #JavaScriptDatabase #https #TLS

  41. 🔒 New Kitten & JSDB Releases

    Security fix, JSDB 6.0.1.

    This is a critical update.

    • JSDB¹ versions 6.0.0 and below suffer from potential data corruption/arbitrary code execution as string keys were not being sanitised in the same way string values were² (so this is relevant to you if you’re storing untrusted data as keys in your data structures in JSDB and/or Kitten databases without carrying out any of your own sanitisation at the application level).

    • The latest Kitten release uses JSDB version 6.0.1. Your deployment servers will automatically update in the next few hours. On your development machines, please run `kitten update` in your terminal or use the Update feature in Kitten Settings from your browser.

    • If you are using Kitten’s Database App Modules³ feature in your apps, you will have installed JSDB manually and you should update your installation to version 6.0.1.

    ¹ codeberg.org/small-tech/jsdb/
    ² codeberg.org/small-tech/jsdb/i
    ³ kitten.small-web.org/reference

    #Kitten #SmallWeb #JSDB #JavaScriptDatabase #KittenRelease #JSDBRelease #securityUpdate #criticalUpdate

  42. 🔒 New Kitten & JSDB Releases

    Security fix, JSDB 6.0.1.

    This is a critical update.

    • JSDB¹ versions 6.0.0 and below suffer from potential data corruption/arbitrary code execution as string keys were not being sanitised in the same way string values were² (so this is relevant to you if you’re storing untrusted data as keys in your data structures in JSDB and/or Kitten databases without carrying out any of your own sanitisation at the application level).

    • The latest Kitten release uses JSDB version 6.0.1. Your deployment servers will automatically update in the next few hours. On your development machines, please run `kitten update` in your terminal or use the Update feature in Kitten Settings from your browser.

    • If you are using Kitten’s Database App Modules³ feature in your apps, you will have installed JSDB manually and you should update your installation to version 6.0.1.

    ¹ codeberg.org/small-tech/jsdb/
    ² codeberg.org/small-tech/jsdb/i
    ³ kitten.small-web.org/reference

    #Kitten #SmallWeb #JSDB #JavaScriptDatabase #KittenRelease #JSDBRelease #securityUpdate #criticalUpdate

  43. 🔒 New Kitten & JSDB Releases

    Security fix, JSDB 6.0.1.

    This is a critical update.

    • JSDB¹ versions 6.0.0 and below suffer from potential data corruption/arbitrary code execution as string keys were not being sanitised in the same way string values were² (so this is relevant to you if you’re storing untrusted data as keys in your data structures in JSDB and/or Kitten databases without carrying out any of your own sanitisation at the application level).

    • The latest Kitten release uses JSDB version 6.0.1. Your deployment servers will automatically update in the next few hours. On your development machines, please run `kitten update` in your terminal or use the Update feature in Kitten Settings from your browser.

    • If you are using Kitten’s Database App Modules³ feature in your apps, you will have installed JSDB manually and you should update your installation to version 6.0.1.

    ¹ codeberg.org/small-tech/jsdb/
    ² codeberg.org/small-tech/jsdb/i
    ³ kitten.small-web.org/reference

    #Kitten #SmallWeb #JSDB #JavaScriptDatabase #KittenRelease #JSDBRelease #securityUpdate #criticalUpdate

  44. 🔒 New Kitten & JSDB Releases

    Security fix, JSDB 6.0.1.

    This is a critical update.

    • JSDB¹ versions 6.0.0 and below suffer from potential data corruption/arbitrary code execution as string keys were not being sanitised in the same way string values were² (so this is relevant to you if you’re storing untrusted data as keys in your data structures in JSDB and/or Kitten databases without carrying out any of your own sanitisation at the application level).

    • The latest Kitten release uses JSDB version 6.0.1. Your deployment servers will automatically update in the next few hours. On your development machines, please run `kitten update` in your terminal or use the Update feature in Kitten Settings from your browser.

    • If you are using Kitten’s Database App Modules³ feature in your apps, you will have installed JSDB manually and you should update your installation to version 6.0.1.

    ¹ codeberg.org/small-tech/jsdb/
    ² codeberg.org/small-tech/jsdb/i
    ³ kitten.small-web.org/reference

    #Kitten #SmallWeb #JSDB #JavaScriptDatabase #KittenRelease #JSDBRelease #securityUpdate #criticalUpdate

  45. 🔒 New Kitten & JSDB Releases

    Security fix, JSDB 6.0.1.

    This is a critical update.

    • JSDB¹ versions 6.0.0 and below suffer from potential data corruption/arbitrary code execution as string keys were not being sanitised in the same way string values were² (so this is relevant to you if you’re storing untrusted data as keys in your data structures in JSDB and/or Kitten databases without carrying out any of your own sanitisation at the application level).

    • The latest Kitten release uses JSDB version 6.0.1. Your deployment servers will automatically update in the next few hours. On your development machines, please run `kitten update` in your terminal or use the Update feature in Kitten Settings from your browser.

    • If you are using Kitten’s Database App Modules³ feature in your apps, you will have installed JSDB manually and you should update your installation to version 6.0.1.

    ¹ codeberg.org/small-tech/jsdb/
    ² codeberg.org/small-tech/jsdb/i
    ³ kitten.small-web.org/reference

    #Kitten #SmallWeb #JSDB #JavaScriptDatabase #KittenRelease #JSDBRelease #securityUpdate #criticalUpdate

  46. New Kitten release

    • Fixes #236¹: The data preview pages in Kitten’s settings how handle circular references in the deserialised data (which may contain your custom classes if that’s what you were persisting in the database).

    kitten.small-web.org

    :kitten:💕

    PS. Those pages are very rudimentary at the moment and are good for getting quick visual overview of the data you’re persisting. For a fully interactive view, use Kitten’s interactive shell (REPL)² to explore your data until I’ve had a chance to implement a more comprehensive visual interface.

    PPS. You persist data in Kitten using the built-in JavaScript Database (JSDB)³ (Or, of course, you can install and use any other database.)

    ¹ codeberg.org/kitten/app/issues
    ² kitten.small-web.org/reference
    ³ codeberg.org/small-tech/jsdb#j

    #Kitten #SmallWeb #update #changes #database #JavaScriptDatabase #JSDB #javascript #nodeJS #web #dev

  47. New Kitten release

    • Fixes #236¹: The data preview pages in Kitten’s settings how handle circular references in the deserialised data (which may contain your custom classes if that’s what you were persisting in the database).

    kitten.small-web.org

    :kitten:💕

    PS. Those pages are very rudimentary at the moment and are good for getting quick visual overview of the data you’re persisting. For a fully interactive view, use Kitten’s interactive shell (REPL)² to explore your data until I’ve had a chance to implement a more comprehensive visual interface.

    PPS. You persist data in Kitten using the built-in JavaScript Database (JSDB)³ (Or, of course, you can install and use any other database.)

    ¹ codeberg.org/kitten/app/issues
    ² kitten.small-web.org/reference
    ³ codeberg.org/small-tech/jsdb#j

    #Kitten #SmallWeb #update #changes #database #JavaScriptDatabase #JSDB #javascript #nodeJS #web #dev

  48. New Kitten release

    • Fixes #236¹: The data preview pages in Kitten’s settings how handle circular references in the deserialised data (which may contain your custom classes if that’s what you were persisting in the database).

    kitten.small-web.org

    :kitten:💕

    PS. Those pages are very rudimentary at the moment and are good for getting quick visual overview of the data you’re persisting. For a fully interactive view, use Kitten’s interactive shell (REPL)² to explore your data until I’ve had a chance to implement a more comprehensive visual interface.

    PPS. You persist data in Kitten using the built-in JavaScript Database (JSDB)³ (Or, of course, you can install and use any other database.)

    ¹ codeberg.org/kitten/app/issues
    ² kitten.small-web.org/reference
    ³ codeberg.org/small-tech/jsdb#j

    #Kitten #SmallWeb #update #changes #database #JavaScriptDatabase #JSDB #javascript #nodeJS #web #dev

  49. New Kitten release

    • Fixes #236¹: The data preview pages in Kitten’s settings how handle circular references in the deserialised data (which may contain your custom classes if that’s what you were persisting in the database).

    kitten.small-web.org

    :kitten:💕

    PS. Those pages are very rudimentary at the moment and are good for getting quick visual overview of the data you’re persisting. For a fully interactive view, use Kitten’s interactive shell (REPL)² to explore your data until I’ve had a chance to implement a more comprehensive visual interface.

    PPS. You persist data in Kitten using the built-in JavaScript Database (JSDB)³ (Or, of course, you can install and use any other database.)

    ¹ codeberg.org/kitten/app/issues
    ² kitten.small-web.org/reference
    ³ codeberg.org/small-tech/jsdb#j

    #Kitten #SmallWeb #update #changes #database #JavaScriptDatabase #JSDB #javascript #nodeJS #web #dev

  50. New Kitten release

    • Fixes #236¹: The data preview pages in Kitten’s settings how handle circular references in the deserialised data (which may contain your custom classes if that’s what you were persisting in the database).

    kitten.small-web.org

    :kitten:💕

    PS. Those pages are very rudimentary at the moment and are good for getting quick visual overview of the data you’re persisting. For a fully interactive view, use Kitten’s interactive shell (REPL)² to explore your data until I’ve had a chance to implement a more comprehensive visual interface.

    PPS. You persist data in Kitten using the built-in JavaScript Database (JSDB)³ (Or, of course, you can install and use any other database.)

    ¹ codeberg.org/kitten/app/issues
    ² kitten.small-web.org/reference
    ³ codeberg.org/small-tech/jsdb#j

    #Kitten #SmallWeb #update #changes #database #JavaScriptDatabase #JSDB #javascript #nodeJS #web #dev