https://github.com/ngduc/create-blank-app
create-blank-app (cba) - just one command to remember - create a blank app.
https://github.com/ngduc/create-blank-app
ai boilerplate chatgpt
Last synced: 11 months ago
JSON representation
create-blank-app (cba) - just one command to remember - create a blank app.
- Host: GitHub
- URL: https://github.com/ngduc/create-blank-app
- Owner: ngduc
- License: mit
- Created: 2021-07-18T01:06:10.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-10-20T15:36:01.000Z (over 2 years ago)
- Last Synced: 2024-12-15T03:25:19.490Z (over 1 year ago)
- Topics: ai, boilerplate, chatgpt
- Language: JavaScript
- Homepage:
- Size: 3.15 MB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Create-Blank-App (CBA)
`create-blank-app (cba)` - just one command to remember. CBA is a command-line tool for creating a new app by searching for tech stacks using keywords. It also supports generative AI.
Support:
- Vite, bun, next, create-react-app (CRA), create-next-app (CNA), create-nuxt-app, create-web3js-app (CWA), express-generator-typescript, create-react-native-app (Expo), react-native init, angular.
- Vite: vue, react, preact, lit-element, svelte app.
- Typescript.
- Support ChatGPT to generate a new app using prompt file.
- Addons: install and configure libraries into existing project (see more below).
```
Installation: $ npm install create-blank-app -g
Usage: $ cba
Examples:
$ cba myapp vite react ts
$ cba myapp cra ts
$ cba madebyai (assume that you have 'madebyai/prompt' file)
```

### Addons:
- You can run addon scripts to install and set up libraries to an existing project.
```
$ cd project
$ cba --add tailwind
```
- Addon List:
- `github-action-ci`: basic Github Action CI workflow.
- `nodemon`: for backend: auto reload when a file changed.
- `tailwind`
- `react-router`
- `prisma`: for backend: added prisma, @prisma/client and examples of tables, /users route.
- `google-oauth-express-react`: for express backend and react webapp.
### ChatGPT:
Support ChatGPT to generate a new app using prompt file:
- Set OpenAI api key like `$ export OPENAI_API_KEY=`
- Create an empty directory, inside, write your prompt in the "prompt" file (or "prompt.gpt4" for gpt-4 model).
- Outside that directory, run: `$ cba `
### Development:
- For development of CBA, see: [/docs/dev.md](/docs/dev.md)