primocms / primo

Primo is a visual CMS with a built-in code editor, Svelte blocks, and static site generator.
https://primocms.org
MIT License
2.05k stars 540 forks source link

Suggestion: Remove dependency of supabase #394

Open Andersama opened 1 month ago

Andersama commented 1 month ago

I see that this hasn't really been actively developed in the last year or so, but my suggestion if any would be to try to get primo to be executable entirely locally.

This is a bit of a split to improve on the user experience for developers*, not necessarily companies, organizations or non-tech savy individuals who'd like to try this project out.

Note: you also need to update the website with the instruction to change the URL as the last step. I suspect that's actually what's causing me my current problem which is, I tried to get this running locally, and it seemingly mostly worked.

Now I don't know how tightly integrated primo is to supabase, or postgres, so this could likely be a huge undertaking, but I'd like to see a configuration option for using a database directly. Ideally the project as a whole should be launchable via npm run dev, straight from after having been cloned. This might be easier to do with a file-based database like sqlite.

The "best" experience would be to be able to configure supabase / postgres or another database AFTER the project's been launched, make that an optional part of the setup process, and then be able to copy all the work, data to the new database.

acidlake commented 2 weeks ago

maybe i can get it worked with pocketbase, that way can work without supabase