I would like to keep my blog posts in a github repository and load them directly here only by referencing the specific path to the md file. Is it possible? What's the recommended approach?
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (8)
Just found this other post which enables you to use Github actions to get it done. Haven't tested it but seems like a good alternative solution.
dev.to/azure/auto-posting-to-devto...
Hi Marcos, other than using RSS you have another option: use the articles API.
@timdeschryver wrote an extension to use it
Writing a dev.to blog post with VSCode
Tim Deschryver ・ Jun 12 ・ 2 min read
Basically you'd take your markdown and post it to DEV via the extension.
FYI there's also a feature request to have DEV interact with Git:
Feature Request: Access my posts via ssh&git #220
TASK or Feature
Request or User Story
i fear that this is out of scope of this awesome community, but maybe you like the idea. on gitlab you can every repo can have a wiki, the wiki can be edited via the normal webinterface but the wiki is a normal git repo so you also can simply clone the wiki repo locally and edit it, push it back or somewhere else.
it would be soooo awesome if i would be able to access my posts like ths. it also would make #219 obsolete
Seems good. I will take a look at this, thank you very much for sharing.
Hey Marcos, this seems a nice idea of keeping your blog posts in git and controlling the via git versions. A briefly idea at this time comes on my mind if you use git hooks, and as soon as you push you set a git gook to connect via dev.to api and publish the post.
This, looks to me a promising possible way to do it. I will look into the dev.to APIs further. Thank you!
I would public site in a github repo with a static site generator for blogs that posts on github pages and has either native or plugin support for making an rss feed and then adding that URL to dev.to/settings/publishing-from-rss
Yes, this might work. I will definitely consider it. Thank you!
Found this post which has a partial solution for this: dev.to/maxime1992/manage-your-dev-... , cool stuff.