Skip to content

lumenwrites/mastodon-hnbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages