28 Commits

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