Home

Awesome

A bot posting the Hacker News stories with 100+ points to Mastodon.

https://hackertribe.io/@HackerNewsBot

Usage

Create an account for the bot. For convenience you can use youremail+hnbot@gmail.com, to avoid registering a separate email.

Then run the command:

python3 ./hnbot.py "youremail@example.com" "yourpassword" "https://instancename.com"

Run it regularly

You can use cron to run the bot regularly.

Run the command:

crontab -e

And at the end of the file add the line:

0,30 * * * * python3 /path/to/the/script/hnbot.py "youremail@gmail.com" "yourpassword" "https://instancename.com"

(this will execute every 30 minutes)