This open-source project generates a daily digest of top performing products on Product Hunt directly to your Slack.
Setup is very simple, and takes a few minutes.
Make sure you have installed on your environment Git, Node, and npm.
This code is running on AWS Lambda function, so you'll need an AWS account as well.
Ultimately this code sends the digest to Slack, so make sure you got an incoming webhook URL set.
git clone [email protected]:ranrib/producthunt-digest.git
cd producthunt-digest
npm install
cp config_example.yml config.yml
Now edit config.yml
file and set the Slack webhook URL, and the number of posts you would like to get on the daily digest.
npm run start
The script will send the current digest into your Slack.
npm run deploy
To test that the Lambda function is running properly:
npm run invoke
Provided under the MIT license. See LICENSE for details.
Copyright 2021, Ran Ribenzaft.