git ssb

1+

gb / plank



Tree: a233233a9af02b6972356957649ac384648e1d42

Files: a233233a9af02b6972356957649ac384648e1d42 / index.js

525 bytesRaw
1var fs = require('fs');
2var h = require('hyperscript');
3var http = require('http')
4
5var site = h('html',
6 h('head',
7 h('title', 'Plank Log'),
8 h('style', fs.readFileSync('walkthe.css', 'utf8'))
9 ),
10 h('body',
11 h('div.sidebar',
12 h('h1', 'Plank Log'),
13 h('p', 'Plank Log: Write it down before it disappears forever.')
14 ),
15 h('div.frame',
16 h('iframe', {name:'splank', href:'http://gwenbell.com'})
17 )
18 )
19)
20
21http.createServer(function (req, res){
22 res.end(site.outerHTML);
23}).listen(1337);
24

Built with git-ssb-web