Name: patchlite
Owner: Secure Scuttlebutt Consortium
Description: [WIP] A browser lite client for the Scuttlebutt network
Created: 2017-04-13 12:54:02.0
Updated: 2017-12-31 03:43:38.0
Pushed: 2017-07-04 11:05:07.0
Size: 47
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A browser client for the Scuttlebutt network
work in progress
Install Scuttlebot (your gossip server)
install scuttlebot@latest -g
ke sure you have secure-scuttlebutt@15.2.0
ls secure-scuttlebutt -g
server
you are already running patchwork, that also works.
ust have at least >= 2.8)
en in another tab (these must be separate commands)
plugins.install ssb-links
plugins.install ssb-query
plugins.install ssb-ws
plugins.install ssb-fulltext # for faster searches (optional)
start sbot server (go back to previous tab and kill it)
Set a WebSocket port in your config file (~/.ssb/config
).
s": {
"port": 8989
Install Patchlite (a browser interface for the your scuttlebutt database)
clone https://github.com/ssbc/patchlite.git
atchlite
install
Make sure scuttlebot is allowing private connections. Stop any running sbot server, restart it with the --allowPrivate
option and create a new modern invite:
server --allowPrivate
invite.create --modern
From inside the Patchlite repo folder, run:
start
This will build an html file at build/index.html
and start a static file server on local port 8000
.
Browse to http://localhost:8000# with your invite code appended on the end of the address. (#ws://localhost:8989...
)
You should see a page load and then automatically refresh, that is the invite being consumed.
When you load the page again, you will be loading your feed from your local sbot
over a WebSocket, it will take some time.
If you want to change your key or remote configuration, enter /config
in the “location bar” (top-right text field).
AGPL-3.0