git ssb

2+

dinoworm ๐Ÿ› / ssb-graphviz



Tree: 9972d073007ebc1c4cf8c6074bc2c3e3e5e032b5

Files: 9972d073007ebc1c4cf8c6074bc2c3e3e5e032b5 / output.js

481 bytesRaw
1const insertCss = require('insert-css')
2const Sbot = require('ssb-client')
3const Viz = require('./')
4
5insertCss(`
6 html, body {
7 width: 100%;
8 height: 100%;
9 position: absolute;
10 overflow: hidden;
11 padding: 0;
12 margin: 0;
13 }
14
15 #avatar {
16 position: fixed;
17 left: 10px;
18 bottom: 10px;
19 color: #fff;
20 }
21
22 #avatar img {
23 max-height: 160px;
24 }
25`)
26
27Sbot((err, sbot) => {
28 Viz(sbot, (err, viz) => {
29 if (err) throw err
30 sbot.close()
31 })
32})
33

Built with git-ssb-web