var fs = require('fs'); var h = require('hyperscript'); var http = require('http') var site = h('html', h('head', h('title', 'Plank Log'), h('style', fs.readFileSync('walkthe.css', 'utf8')) ), h('body', h('div.sidebar', h('h1', 'Plank Log'), h('p', 'Plank Log: Write it down before it disappears forever.') ), h('div.frame', h('iframe', {name:'splank', href:'http://gwenbell.com'}) ) ) ) http.createServer(function (req, res){ res.end(site.outerHTML); }).listen(1337);