Go to file
ekzyis d428ed892a Remove 'item is not twitter link' log message 2024-09-08 21:50:30 +02:00
.env.template Update to snappy v0.5.2 2024-07-03 09:40:22 +02:00
.gitignore Update .gitignore 2024-09-08 20:43:07 +02:00
Makefile Add Makefile 2024-09-08 20:59:40 +02:00
README.md Update README 2024-02-04 15:13:55 +01:00
db.go Only log error, don't exit 2024-09-08 20:43:21 +02:00
go.mod Also reply to comments with xcancel.com link 2024-09-08 21:05:18 +02:00
go.sum Also reply to comments with xcancel.com link 2024-09-08 21:05:18 +02:00
main.go Remove 'item is not twitter link' log message 2024-09-08 21:50:30 +02:00
nostr.go initial release 2024-02-04 15:13:55 +01:00

README.md

nitterbot

This is a Stacker News bot that fetches every minute all recent posts.

If a post is a twitter link, it adds a comment with nitter links and stores the comment + item id in a sqlite3 database.

If the post already has a comment from the bot (by checking the database), it does not post a comment to prevent duplicates.