News for hackers. Stuff that matters.
Re:Show HN: “Install on DigitalOcean” button for open source... by swanson on Friday October 31, 2014 @10:40AM (#8538967)
I'd be interested in adding this button once it gets offical support from DigitalOcean.

I added the Heroku Button[1] to a self-hosted OS app I wrote[2] and it seems to be useful (over 100 "recent deploys" per Heroku). It would be great if there was some affiliate commission as well - if someone signs up for a VPS to run an app, would be awesome to get a small kickback from DigitalOcean.

[1]: https://buttons.heroku.com/

[2]: https://github.com/swanson/stringer

Re:Show HN: “Install on DigitalOcean” button for open source... by timmorgan on Friday October 31, 2014 @10:43AM (#8538988)
Matt, thanks for the feedback!

I'm not sure this app would get official support from DO, since it's a bit hacky. I imagine DO would add their own install-button support at some point in the future (at least I hope so).

This app does set a referral cookie whenever someone chooses to install an app using it.

Re:Show HN: “Install on DigitalOcean” button for open source... by RubyPinch on Saturday November 01, 2014 @04:55AM (#8542527)
that is referral for the hoster of the button, not the project installed via the button, correct?
Re:Show HN: “Install on DigitalOcean” button for open source... by timmorgan on Saturday November 01, 2014 @10:38AM (#8543172)
Yes.
Re:Show HN: “Install on DigitalOcean” button for open source... by privong on Friday October 31, 2014 @10:45AM (#8539003)
DigitalOcean does have an affiliate program[0] – is there a way to include that with the button?

[0] https://www.digitalocean.com/referral-program/

Re:Show HN: “Install on DigitalOcean” button for open source... by timmorgan on Friday October 31, 2014 @10:47AM (#8539011)
Yep, it already does! Whenever someone clicks to install, a referral cookie is set on DO.