OK! I *think* I've finished.
You can now "rescue" any embedded Tweet and recreate it as simple HTML - no tracking.
Includes:
🗣 Avatars inlined as WebP
📸 All attached photos inlined
🎥 Video poster inline, <video> to original mp4
🔗 Hyperlinks don't use t.co
#️⃣ Hashtags & @ mentions linked
🔄 Includes reply threads & quote Tweets
🕰 Semantic time
🔍 Schema.org metadata
🖼 Cards
📊 Polls
♥ , ♻ & 🗨 counts
One command. No API key needed.
Code at https://github.com/edent/Tweet2Embed
Feedback *very* much welcome!
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!
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.