📄 | .gitignore |
📄 | README.md |
📄 | package-lock.json |
📄 | package.json |
📁 | public |
📄 | rollup.config.js |
📁 | src |
PatchBoot
Bootstrapp your Secure Scuttlebutt Client.
Functionality
PatchBoot allows executing (small) apps retrieved via ssb. These patchboot apps can access scuttlebut (sbot) as well as a DOM to interact with the user. These allows to enrich your scuttling experience with apps you get from your friends on Scuttlebutt.
Getting started
PatchBoot is available in different flavours. Choose the PatchBoot flavour that best fits your needs.
PatchBoot Scuttle Browser
This version can be accessed with a browser that has the Scuttle Shell Browser extension installed. This version is contained in this repository as a large part of its code can also be used in the other flavours.
PatchBoot Electron
PatchBoot Electron provides a PatchBoot environment as a Desktop Application. This is the easiest option as it doesn't require configuration of the ssb-server or the browser.
PatchBoot Web / ssb-patchnoot-ws
The ssb server plugin ssb-patchnoot-ws
gives access to PatchBoot via the browser.
Publishing PatchBoot Apps
Apps are advertised using mesages of the type patchboot-app
like the followig
{
"type": "patchboot-app",
"name": "WomBat Launcher",
"comment": "A friendly new launcher",
"link": "&CKrrSh72rXhgCzeTKekAPf7fiwtmNml/yFjXCe4ovnE=.sha256",
}
The link points to the JavaScript comprising the app. The JavaScript code has access to the following variables:
sbot
: an rpc connection to an sbotroot
: the root of the shadow DOMpull
: the pull-stream function object
PatchBoot Install
The patchboot-install
package provides an executable to deploy patchboot-apps. It is typically used in an npm-script as shown in the example app (git ssb|GitHub).
Built with git-ssb-web