-
Notifications
You must be signed in to change notification settings - Fork 78
/
index.js
50 lines (43 loc) · 943 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
const ahoy = require('ssb-ahoy')
const StartMenus = require('./menu')
const plugins = [
'ssb-master',
'ssb-unix-socket',
'ssb-no-auth',
'ssb-onion',
'ssb-lan',
'ssb-logging',
'ssb-conn',
'ssb-replicate',
'ssb-friends',
'ssb-blobs',
'ssb-ws',
'ssb-about',
'ssb-backlinks',
'ssb-chess-db',
'ssb-ebt',
'ssb-friend-pub',
'ssb-meme',
'ssb-private',
'ssb-query',
'ssb-search',
'ssb-suggest',
'ssb-tangle',
'ssb-unread',
'ssb-invite',
'ssb-device-address', // for peer-invites
'ssb-identities' // for peer invites
// 'ssb-peer-invites'
// TODO 2020-07-05
// PROBLEM: blocking some API which waits for all things to be done.
// ssb-peer-invites stalls out, result is ssb-friends is never "ready"
]
ahoy({
title: 'Patchbay',
plugins,
// appDir: '../patchbay', // only used when ssb-ahoy is symlinked in!
appPath: './ui.js',
onReady: (state) => {
StartMenus(state)
}
})