DEV Community

Blog Posting Platform

csgeek on September 19, 2020

I was debating between two platforms that essentially do the same thing which is take Markdown -> shiny. Docusaurus The first one I'...
Collapse
 
jcsh profile image
Justin Ho

I created my GatsbyJS site with contenful as the CMS where I do most of article writing.

Since it's in markdown I basically copy it over to DEV and medium. Yes I should look into automating that.

I guess I haven't really thought about backup strategies but more like atleast my content will be available at 3 spots for now.

Collapse
 
csgeek profile image
csgeek

Doesn't contentful tie you to their platform? I'm always a bit reluctant to build a blog/website that rely on external services like that.

Collapse
 
jcsh profile image
Justin Ho

That is a healthy concern and I agree that there's a risk.

But again since my posts are duplicated onto DEV and medium, I guess that's enough tolerance for me personally.

The biggest benefit to typing on Contentful though are the integrations and versioning. You can kick off CI pipelines on certain data changes and not others, and you can maintain a dev / prod environment for just content and not tie in the codebase.

Thread Thread
 
csgeek profile image
csgeek

Hmm, interesting. I'll have a look. It's definitely worth another look to see what it can do. Thanks for the recommendation.

Thread Thread
 
jcsh profile image
Justin Ho

Np, it's still overkill for a single blogger but it was good practice to set it up and I like having the clear separations for data and business logic.

Thread Thread
 
csgeek profile image
csgeek

That's actually a bit appeal of these headless cms that are coming around of late. Most of them don't let you self host but cosmicjs and colorfulful (I think that qualifies) would allow someone to create the data model and let the shiny is be decoupled.

Different project but I was exploring headless cms like those mentioned and self hosted ones like.

github.com/ponzu-cms/

Collapse
 
jcolag profile image
John Colagioia (he/him)

I tried Hugo out and...I forget the details, but I suspect (based on my notes from that period) it was too much effort to get the layout to resemble my main website. I also occasionally have trouble getting Go projects to work, for reasons I never bothered to diagnose.

The next attempt was Gatsby and, while I liked working with it a lot, I had a series of situations where some minor change (adding a small plugin or adding metadata) would break the blog with no way I could figure to recover, including reverting changes, and so ended up starting over every time to try to migrate my changes in. I've since been told that the cache just needs to be purged in those situations, but that advice came months too late and I don't remember if I tried that.

I ended up on Jekyll and, after two hundred posts over the course of (mostly) 2020, it hasn't given me any reason to question that decision. It's a boring choice that I could have made a decade ago, but it was the least work to put together of the systems I tried and seems difficult to break.

Collapse
 
tseknet profile image
Dan Tsekhanskiy

+1 for Jekyll. If you're interested in getting started with Jekyll, check out my post on dev.

Collapse
 
steinbring profile image
Joe Steinbring

I have spent the past decade writing on a wordpress blog because it lets me write without thinking about the backend. All I have to do is flip open a laptop or iPad and start writing. I’m not going to say that you should use the stack that I’m using but I would recommend going with whatever you feel has the least friction.

You’re writing on dev.to, right now. What’s stopping you from just writing on here and then syndicating elsewhere? I know from experience that it has great APIs.

Collapse
 
devbaraus profile image
Bruno de Araujo Alves

I write here on dev.to and just use the api to show on my website. baraus.dev

Collapse
 
winstonpuckett profile image
Winston Puckett

Have you found the automatic connection to Stackbit? It's in beta, but it's pretty cool for a beta.

Thread Thread
 
csgeek profile image
csgeek

Looks interesting, takes for the note.

Collapse
 
csgeek profile image
csgeek

Control of your own data is nice. I really dislike WordPress personally but I understand that it's the standard at to speak.

I've doubt dev.to is going anywhere anytime soon but that's happened to be enough times that having a github with all my content feels like a really nice pattern.

Collapse
 
learnbyexample profile image
Sundeep

I use zola which is pretty much similar to Hugo. It's written in Rust and there's a single binary you can use to convert markdown to static files. The single binary aspect is what attracted me (having been familiar with mdBook), so I recently changed my blog from a Jekyll theme to zola.

Initially, I found it difficult to follow along the documentation (not familiar with web stuff), but then I realized that I can just clone a zola theme I wanted and replace the sample files with my own posts. That sped up things considerably and then I changed a few css settings (with a bit of research online to understand what to look for).

Collapse
 
csgeek profile image
csgeek

That looks cool. Rust is my next language to learn once I'm done with Go. I'm a fan of both. The single binary install is a big appeal for me as well, same reason i looked at Hugo.

Thanks for mentioning this.

Collapse
 
csgeek profile image
csgeek

Thank you to everyone that's responded. This had much more feedback than I expected.

Just gathering a list here of items to look at:

  • Jekkyl (JS)
  • Gatsby (JS)
  • Zola (Rust)
  • StackBit
  • contentful
  • CosmicJS

Thoughts without in depth look at any of these:

  • I have used Jekyll before I just found it pretty dated but maybe it's worth another look.
  • Gastby I haven't looked at, I'll have to look at.
  • Zola looks great, seems to fit the same pattern I appreciate from Hugo.
  • StackBit looks really cool, I'll check it out for sure, Thanks for mentioning that.
  • Contentful not a fan of relying on hosted code to always be there to support the workflow, but looks nice.
  • It wasn't mentioned but CosmicJS was a headless CMS that can be used as well. I know they post on here as well.
Collapse
 
kewbish profile image
Emilie Ma

I personally use Hugo on my main site - it's super fast and easy to theme and customize. You also have a lot of potential starting points through their themes, and their docs and forum are great resources. Would recommend!

Collapse
 
csgeek profile image
csgeek

Thanks. I didn't realize they had a forum, that's helpful. Thank you.

Collapse
 
winstonpuckett profile image
Winston Puckett

The SSG I really like is 11ty. It's so simple, but whenever I think "oh I need this feature," there's always a way to do it.

Collapse
 
csgeek profile image
csgeek

I think part of the appeal of SSG is that I really don't like JS/HTML/CSS/SCSS. I can do it.. but I really would rather pluck a nice theme from a more talented UX person and just focus on writing stuff.

Plus the ability to push a full site on github.io or any free hosting service is great. If I have to write code I'm much rather focus on writing hooks that push to steemit, medium or such.

Collapse
 
winstonpuckett profile image
Winston Puckett

I agree, using someone else's theme is really nice. I just like ssgs because there's no way for me to block the user from seeing the page while the server does extra processing. I should look into themes with 11ty and see if I can solve that problem for myself.

Collapse
 
ksaaskil profile image
Kimmo Sääskilahti

Maybe give Eleventy a try?

Collapse
 
gbourne profile image
Geoffrey Bourne

I use Ghost and love it. You can host yourself and use it as a headless CMS (and a GatsbyJS front end). The writing interface is the easiest I’ve used - fully Markdown supported.

Collapse
 
bobbyiliev profile image
Bobby Iliev

Another one that you might like is the Developer Blog. It is totally free and has some nice features!