README.mdView |
---|
1 | 1 … | # ScuttleVue |
2 | 2 … | |
| 3 … | +`ssb://%8vv8XCSh/Xbq1iEiJ0Kucl746jltMGPOduqOE3CYQ3Q=.sha256` |
| 4 … | + |
3 | 5 … | > A VueJS based scuttlebutt client based on Minbay and depject |
4 | 6 … | |
| 7 … | +A scuttlebutt decentralised network browser client designed to be easy to change the templates for, while trying to abstract away the raw data stuff. |
| 8 … | + |
| 9 … | + |
| 10 … | + |
5 | 11 … | ## Build Setup |
6 | 12 … | |
7 | 13 … | ``` bash |
8 | 14 … | # install dependencies |
10 | 16 … | |
11 | 17 … | # serve with hot reload at localhost:8080 |
12 | 18 … | npm run dev |
13 | 19 … | |
14 | | -# build for production with minification |
| 20 … | +# build for production |
15 | 21 … | npm run build |
16 | 22 … | |
17 | 23 … | ``` |
18 | 24 … | |
19 | | -For more information see the [docs for vueify](https://github.com/vuejs/vueify). |
| 25 … | +## Scuttlebutt Setup |
| 26 … | + |
| 27 … | +``` bash |
| 28 … | +# install scuttlebutt |
| 29 … | +npm i scuttlebot@latest -g |
| 30 … | + |
| 31 … | +# spin up sbot |
| 32 … | +sbot server |
| 33 … | + |
| 34 … | +# in another process, accept an invite and sync to the scuttleverse |
| 35 … | +sbot invite.accept "ws://the_pub_you_got_an_invite_from~shs:TXKFQehlyoS_invite_code_blah_blah=" |
| 36 … | + |
| 37 … | +# get your local sbot websocket address |
| 38 … | +sbot getAddress |
| 39 … | + |
| 40 … | +# get your public/private key |
| 41 … | +cat ~/.ssb/private |
| 42 … | + |
| 43 … | +# place these in browser storage (until this part is built in the app) |
| 44 … | + |
| 45 … | +localStorage.setItem("/.ssb/secret", '{"curve":"ed25519","public":"IZckcDcgB....."}') |
| 46 … | + |
| 47 … | +localStorage.setItem("browser/.ssb/secret", '{"curve":"ed25519","public":"IZckcDcgB....."}') |
| 48 … | + |
| 49 … | +localStorage.setItem("remote", 'ws://localhost:8989~shs:TXKFQ.....=') |
| 50 … | +``` |
| 51 … | + |
| 52 … | +``` |