Nice idea! I created @unpaywall two months ago but didn't write the code yet.
But using it for Twitter links makes sense! It's not a paywall but nonetheless a wall.
I might rename the bot to unwall, lol
Excellent work! Good that it posts links to 2 instances.
reply
Do you know of more established instances?
Also, I assumed twitter links are always either https://twitter.com or https://x.com (with optional www in front)
Do you know if there are other link formats?
reply
No, I don't know of any other reliable Nitter instances, or link formats. Might bug you again if I come across either.
reply
@unpaywall is running now. See #232668 (ignore the duplicate comments, was just testing)
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.
reply
"Technical chops" is what I saw it called on another thread here on SN.
Which is what I don't have any of.
What I have had though, was a macro (obviously running on my local machine) that converts twitter links to nitter. Glad I can retire that macro now.
Edit: On second thought, I might just keep it since it works on any site. Not just SN.
reply