Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lumenwrites/mastodon-hnbot
A bot posting the Hacker News stories with 100+ points to Mastodon
https://github.com/lumenwrites/mastodon-hnbot
bot hacker-news mastodon
Last synced: 10 days ago
JSON representation
A bot posting the Hacker News stories with 100+ points to Mastodon
- Host: GitHub
- URL: https://github.com/lumenwrites/mastodon-hnbot
- Owner: lumenwrites
- License: mit
- Created: 2017-04-07T22:29:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-11T07:56:56.000Z (about 6 years ago)
- Last Synced: 2024-04-16T04:08:28.310Z (7 months ago)
- Topics: bot, hacker-news, mastodon
- Language: Python
- Homepage: https://mastodon.social/@HackerNewsBot
- Size: 495 KB
- Stars: 38
- Watchers: 0
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-mastodon-cn - hnbot\-
README
A bot posting the Hacker News stories with 100+ points to [Mastodon](https://github.com/tootsuite/mastodon).
https://hackertribe.io/@HackerNewsBot
![](https://raw.githubusercontent.com/raymestalez/mastodon-hnbot/master/screenshot.png)
# 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)