Go to file
ekzyis 8d72e6dc2b Update to sn-goapi v0.3.2 2024-02-04 15:13:55 +01:00
.env.template initial release 2024-02-04 15:13:55 +01:00
.gitignore initial release 2024-02-04 15:13:55 +01:00
README.md initial release 2024-02-04 15:13:55 +01:00
db.go initial release 2024-02-04 15:13:55 +01:00
go.mod Update to sn-goapi v0.3.2 2024-02-04 15:13:55 +01:00
go.sum Update to sn-goapi v0.3.2 2024-02-04 15:13:55 +01:00
main.go Make layout even smaller 2024-02-04 15:13:55 +01:00
nostr.go initial release 2024-02-04 15:13:55 +01:00

README.md

unpaywall

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.