DEV has an API
I have ideas, but not time, to implement something to synchronise articles published there to a GitHub repo.
So for now I'm pretty much doing like you: GitHub + VS Code + Copy paste
With GitHub pages you can use Dev.to>settings>publishing from RSS pointed at the feed.xml.
Now it starts looking like there is a solution, at least for dev.to.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.