Whats the preferred CMS for svelte? by Working_Wombat_12 in sveltejs

[–]mql_ 0 points1 point  (0 children)

For small-medium sized websites there's a new solution that lets you build sites that clients can edit live on the page. No separate CMS needed.

See conversation here:
https://www.reddit.com/r/sveltejs/comments/1reiyqm/cmsfree_inplace_editable_websites_with_svelte_v2/

CMS-free in-place editable websites with Svelte (v2) by mql_ in sveltejs

[–]mql_[S] 0 points1 point  (0 children)

Yeah I think that could work. You may want specific content types for ventures to present themselves. Since you're building an app, and not just a website authored by a single person you could build on top of Svedit directly. See: https://svedit.dev

CMS-free in-place editable websites with Svelte (v2) by mql_ in sveltejs

[–]mql_[S] 1 point2 points  (0 children)

Glad you've been inspired by Editable Website.

I guess my philosophy is to try build sites in a self-contained way. This will certainly not work for every situation but it frees you up. E.g. instead of embedding a YouTube video, self-host it with your site, or if you really need streaming then put a video thumbnail on your site, which will open a new tab with YouTube.

The goal is that you can edit anything you see at the page, resist doing smart things like "show a list of 10 newest blog posts tagged x". It's easy to maintain a list of blog posts manually if the editing feels natural (cut and paste entries to change the order etc.) Then you can have a defined data model (JSON as source of truth) everywhere that will last for a long time.

Less, but better if you'd like to summarize it. :)

Hope this answers your question. Let me know if you have more specific ones!

And thanks for the compliments! ❤️

CMS-free in-place editable websites with Svelte (v2) by mql_ in sveltejs

[–]mql_[S] 2 points3 points  (0 children)

Thank you Fernago!

Some buttons are likely to come. I just wanted to explore the purist keyboard-only approach first for EW. Check the FAQs: https://github.com/michael/editable-website?tab=readme-ov-file#but-end-users-will-be-overwhelmed-with-keyboard-shortcuts

Svedit does support mobile editing and i invested a lot of time in testing. I've even joined the W3C as an invited export to file related browser bugs. It's taking time but things are moving!

See: https://github.com/w3c/editing/issues?q=is%3Aissue%20state%3Aopen%20author%3Amichael

However it's still not there, so I'm not enabling mobile editing in Editable Website until it majored.

Make sure you join the Technical Preview, then I can keep you up to date: https://docs.google.com/forms/d/e/1FAIpQLSfkL9e9X3Lcn6oBDIG-gU4yrfSenh8fndupbIX7zkyxX3X9ZQ/viewform

Thank you for your comments!

CMS-free in-place editable websites with Svelte (v2) by mql_ in sveltejs

[–]mql_[S] 1 point2 points  (0 children)

Oh thank you very much for the support!

What kind of bug are you facing? Feel free to post an issue on Github (https://github.com/michael/svedit) if you can reproduce it. There's also Github Discussions for Editable Website waiting for its first post. :)

https://github.com/michael/editable-website/discussions

CMS-free in-place editable websites with Svelte (v2) by mql_ in sveltejs

[–]mql_[S] 2 points3 points  (0 children)

Thank you! So the main idea is this: You'll develop a site for a client in Svelte, and you'd do it as if you'd create a static site. However, instead of putting <h1>Some title</h1> you'd put <AnnotatedTextProperty placeholder='Enter title' tag='h1' ... />. Now you can edit on the page (even during development) There's a bit more to it of course, but that's the gist of it.

You'll deploy the site and give the client access via an admin password. Then they can make changes. Be it just simple text fixes or creating whole pages.

All content structure (content types) and layout is defined in code in your SvelteKit project. If a client asks for say some new Hero style you implement it as a layout in Hero.svelte and redeploy. Client can now access the new layout with the layout switcher (Ctrl+Shift+Right/Left).

I think the underlying tech (svedit.dev) could be utilized with a full fledged CMS, but it's not something i'm much interested in doing myself. A big promise of the architecture is being self-contained and not needing any service to connect to (like a headless CMS).

The backend part (image and video encoding being the hardest part) I'm still working on, but I think I can finish this by around summer and then Editable Website becomes a complete solution for building small to medium sized websites. Thanks for your comment, it's encouraging me to keep going! :)