0.1.0-alpha.14 • Published 2 years ago

create-supabase-app v0.1.0-alpha.14

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Welcome to Create Supabase App 👁⚡️👁

create-supabase-app

Supabase is an open-source Firebase alternative.

This terminal application aims to help new developers quickly create ready-to-play applications, powered by Supabase.

It doesn't replace Supabase CLI

Pick a starter project & start playing with Supabase!

🚨 This is still an alpha and could be unstable

npx create-supabase-app@latest

Future

Known issues:

  • UI glitches on macOS & Linux (solved by changing title font and removing gradients 🥲)
  • Fix color theme (solarized dark doesn't work well)
  • Windows with WSL 2, glitches with some Terminal, glitches when screen rerender (Ink know issue)
  • Not responsive 😂 (and probably never)

I plan to add more features and improve the experience (order is subjective) :

  • Add Next.js templates
  • Add more examples with Supabase (edge functions, realtime, ...)
  • Add a no UI mode and support args
  • Add an option to create a local project with Supabase CLI (a more advanced use case)
  • Add tooling to generate base templates (like replicating Auth module without copy/paste)
  • Add support to run an init script located in supabase.init
  • Add a way to test a template locally (to help people create new templates)
  • Add documentation on how to create a template
  • Why not Expo examples?

Make your own CLI app!

To make what I wanted to do, I created a naive implementation of React Router / React Navigation. You can reuse it and improve it to quickly create your own CLI app.

Credits

The workflow comes from retro engineering of Supabase CLI

The template system/idea comes from Remix create-remix (credits in the source code)

The whole project relies on Ink and :

Thanks to @vadimdemedes and @sindresorhus for the great work!

React Router for the routing system that inspired me.

React Navigation for the navigation system that I try to mimic.