brooklynjs/brooklynjs.github.io — pull request #42 by imlucas (2014-03-06 14:54:36+00:00)
Title: Making IKEA swedish meatballs at home or building standalone exectuables for node modules

> both are true stories that happened around the same time.

- "You should just use go!"
- wanted node-webkit, but without the extra 50mb of webkit... few existing attempts were one-offs
- whipped up a little code for building standalone binaries called [lone.js](https://github.com/imlucas/lone)
- need help getting binary add-ons to work right
- swedish meatballs were enjoyed by all

#### timeline

- **thurs** project change. Instead of embedding JS and CSS into Cxx, the whole thing needed to be shipped in a single binary. Oh and it needed a full rest interface, with auth, SSL, and ponies.
- **friday** wantonly start writing the server in go.
- **friday afternoon** narf. node actually fits much better for the folks this project will help. thinking hats and sublime text engaged...
- **saturday** discover node-webkit's trick for this. have some initial code that works.
- **sunday morning** swedish meatball reward
- **sunday afternoon** have it down to adding `{"scripts": {"dist": "lone"}, {"devDependencies": {"lone": "imlucas/lone"}` to le' package.json. gleefully packing and sending binaries around.
- **monday** binary add-ons: not quite as simple as determined while on a meatball high