https://github.com/flows-network/hackernews-alert
Hacker News alert per hour
https://github.com/flows-network/hackernews-alert
automation hackernews hackernews-api
Last synced: about 1 month ago
JSON representation
Hacker News alert per hour
- Host: GitHub
- URL: https://github.com/flows-network/hackernews-alert
- Owner: flows-network
- Created: 2023-03-15T10:31:30.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-12T10:07:17.000Z (almost 2 years ago)
- Last Synced: 2024-11-07T03:41:46.127Z (6 months ago)
- Topics: automation, hackernews, hackernews-api
- Language: Rust
- Homepage: https://flows.network/
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#
Hacker News Alert
[Deploy this function on flows.network](#deploy-the-hackernews-alert-app), and you will reveice HackerNews post alerts each hour based on a keyword you set. The below screenshot shows alert messages of the keyword "GPT".
## Deploy your own HN alert bot in 2 simple steps
1. Load [the Hacker News alert template](https://flows.network/flow/createByTemplate/hackernews-alert)
2. Configure and authorize your Slack access### 0 Prerequisites
You will need to sign into [flows.network](https://flows.network/) from your GitHub account. It is free.
### 1 Load the Hacker News Alert template
[**Just click here**](https://flows.network/flow/createByTemplate/hackernews-alert)
Set the `KEYWORD` variable. It is the word you want to monitor on Hacker News and get alert of. For each bot you can only set one keyword. For more keywords, you can set more a bot for each of them.
Click on the **Create and Deploy** button.
### 2 Configure the bot to access your Slack
After that, the flows.network will direct you to configure the SaaS integration required by your flow.
Next, you will tell the bot which Slack channel you want your alert messages to be sent to.
* `slack_channel`
Slack organization of the Slack channel where you want to deploy the bot. Case sensitive.* `slack_workspace`
The Slack channel where you want to deploy the bot. Case sensitive.
Next, let's grant flows.network to access the Slack channel you just input.
Click the "Connect/+ Add new authentication" button to authenticate your Slack account. You'll be redirected to a new page where you must grant [flows.network](https://flows.network/) permission to install the `flows-network` bot on your workspace. This workspace is the one you entered into the `slack_workspace` above.
> If you have authenticated the workspace before,you can see the purple Connect button turns gray Connected button. Just ingore this step and click Check button.
After that, click the Check button to see your flow details. As soon as the flow function's status becomes `ready` and the flow's status became `running`, the Hacker News alert App goes live. You will get a salck message at the 50th minute of every hour !
