Terence Eden
- 4mo ยท
-
Publicยท
-
mastodon.social
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!