Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Remove dependency of supabase #394

Open
Andersama opened this issue Sep 27, 2024 · 2 comments
Open

Suggestion: Remove dependency of supabase #394

Andersama opened this issue Sep 27, 2024 · 2 comments

Comments

@Andersama
Copy link

Andersama commented Sep 27, 2024

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
Copy link

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

@nicosql
Copy link

nicosql commented Dec 2, 2024

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

with 1.23 release of PB, this is now an even better idea than before - basically added avenues to use other data stores alongside sqlite. I use it with Turso, embedded our entire company site (also a svelte app) in the binary lol it's awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants