Pusher
p/pusher
Write less code, ship your app faster & scale massively.
Eric Willis
Pusher PH Extension — Realtime Product Hunt Extension
Featured
15
Replies
Ryan Hoover
Love seeing this. Every other day I'm delighted by some new creation with our recently launched API. I'm a fan of @andreasklinger's Product Hunt Chrome Extension. We're making some updates to do a lot more than just surface products in a new tab. Stay tuned. :)
Robin Hawkes
@rrhoover Thanks Ryan, it's been fun working out what to do with your API. Loads of potential!
Tom Masiero
One of the best PH products yet!
Robin Hawkes
@BlendahTom Thanks Tom! I'd love to hear ways to make it even better.
Murat Mutlu
Built using the Pusher Realtime Product Hunt API, crazy https://github.com/pusher/pusher...
Loris Guignard
Been using their main product ("Websocket as a Service") for a few years. Flawless.
Robin Hawkes
@loris That's really good to hear Loris, thank you.
Asad Dhamani
Whenever I see a -2 in the URL for a hunt, I feel excited. Just the other day, I saw a -2 in the URL for Instagram's Hyperlapse. Crazy to think we've hunted so many products that we already have -2s. This plugin is great. Its also nice that they've made the API publicly available.
Robin Hawkes
@AsadDhamani Glad you're enjoying the extension. It was a conscious decision to keep the realtime API free for others to use.
Robin Hawkes
Hi, I'm Robin. I work at Pusher and created the Realtime Product Hunt API and the Chrome extension. Let me know if you have any questions!
Zack Shapiro
@robhawkes Hey Robin. Nice work, man! Can you talk about how you took our API and made it realtime with Pusher?
Robin Hawkes
@zackshapiro Thanks, and of course! It's actually relatively straight-forward what I've down; I periodically scrape the PH API, looking for new posts since the last time the API was scraped. When a new post is found then it is emitted via Pusher to anyone who is currently connected. I store a historic backlog of today's posts on the server so that you always have a full list even if you weren't around when the realtime events were dispatched (retrieved via AJAX on loading the browser). Let me know if you have any other questions about it.
Khang Toh
Love the notification feature
Robin Hawkes
@khangtoh Glad you find it useful. Not that you would, but it's possible to disable it in the options page for the extension (good to know).