3

Hacker News Slack Bot

 2 years ago
source link: https://www.producthunt.com/posts/hacker-news-slack-bot
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Get Slack notifications for HN mentionsHey Product Hunt! I'm very excited to launch the Hacker News Slack Bot, built with Vercel Functions & Upstash.

Features: ◆ One-click install to Slack ◆ Slack notifications for keyword mentions on HN ◆ Link preview w/ post details + parent title ◆ Open-source, clone & deploy your own

How it works:

1. We set up a cron job that securely invokes our `/api/cron` endpoint every minute. 2. The cron gets the latest HN post ID & our last checked ID and scans all posts in between for keyword matches. 3. Once a match is found, send it to the respective Slack channel.

Bonus: We also use Slack's `chat.unfurl` API to show a nice link preview for all Hacker News links sent in your Slack workspace.

The bot is already used by amazing companies like: ◆ Sanity.io ◆ Typedream.com (W20) ◆ Roboflow.com (S20) ◆ Basedash.com (S20) ◆ Supabase (S20) ◆ Rootly.com (S21) ◆ Cal.com

Hope y'all like this! :)


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK