A Python script to export all of your Dev.to articles as local Markdown files — useful for migrating to a self-hosted blog or archiving your content.
- Create a dev.to API KEY and put it in a
.envfile (or rename.env.example) - Install python requirements
pip3 install -r requirements.txt - Run
python3 dev.to-exporter.pyto download all posts to aposts/directory