Add a README.md 2cbe4f9c
Pedro Santana · 2025-07-11 18:19 1 file(s) · +65 −0
README.md (added) +65 −0
1 +
# create-bhvr 🦫
2 +
3 +
![cover](https://cdn.stevedylan.dev/ipfs/bafybeievx27ar5qfqyqyud7kemnb5n2p4rzt2matogi6qttwkpxonqhra4)
4 +
5 +
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/0xZ0uk/create-vhs/blob/main/LICENSE)
6 +
[![create-bhvr version](https://img.shields.io/npm/v/create-bhvr.svg?label=%20)]
7 +
8 +
A command-line interface (CLI) to quickly scaffold a new `bhvr` project. `bhvr` is a full-stack TypeScript monorepo starter with shared types, using Bun, Hono, Vite, and React.
9 +
10 +
## Getting Started
11 +
12 +
To create a new `bhvr` project, run any of the following commands and follow the interactive prompts:
13 +
14 +
```bash
15 +
# Using Bun
16 +
bun create bhvr my-bhvr-app
17 +
```
18 +
19 +
```bash
20 +
# Using PNPM
21 +
pnpm create bhvr my-bhvr-app
22 +
```
23 +
24 +
```bash
25 +
# Using NPX
26 +
npx create-bhvr my-bhvr-app
27 +
```
28 +
29 +
This will create a new directory called `my-bhvr-app` inside the current folder.
30 +
31 +
## Features
32 +
33 +
- **Interactive Setup**: A simple and fast interactive CLI to guide you through project setup.
34 +
- **Multiple Templates**: Choose from several templates to get started:
35 +
    - `default`: A basic setup with Bun, Hono, Vite, and React.
36 +
    - `tailwind`: Includes Tailwind CSS for styling.
37 +
    - `shadcn`: Pre-configured with Tailwind CSS and shadcn/ui.
38 +
- **Optional RPC**: Automatically configure Hono RPC for end-to-end type-safe API communication.
39 +
- **Linter Choice**: Choose between ESLint (default) or Biome for code linting and formatting.
40 +
- **Automated Setup**: Handles `git` initialization and dependency installation for you.
41 +
42 +
## Command-Line Options
43 +
44 +
You can also use command-line options to skip the interactive prompts:
45 +
46 +
| Option                  | Description                                            | Default   |
47 +
| ----------------------- | ------------------------------------------------------ | --------- |
48 +
| `[project-directory]`   | The name of the directory to create the project in.    | -         |
49 +
| `-y, --yes`             | Skip all confirmation prompts and use default values.  | `false`   |
50 +
| `--template <template>` | Specify a template (`default`, `tailwind`, `shadcn`).  | `default` |
51 +
| `--rpc`                 | Use Hono RPC for type-safe API communication.          | `false`   |
52 +
| `--linter <linter>`     | Specify the linter to use (`eslint` or `biome`).       | `eslint`  |
53 +
| `--branch <branch>`     | Specify a branch to use from the repository.           | `main`    |
54 +
55 +
## Contributing
56 +
57 +
We welcome contributions from the community! Whether it's reporting a bug, suggesting a new feature, or submitting a pull request, your help is appreciated.
58 +
59 +
Please read our [**CONTRIBUTING.md**](CONTRIBUTING.md) for detailed guidelines on how to get started.
60 +
61 +
## Links
62 +
63 +
- [License (MIT)](LICENSE)
64 +
- []
65 +
- [Website](https://bhvr.dev)