
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
create-tui
Advanced tools
A CLI tool for creating OpenTUI projects from templates.
# Use with bun (no installation required)
bun create tui my-tui-project
When you run create-tui, the CLI performs the following steps:
package.json with your project namebun create tui
This will prompt you for:
# Create a React project
bun create tui -t react my-react-app
# Create a Core project
bun create tui -t core my-core-app
# Create a Solid project
bun create tui -t solid my-solid-app
The CLI supports three formats for specifying templates:
Simple names for the official templates:
bun create tui -t core my-project
bun create tui -t react my-project
bun create tui -t solid my-project
Use any GitHub repository with a shorthand syntax:
# Use a repository root as template
bun create tui -t username/my-template my-project
# Use a nested directory within a repository
bun create tui -t username/repo/path/to/template my-project
For maximum clarity or when you need to specify a branch:
# Repository root
bun create tui -t https://github.com/username/repo my-project
# Specific branch and path
bun create tui -t https://github.com/username/repo/tree/main/templates/starter my-project
# With verbose output to see detailed progress
bun create tui -t https://github.com/username/repo -v my-project
All templates must have a package.json file at the template root.
| Alias | Description |
|---|---|
core | OpenTUI project with core functionality |
react | OpenTUI project with React integration |
solid | OpenTUI project with Solid.js integration |
Any public GitHub repository can be used as a template. Use either shorthand (owner/repo/path) or full GitHub URLs.
| Argument | Description | Required |
|---|---|---|
project-name | The folder to bootstrap the project in | No |
| Option | Alias | Description |
|---|---|---|
--template | -t | Template: alias (core, react, solid), shorthand (owner/repo), or GitHub URL |
--no-git | Skip initializing a git repository | |
--no-install | Skip installing dependencies | |
--verbose | -v | Show detailed progress during template validation and download |
--help | -h | Show help information |
--version | Show version number |
The CLI automatically checks for newer versions after each run. If an update is available, you'll see a notification with the command to update:
Update available! 1.0.0 -> 1.1.0
Run bun add -g create-tui@latest to update
This check is non-blocking and times out after 3 seconds to avoid slowing down the CLI.
# Install dependencies
bun install
# Run in development mode
bun run dev
# Build for production
bun run build
MIT
FAQs
CLI tool for creating OpenTUI projects from templates
We found that create-tui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.