git ssb

16+

Dominic / patchbay



Tree: 6d06fba92397438506f8120c5a1ae2b56c895b64

Files: 6d06fba92397438506f8120c5a1ae2b56c895b64 / index.js

616 bytesRaw
1const combine = require('depject')
2const entry = require('depject/entry')
3const nest = require('depnest')
4const bulk = require('bulk-require')
5
6// const git = require('patch-git')
7const horcrux = require('ssb-horcrux')
8const patchbay = { pathcbay: bulk(__dirname, [ '!(node_modules|junk)/**/*.js' ]) }
9const patchcore = require('patchcore')
10
11// polyfills
12require('setimmediate')
13
14// from more specialized to more general
15const sockets = combine(
16 // git,
17 horcrux,
18 patchbay,
19 patchcore
20)
21
22const api = entry(sockets, nest('app.html.app', 'first'))
23
24const app = api.app.html.app()
25document.body.appendChild(app)
26
27

Built with git-ssb-web