Files: 4b0bb57b757a005b2899fd1619e794ae6c7e2451 / index.js
831 bytesRaw
1 | const ahoy = require('ssb-ahoy') |
2 | const StartMenus = require('./menu') |
3 | |
4 | const config = require('./config').create().config.sync.load() |
5 | |
6 | const plugins = [ |
7 | 'ssb-server/plugins/master', |
8 | 'ssb-server/plugins/logging', |
9 | 'ssb-server/plugins/unix-socket', |
10 | 'ssb-server/plugins/no-auth', |
11 | 'ssb-server/plugins/onion', |
12 | 'ssb-server/plugins/local', |
13 | |
14 | 'ssb-legacy-conn', |
15 | 'ssb-replicate', |
16 | 'ssb-friends', |
17 | 'ssb-invite', |
18 | |
19 | 'ssb-blobs', |
20 | 'ssb-ws', |
21 | |
22 | 'ssb-about', |
23 | 'ssb-backlinks', |
24 | 'ssb-chess-db', |
25 | 'ssb-ebt', |
26 | 'ssb-friend-pub', |
27 | 'ssb-meme', |
28 | 'ssb-private', |
29 | 'ssb-query', |
30 | 'ssb-search', |
31 | 'ssb-suggest', |
32 | 'ssb-unread' |
33 | ] |
34 | |
35 | ahoy( |
36 | { |
37 | title: 'Patchbay', |
38 | config, |
39 | plugins, |
40 | // appDir: '../patchbay', // uncomment when ssb-ahoy is symlinked in! |
41 | uiPath: './ui.js' |
42 | }, |
43 | (state) => { |
44 | StartMenus(state) |
45 | } |
46 | ) |
47 |
Built with git-ssb-web