Live data from Hacker News

Show HN: Primo – a visual CMS with Svelte blocks, a code editor, and SSG

primocms.org

21–30 of 122 posts

Re: Show HN: Primo – a visual CMS with Svelte blocks, a code editor, and SSG

#21

Thank you. At last some glimpse of sanity among the freaking complex world of web dev. More power to the Rule of Least Power. [0] [0] https://en.wikipedia.org/wiki/Rule_of_least_power

I’ve always appreciated how Svelte keeps things as simple as possible without sacrificing capability, and how that results in more productivity and enjoyment in building. Really this is a visual layer over that to make it even more approachable.

Re: Show HN: Primo – a visual CMS with Svelte blocks, a code editor, and SSG

#22

I wish there was something like this, but for serial dynamic content, like blog posts, reviews, etc. People are really attached to WP, but customization and themes are a nightmare.

I think people are attached to Wordpress for the same reason we are attached to Javascript. At the time, it was one of the only ways of easily creating a blog. The problem with Wordpress is that once you need to do something outside of the norm then all of the sudden you need deep knowledge of Wordpress's inner workings.

There was never a time when WordPress was the only easy way for even a non-technical person to create a blog, they just did a great job marketing that that was the case.

I spent a very brief time as a contributor to WP internals (not core by any means but a handful of contributions) and not only do you need a lot of internal knowledge to do anything outside of point-and-click, like you said, a lot of the core folks had never worked on any other large software projects, didn't do anything outside of WordPress, and had very little desire to make sure what they were doing was sound from a software engineering / code quality standpoint. It's a pretty great example of the big ball of mud / spaghetti code cliche.

Re: Show HN: Primo – a visual CMS with Svelte blocks, a code editor, and SSG

#23
post #22

Earlier quoted context omitted.

I think people are attached to Wordpress for the same reason we are attached to Javascript. At the time, it was one of the only ways of easily creating a blog. The problem with Wordpress is that once you need to do something outside of the norm then all of the sudden you need deep knowledge of Wordpress's inner workings.

There was never a time when WordPress was the only easy way for even a non-technical person to create a blog, they just did a great job marketing that that was the case. I spent a very brief time as a contributor to WP internals (not core by any means but a handful of contributions) and not only do you need a lot of internal knowledge to do anything outside of point-and-click, like you said, a lot of the core folks h…

From a social standpoint, it was though. You could ask a lot of non-expert people for help on Wordpress and get it.

Re: Show HN: Primo – a visual CMS with Svelte blocks, a code editor, and SSG

#24

Earlier quoted context omitted.

That sounds like static content to me, what's wrong with just HTML?

It's not really static. It grabs data from a database, or an API, and renders using entity-specific templates, both from a single entity perspective (post.php theme) and listing (search.php, index.php). What I mean is: having something like Primo that allows visual management of such dynamic blocks and themes would be nice, so Editors can just play around with the result of their content calls (which the CMS handles…

That is static - none of it is based on user input so it can be compiled into a static HTML page every time you publish a new post or edit a page theme or anything. There's no reason the system needs to pull that 5 year old blog post from the database every time.

Re: Show HN: Primo – a visual CMS with Svelte blocks, a code editor, and SSG

#25
post #22

Earlier quoted context omitted.

There was never a time when WordPress was the only easy way for even a non-technical person to create a blog, they just did a great job marketing that that was the case. I spent a very brief time as a contributor to WP internals (not core by any means but a handful of contributions) and not only do you need a lot of internal knowledge to do anything outside of point-and-click, like you said, a lot of the core folks h…

From a social standpoint, it was though. You could ask a lot of non-expert people for help on Wordpress and get it.

That's exactly what I mean. They did a great job making people think that if you wanted a blog and weren't a programmer, WP was your only choice.

Re: Show HN: Primo – a visual CMS with Svelte blocks, a code editor, and SSG

#26
post #5

Hey HN, it’s been about three years since you sent my open source CMS, Primo, to the front page ( https://news.ycombinator.com/item?id=23820201 ), inspiring me to quit my cushy remote job at the height of the pandemic to work on it full-time (naive and impulsive, I agree). Life has been pretty interesting since then. I’ve burned through my savings, lost my primo.af domain name to the Taliban, and convinced my wife to…

Hi Mateo, nice to see the project is still alive and evolving. I personally tried it about a year ago, and I found it really good for designing simple web pages with reusable and customisable components. But the content management system was the issue for me, I was hoping there would be a way to just drop markdown files in a folder for it to generate articles or blog posts following a template like a regular SSG. We even talked about it briefly, and I then forked the primo repo and started implementing a custom method to convert the database entries into a files / folder structure, which was going alright but the reverse operation seemed tricky to implement and I ended up going down another road, building my own custom markdown SSG inspired by this guide : https://joshcollinsworth.com/blog/build-static-sveltekit-mar... Anyway, my use case is probably not the one you are targeting, but I still think it would be a dope product if everything worked the same but instead of writing the project into a database it would be a dynamic files / folder structure that could be edited and versioned like a regular sveltekit project. Basically it would be a svelte-based SSG framework with a components library and a dedicated UI to complement the regular text editor. Just dropping this in case someone reads it and wants to build it, keep up the good work.

Re: Show HN: Primo – a visual CMS with Svelte blocks, a code editor, and SSG

#28
post #14

Nice project! I was a bit disappointed that you need a supabase account for "self hosting it".. And this is supposed to work only on some hosting service that can connect to Supa base, and also it encourages to fetch your pages content from github.. So it's more a CMS to run with specific service providers rather than something you can actually self host.

True but still, you can self host supabase as well. The only service really required is GitHub but I guess other providers (e.g. gitlab) can be added down the line.
Post reply on HN