DEV Community

Cover image for Dev.to as a headless CMS

Dev.to as a headless CMS

Visakh Vijayan on November 06, 2021

It has been long since I wanted to develop a website for blogging. Everytime I sat with it the one thing that disturbed me is that I have to setup ...
Collapse
 
sroehrl profile image
neoan • Edited

Have you considered blua.blue? That way you can write on one platform and then publish to your blog (and dev.to, if you want) using either an API or a webhook. This gets you around the canonical issue: when using dev.to directly to write, search engines will treat your blog as duplicate content. With blua.blue you can set your content accordingly without having to leave it as draft. Additionally, the webhook approach allows you to generate static content rather than "pulling" from an API.

Collapse
 
bwca profile image
Volodymyr Yepishev

Your post is quite intriguing, but the blue.blue link seems to be broken, at least for me 😞

Collapse
 
sroehrl profile image
neoan

I apologize, fixed the link

Thread Thread
 
bwca profile image
Volodymyr Yepishev

Thank you :D

Collapse
 
vjnvisakh profile image
Visakh Vijayan

Nice … will give it a go. Thank you

Collapse
 
miriamschwab profile image
Miriam Schwab

FYI Strattic is a platform where people can use WP as usual and click a button to deploy the site as a static, headless version.

Collapse
 
csgeek profile image
csgeek • Edited

There is a wordpress plugin that does that and likely more than one but the bigger your site is the more annoying that becomes. That being said, a static site is about as secure as you can get.

wordpress.org/plugins/simply-static/

Collapse
 
miriamschwab profile image
Miriam Schwab

Strattic has incremental builds so when updates are made to a larger site a full, potentially long build doesn't have to happen. And yeah, a static site reduces the attack surface to almost nothing on a site.

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
miriamschwab profile image
Miriam Schwab

Strattic is an end-to-end service which deploys and configures all parts of the infrastructure: isolated and containerized WordPress hosting environment; the static hosting area; fully configured CDN that is invalidated automatically when changes are deployed from the WP origin. Customer support is top notch too. Disclosure: I'm from Strattic.

Thread Thread
 
vjnvisakh profile image
Visakh Vijayan

heehee

Collapse
 
kwadoskii profile image
Austin Ofor

Nice, but I would like to point out that your blog is mobile responsive.
Looks great on PC

Collapse
 
blackr1234 profile image
blackr1234

I just wanted people be able to read contents for the MVP.

Excuse me, what does MVP here stand for?

Collapse
 
csgeek profile image
csgeek

It's Minimum Viable Product, the minimum amount of work you can put it to release something that is functional. Aka version 1 that is usable.

Collapse
 
blackr1234 profile image
blackr1234

Oh yes, this is it. I know this term but forgot it, thanks a lot!

Collapse
 
vjnvisakh profile image
Visakh Vijayan

Meaning I can write and you can read for now. No other user actions like commenting, likes, newsletters and so on. Things you find on a normal blog

Collapse
 
trimud profile image
Yuriy Boev

Most Valuable Product

Collapse
 
trangchongcheng profile image
cucheng • Edited

I had build a community by inspired from dev.to, check it out here: mytopic.vn

My stack: nextjs, strapi.

Feel free to leave comment...