# create-supabase-app

> A CLI to create apps powered by Supabase

Latest version **0.1.0-alpha.14** (published 2022-08-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install create-supabase-app
pnpm add create-supabase-app
yarn add create-supabase-app
bun add create-supabase-app
```

Provides the command `create-supabase-app`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0-alpha.14 |
| Published | 2022-08-23 |
| First published | 2022-08-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=16 |
| Dependencies | 15 |
| Unpacked size | 108.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 22 |
| Author | Raphaël Moreau |
| Maintainers | rphlmr |

## Links

- npm: https://www.npmjs.com/package/create-supabase-app
- Repository: https://github.com/rphlmr/create-supabase-app
- Homepage: https://github.com/rphlmr/create-supabase-app#readme
- Issues: https://github.com/rphlmr/create-supabase-app/issues
- npm.io page: https://npm.io/package/create-supabase-app

## Dependencies (15)

- [pg](https://npm.io/package/pg.md) ^8.7.3
- [ink](https://npm.io/package/ink.md) ^3.2.0
- [react](https://npm.io/package/react.md) ^17.0.2
- [tar-fs](https://npm.io/package/tar-fs.md) ^2.1.1
- [figures](https://npm.io/package/figures.md) ^3.2.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^10.1.0
- [node-fetch](https://npm.io/package/node-fetch.md) ^3.2.10
- [ink-spinner](https://npm.io/package/ink-spinner.md) ^4.0.3
- [gunzip-maybe](https://npm.io/package/gunzip-maybe.md) ^1.4.2
- [ink-big-text](https://npm.io/package/ink-big-text.md) ^1.2.0
- [ink-gradient](https://npm.io/package/ink-gradient.md) ^2.0.0
- [ink-text-input](https://npm.io/package/ink-text-input.md) ^4.0.3
- [ink-select-input](https://npm.io/package/ink-select-input.md) ^4.2.1
- [sort-package-json](https://npm.io/package/sort-package-json.md) ^1.57.0
- [react-error-boundary](https://npm.io/package/react-error-boundary.md) ^3.1.4

## Recent versions

- 0.1.0-alpha.14 (latest) — 2022-08-23
- 0.1.0-alpha.12 — 2022-08-23

## README

# Welcome to Create Supabase App 👁⚡️👁

![create-supabase-app](https://user-images.githubusercontent.com/20722140/186226036-c1a91274-1e2d-4a40-9164-f41d430942ee.png)

[Supabase](https://supabase.com/) 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](https://supabase.com/docs/guides/cli)

## Pick a starter project & start playing with Supabase!

> 🚨 This is still an **alpha** and could be **unstable**

```sh
npx create-supabase-app@latest
```

## Future

Known issues:

- [x] 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](https://github.com/supabase/cli)

The template system/idea comes from [Remix](https://github.com/remix-run/remix) `create-remix` (credits in the source code)

The whole project relies on [Ink](https://github.com/vadimdemedes/ink) and :

- [ink-big-text](https://github.com/sindresorhus/ink-big-text)
- [ink-gradient](https://github.com/sindresorhus/ink-gradient)
- [ink-select-input](https://github.com/vadimdemedes/ink-select-input)
- [ink-spinner](https://github.com/vadimdemedes/ink-spinner)
- [ink-text-input](https://github.com/vadimdemedes/ink-text-input)

Thanks to [@vadimdemedes](https://github.com/vadimdemedes) and [@sindresorhus](https://github.com/sindresorhus) for the great work!

[React Router](https://reactrouter.com/) for the routing system that inspired me.

[React Navigation](https://reactnavigation.org/) for the navigation system that I try to mimic.

---
_Source: https://npm.io/package/create-supabase-app · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
