Can the text for a blog post in dev.to be loaded from a github markdown file directly?

twitter logo github logo ・1 min read

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?

twitter logo DISCUSS (7)
markdown guide
 

Hi Marcos, other than using RSS you have another option: use the articles API.

@timdeschryver wrote an extension to use it

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

c33s avatar
c33s commented on May 23, 2018

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.

 

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!

 

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!

 

Found this post which has a partial solution for this: dev.to/maxime1992/manage-your-dev-... , cool stuff.

Classic DEV Post from Jun 20

Show your leadership skills, even if you're not leading a team

Marcos Maia profile image
I am an experienced Developer, Trainer and Speaker. Eager to learn and share knowledge. A bit introspective. Keep coding. Be humble. Help others.

Sore eyes?

dev.to now has dark mode.

Go to the "misc" section of your settings and select night theme ❤️