albbus-stack / kit-stack

A svelte fullstack starter kit inspired by create-t3-app with various added bonuses
https://kit-stack.vercel.app/
Apache License 2.0
18 stars 1 forks source link

Capacitorjs support #5

Open geoman2 opened 2 months ago

geoman2 commented 2 months ago

Hi Have you considered to add Capacitorjs support to your stack?

albbus-stack commented 2 months ago

Thanks for the interest, that's a really nice idea! I think that the only thing that's necessary is the static export for the sveltekit project (@sveltejs/adapter-static) to sync with the capacitor one. If you want to take a look at this it would be very much appreciated 🤘

This also raises the problem of server side rendering as usual along most of the mobile frameworks.

geoman2 commented 2 months ago

did you look into similar stacks for a solution, this https://github.com/ak4zh/sveltekit-capacitor-tailwindcss-supabase has adapter-static installed/configured also https://github.com/jepiqueau/vite-sveltekit-capacitor-sqlite and https://github.com/crewdevio/svelte-native can be a start point as are very recent About UI frameworks, what is your preffered? shadcn/ui has been very popular last few months but konsta ui is also used on some paid mobile IDE like wappler

I see you use the supabase auth as solution, have you heard about supertokens? https://github.com/timothymiller/t4-app/pull/106 has removed supabase and added supertokens. Why?

albbus-stack commented 2 months ago

did you look into similar stacks for a solution, this https://github.com/ak4zh/sveltekit-capacitor-tailwindcss-supabase has adapter-static installed/configured also https://github.com/jepiqueau/vite-sveltekit-capacitor-sqlite and https://github.com/crewdevio/svelte-native can be a start point as are very recent About UI frameworks, what is your preffered? shadcn/ui has been very popular last few months but konsta ui is also used on some paid mobile IDE like wappler

Thanks for the useful links 👍 We'll need to drop ssr routes to create a multi platform stack like t4 using capacitor, if you want to give a hand you can hit me up on discord anytime. For UI frameworks I like shadcn very much, didn't choose it at the time but it's super valid.

I see you use the supabase auth as solution, have you heard about supertokens? timothymiller/t4-app#106 has removed supabase and added supertokens. Why?

This is just a bit outdated and I only upgraded the dependencies once in a while so switching to supertokens would also be great!

To build this we should start from scratch from one of those repos and then reimplement the features one by one gradually. If you are up for it I'm up for it 🤘

albbus-stack commented 2 months ago

https://github.com/crewdevio/svelte-native looks really good for this!

geoman2 commented 2 months ago

Hi, if you want to be more productive use AI chats for coding, my preffered is Mixtral 8x22 from https://labs.perplexity.ai