Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 794 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 794 Bytes

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 [email protected], to avoid registering a separate email.

Then run the command:

python3 ./hnbot.py "[email protected]" "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 "[email protected]" "yourpassword" "https://instancename.com"

(this will execute every 30 minutes)