git ssb

1+

mixmix / scuttle-shell



Commit ef3dae6fb3beca286ae899aae35601e349f93c05

adding plugins

andre alves garzia committed on 6/28/2018, 11:26:43 PM
Parent: 127f1e06b127fbdfba1b9259fa62bd0a6bdb3050

Files changed

README.mdchanged
package-lock.jsonchanged
package.jsonchanged
server.jschanged
README.mdView
@@ -39,6 +39,6 @@
3939 ### Running Setup (again)
4040 If anything went wrong during the setup or if you rename the folder this app is in, you can redo the setup with:
4141
4242 ```
43-$ npm run install
43 +$ npm install
4444 ```
package-lock.jsonView
The diff is too large to show. Use a local git client to view these changes.
Old file size: 167968 bytes
New file size: 168702 bytes
package.jsonView
@@ -20,16 +20,18 @@
2020 "ecstatic": "^3.1.0",
2121 "minimist": "^1.2.0",
2222 "node-notifier": "^5.2.1",
2323 "scuttlebot": "10.4.10",
24 + "ssb-about": "^0.1.2",
2425 "ssb-backlinks": "^0.7.1",
2526 "ssb-blobs": "^1.1.4",
2627 "ssb-config": "^2.2.0",
2728 "ssb-ebt": "^2.0.0",
2829 "ssb-friends": "^2.4.0",
2930 "ssb-keys": "^7.0.13",
3031 "ssb-names": "^3.1.0",
3132 "ssb-ooo": "^1.0.7",
33 + "ssb-query": "^2.1.0",
3234 "ssb-web-resolver": "^1.1.2",
3335 "ssb-ws": "^2.0.0",
3436 "systray": "^1.0.3"
3537 },
server.jsView
@@ -23,11 +23,8 @@
2323 }
2424
2525 const manifestFile = path.join(config.path, 'manifest.json')
2626
27-// special server command:
28-// import sbot and start the server
29-
3027 const createSbot = require('scuttlebot')
3128 // .use(require('scuttlebot/plugins/plugins'))
3229 .use(require('scuttlebot/plugins/master'))
3330 .use(require('scuttlebot/plugins/gossip'))
@@ -35,25 +32,16 @@
3532 .use(require('ssb-friends'))
3633 .use(require('ssb-blobs'))
3734 .use(require('scuttlebot/plugins/invite'))
3835 .use(require('scuttlebot/plugins/local'))
39- // .use(require('scuttlebot/plugins/logging'))
40- // .use(require('scuttlebot/plugins/private'))
41- // .use(require('ssb-query'))
42- // .use(require('ssb-links'))
36 + .use(require('ssb-query'))
4337 .use(require('ssb-ooo'))
4438 .use(require('ssb-ebt'))
4539 .use(require('ssb-ws'))
4640 .use(require('ssb-names'))
4741 .use(require('ssb-backlinks'))
42 + .use(require('ssb-about'))
4843
49-// http.createServer(
50-// serve({ root: path.resolve('../webextension/build/') })
51-// ).listen(3013)
52-
53-// add third-party plugins
54-// require('./plugins/plugins').loadUserPlugins(createSbot, config)
55-
5644 // start server
5745
5846 config.keys = keys
5947 const server = createSbot(config)
@@ -64,9 +52,9 @@
6452 const icon = fs.readFileSync(path.join(__dirname, `icon.${process.platform === 'win32' ? 'ico' : 'png'}`))
6553 const tray = new SysTray({
6654 menu: {
6755 icon: icon.toString('base64'),
68- title: 'Secure Scuttlebutt',
56 + title: 'Scuttle-Shell',
6957 tooltip: 'Secure Scuttlebutt tray app',
7058 items: [
7159
7260 {

Built with git-ssb-web