Join the Webstudio community

Updated 4 weeks ago

I Found a Zero-Cost CMS Solution Using Decap CMS

Hello people, after days testing different CMS's I found a solution that is working really well!
I'm using Decap CMS to serve JSON files. the build script is just a simple node file that generates the collections.
The coolest part is that Webstudio + Decap CMS it's a zero-cost stack, with a no-code editor for your client and with a CMS to manage it.

https://github.com/walmello/minimal-decap-cms

Feel free to clone and improve it. πŸ™‚
I'm going to document it better as soon as possible.
1
J
w
J
14 comments
Nice. What serves the JSON files?
the idea is that I just generate static JSON files on the build. with the content data for each post,and for the collections.
so you can have an endpoint like:

site-netlify/blog/post-name.json. and get the content from a post
it's like a "static site" but instead of HTML it serves json.
Ah nice. I like this setup. Is the rich text markdown?

I'm trying to figure out if I move some things around with Webstudio and been exploring something like this.
yes, it is markdown. πŸ™‚
@waltermelo2017, this sounds very interesting! Any chance of updating the readme? πŸ™‚
Hi @Jeremy , sorry. I forgot to do it. I'm kinda busy. but it you need to use it I'll help you out. πŸ™‚

basically you will need first to clone the project, clicking on the "Deploy to Netlify" button.
you can look at the configuration on the link that is already there.

if you have a "blog" collection for example, you can access it's list on
https://minimal-decap-cms-tests.netlify.app/blog/index.json
the name of the site + blog + index.json.

Everytime your client updates a blogpost it will trigger a commit that triggers Netlify to rebuild the page
Decap CMS is going to be the interface.

your client can access it on
https://minimal-decap-cms-tests.netlify.app/admin

At first, the site will ask for a password.
the only way to get one is to go to Netlify identity and send a invite manually.

It's the safest way I found to make it work for now :).
@waltermelo2017, holy crap was that easy to connect!!! I've messed around with DecapCMS over the years and liked how basic it was (I'm a huge markdown fan) and loved how it's all within git. This is such a cool connection that you built! With your recent set of instructions I was able to get everything running within 3 minutes. Thank you!
Glad you liked it πŸ˜„ your compliment made my day here πŸ˜„
haha, well you made my day as well!
@John Siciliano, this handles rich text markdown with the markdown embed! (just tested) At the moment, this is my new favorite way to create a simple blog with Webstudio as the front-end.
Good stuff. Sounds like I have some content creation to do
This is promising, thanks for sharing!
Add a reply
Sign up and join the conversation on Discord