Commit Graph

28 Commits

Author SHA1 Message Date
ekzyis d428ed892a Remove 'item is not twitter link' log message 2024-09-08 21:50:30 +02:00
ekzyis 0dd18f210d Fix twitter regexp for comments by removing anchor 2024-09-08 21:47:32 +02:00
ekzyis 6a4892944b Also reply to comments with xcancel.com link 2024-09-08 21:05:18 +02:00
ekzyis ef9886efc5 Add Makefile 2024-09-08 20:59:40 +02:00
ekzyis d4d49cbbad Remove nostr parsing because SN has njump.me embeds now 2024-09-08 20:49:27 +02:00
ekzyis 9fe5927465 Fetch last 100 items 2024-09-08 20:43:27 +02:00
ekzyis 8b1ad852f2 Only log error, don't exit 2024-09-08 20:43:21 +02:00
ekzyis 1b0c87f813 Update .gitignore 2024-09-08 20:43:07 +02:00
ekzyis 60b4af4139 Fix coracle.social parsing 2024-07-03 09:40:22 +02:00
ekzyis 1880916418 Update to snappy v0.5.2 2024-07-03 09:40:22 +02:00
ekzyis 0309c953bd Use xcancel.com as nitter instance
Apparently, nitter is back via https://xcancel.com/
2024-07-03 08:42:42 +02:00
ekzyis a719b892d4 Rename sqlite file 2024-07-03 08:42:10 +02:00
ekzyis fb1fc13329 Fix nostr note parsing 2024-03-08 08:58:36 +01:00
ekzyis 3ace996a05 Fix missing client parsing 2024-02-26 16:06:15 +01:00
ekzyis a98865c529 Parse nostr links 2024-02-26 15:43:35 +01:00
ekzyis 2848dea225 Update instance list 2024-02-24 16:05:00 +01:00
ekzyis e17c83c621 Update to sn-goapi v0.3.3 2024-02-04 15:58:57 +01:00
ekzyis b07d49671b Update clearnet instances 2024-02-04 15:54:18 +01:00
ekzyis a865fd7048 Update README 2024-02-04 15:13:55 +01:00
ekzyis 8d72e6dc2b Update to sn-goapi v0.3.2 2024-02-04 15:13:55 +01:00
ekzyis 1d8a1b2dea Make layout even smaller 2024-02-04 15:13:55 +01:00
ekzyis f9f4ed51db Make layout smaller 2024-02-04 15:13:55 +01:00
ekzyis 2db6df32fe Add more instances + Tor, I2P, Lokinet
* add more clearnet instances
* add TOR + I2P + Lokinet instances
* change layout + heading
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 95f9c41aa7 Add nitter.cz 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
ekzyis e67bffd684 initial commit 2024-02-04 15:13:55 +01:00