Commit Graph

7 Commits

Author SHA1 Message Date
ekzyis 6a4892944b Also reply to comments with xcancel.com link 2024-09-08 21:05:18 +02:00
ekzyis 1880916418 Update to snappy v0.5.2 2024-07-03 09:40:22 +02:00
ekzyis e17c83c621 Update to sn-goapi v0.3.3 2024-02-04 15:58:57 +01:00
ekzyis 8d72e6dc2b Update to sn-goapi v0.3.2 2024-02-04 15:13:55 +01:00
ekzyis def6d8133f Fix dependency mismatch
The wrong v0.3.1 from sn-goapi was used since I replaced the tag but the previous version was cached.
2024-02-04 15:13:55 +01:00
ekzyis 4c35631633 Fix item lookup and item creation
SN API changed. Had to update to sn-goapi v0.3.1
2024-02-04 15:13:55 +01:00
ekzyis d4347238ed initial release
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.
2024-02-04 15:13:55 +01:00