4 ms·
One thing I added to my blog, which is less "micro" but still quite important I feel, is syndicating articles on social media. I don't think static site generat
by j2kun 2y ago
One thing I added to my blog, which is less "micro" but still quite important I feel, is syndicating articles on social media. I don't think static site generators have good support for this, so I had to roll my own: https://www.jeremykun.com/shortform/2024-05-12-2028/ https://www.jeremykun.com/shortform/2024-05-12-2028/
- navanchauhan 2y agoI did something similar where I would be able to tweet the latest post if I wanted. It first breaks down the entire text into chunks and then uploads the relevant media as well. It also keeps track of the previous chunk that was posted and uses that ID to reply to it. I never committed the twitter version to my repository, but you can look into the Mastodon version: https://github.com/navanchauhan/navanchauhan.github.io/blob/vanilla-ssg/toot_me.py https://github.com/navanchauhan/navanchauhan.github.io/blob/... I don't actually use it though
- j2kun 2y agoI currently have Twitter, Mastodon, and Bluesky working. Sadly, it seems Twitter downranks bot-generated threads.