2025 is my writing year. That is a decision I made, and why I started my digital garden. Part of this resolution comes as a way to find an alternative to company-owned social media, and part of it comes from a pure desire to dump my thoughts into text.
However, living in a capitalistic society as I do, I also have to, sadly, think about how to showcase myself on the Internet.
while all of my writing will be available through the Digital Garden, I am also looking for options to automatically cross post to sites such as Devto and Youtube.
Leaving aside Youtube (thinking about how to do markdown → youtube conversion), crossposting to a website such as Deuto should not be too complicated
My initial thought is to setup a Github action that will • upload new posts with a certain tag. • If the article already exists, edit it.
Sadly, due to the limitations of different sites, I can’t just do this. For example, the syntax to add math equations in Quartz and Devto differs quite a bit.
-
Python script
- Parse markdown using marko
- Modify math to Ketex syntax.
- Use Devto API to
- Post new files with a tag or metadata
- If post exists, just edit changes.
- API developed in devto.py
-
Run it on Github Actions.