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