link

Td

Crosspost to DEV community with Typemill

This article was originally published on trendschau.net, but you will probably read it on dev.to first. How come?

Some weeks ago a dev-user asked other members how they crosspost their markdown articles to the dev-platform. Since I develop a small flat-file cms called Typemill that works with markdown, I asked myself if it is worth to create a little plugin for such crossposts. I checked the dev-API, wrote about 200 lines of code and voila: The first crosspost is online.

This is a screenshot of the Typemill admin-ui for this article:

Screenshot of crosspost-tab in Typemill

The plugin adds a new tab called "dev.to" to each article and in that tab you can manage the crosspost. You can activate the crosspost, you can choose between draft or publish and you can add tags or series. The plugin will synchronise the articles (and rewrite the image-urls) whenever you publish or update the article on Typemill. It will also store and display the response from dev.to and display a little preview.

It is pretty simple to create a plugin like this with Typemill:

Typemill is open source. Don't expect a high level system or a super robust and bug-free software: It is still a side project with a small community and we work hard to improve it with each release. If you have a close look to the GitHub repository: 8 more stars and we have 100 !!!