CLI for Joyent's Node.js hosting

Joyent’s sevice and its API look to be an exciting option to host Node.js projects. Jeremy Johnstone brings that API to your CLI with his wrapper. can be installed via npm:

npm install

Next, configure your API credentials:

$ config --api pengwynn S3CR3T
New config options for API have been saved!

Setting up a new instance requires an invite, or coupon. You can check if you’ve got any available with the coupons command.

$ coupons
You have no available coupons! Try requesting one maybe?

D’oh, no soup for us. Let’s request one, maybe we’ll get lucky:

$ coupons --request
You have already requested a coupon.

I got this message because I had already requested one by showing the API some love, literally:

$ curl -k -u pengwynn:S3CR3T♥ -X POST

Oh well, if someone at Joyent is reading this, I’d love a coupon.


Thanks so much to konobi for hooking me up!

[Source on GitHub] [Joyent’s]

News Films

Our little film studio focuses on telling developer-centric stories that need to be seen.

Beyond Code: Season 3 / GopherCon 2015

0:00 / 0:00