News for hackers. Stuff that matters.
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by rsp1984 on Friday July 21, 2023 @04:47PM (#36819496)
While I think the combination of drag-and-drop / blocks and Svelte is really awesome, this unfortunately sits at the wrong end of the spectrum for me.

What is is: a visual website builder where I can customise blocks using an online editor.

What I'd like: an online interface that clients can use to add / change text, or make other small adjustments, for Svelte websites that I build offline using my own tools. The idea would be that, as long as I build the website according to certain interface standards, it is readable by Primo and the client can modify using the visual interface. For any bigger modifications the client would come back to me and I have all the speed and freedom of my offline workflow.

Some might suggest that what I need is a headless CMS, but I have tried those and they are all over-engineered and giving me a big headache just for setup and maintenance.

Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by promiseofbeans on Friday July 21, 2023 @05:24PM (#36819985)
You might like Builder.io (https://www.builder.io/m/developers) - they let you embed drag-n-drop powered sections within your regular page markup, and it looks like they support most frameworks like svelte.
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by mmmateo on Friday July 21, 2023 @05:00PM (#36819667)
Is your concern with the fact that clients can lay out their sites with blocks? Note that they can't edit any of the visual aspects unless you create a field for those specifically (e.g. making an image a circle or square).

If it's with not being able to use a local IDE - that is something that's currently possible by bundling your Svelte components into vanilla JS and importing them into your Primo blocks & passing along data as fields - but I'd give it a couple weeks before using it in production until we smooth it out.

But what you've described is essentially how I do my client projects - I build it all with code (usually reusing blocks from other projects) and hand off a site that literally any of my clients can edit on day one with minimal training.

Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by rsp1984 on Saturday July 22, 2023 @10:57AM (#36826768)
> Is your concern with the fact that clients can lay out their sites with blocks?

Not so much.

> If it's with not being able to use a local IDE - that is something that's currently possible by bundling your Svelte components into vanilla JS and importing them into your Primo blocks & passing along data as fields - but I'd give it a couple weeks before using it in production until we smooth it out.

Yes. As a developer I don't want to deal with WYSIWYG drag-n-drop interfaces. I want the freedom to develop using my already established workflows. What you suggest sounds like development for the Primo interface, i.e. Primo dictates the high-level structure and I can develop components for it. What I'd like is at the other end of the spectrum: I develop the entire website in Svelte and make it compatible with Primo by adhering to some constraints.

> But what you've described is essentially how I do my client projects - I build it all with code (usually reusing blocks from other projects) and hand off a site that literally any of my clients can edit on day one with minimal training.

Sounds like we're on the same page then :)

Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by thomasqbrady on Friday July 21, 2023 @05:00PM (#36819664)
What you say you’d like is what I’m looking for, too, but what you say Primo is doesn’t sound far enough off that I understand your complaint. When you say “customize blocks” I guess that doesn’t include changing the text? Or perhaps it doesn’t constrict the possible actions enough for you to feel safe handing it over to a client?
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by keybits on Saturday July 22, 2023 @03:37AM (#36824226)
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by carlosjobim on Saturday July 22, 2023 @12:33PM (#36827598)
Surreal CMS solves that problem exactly. Setup is done by FTP.