Join Nostr
2024-08-10 17:20:46 UTC
in reply to

Terence Eden on Nostr: OK gang! This is ready for you to test. python tweet2html.py --css 1234 That will ...

OK gang! This is ready for you to test.

python tweet2html.py --css 1234

That will take a Twitter ID and return HTML and CSS for you to embed in your website with no calling back to Twitter.

Features:
🗣 Avatars inlined as Base64 WebP
📸 All attached photos inlined
🎥 Video poster inline, <video> to original source
🔗 Hyperlinks don't use t.co
#️⃣ Hashtags and @ mentions linked
🕰 Semantic time
♥ and 🗨 counts

Try it out at https://github.com/edent/Tweet2Embed

Feedback and pull requests very welcome!