create-gpui-app

Crates.iocreate-gpui-app
lib.rscreate-gpui-app
version
sourcesrc
created_at2024-05-21 13:31:09.612856+00
updated_at2025-02-19 23:09:53.599547+00
descriptionA CLI tool to create a new gpui app.
homepage
repositoryhttps://github.com/zed-industries/create-gpui-app
max_upload_size
id1246841
Cargo.toml error:TOML parse error at line 21, column 1 | 21 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Nate Butler (iamnbutler)

documentation

README

Create GPUI App

Create a new GPUI app in a single command.

GPUI is a fast, productive UI framework for Rust from the creators of Zed.

Quick Start

cargo install create-gpui-app
create-gpui-app --name my-app
cd my-app

Creating an App

You'll need to have Rust and Cargo installed on your machine. You can install Rust through rustup.

To create a new app, run:

create-gpui-app --name my-app
cd my-app

By default this will output:

my-app
├── src
│   ├── main.rs
├── Cargo.toml
├── README.md

To set up your application as a workspace, run:

create-gpui-app --workspace --name my-app
cd my-app

This will output a directory structure like this:

my-app
├── Cargo.toml
├── crates
│   └── my-app
│       ├── Cargo.toml
│       └── src
│           └── main.rs
└── README.md

create-gpui-app with no arguments will create a new app called gpui-app.

Running the App

  • During development: cargo run
  • For production/performance testing: cargo build --release

Troubleshooting

See the zed development troubleshooting guide for assistance with common errors.

Contributing

Your contributions are welcome! Please read CONTRIBUTING.md for more details.

License

create-gpui-app is open source software licensed as MIT.

Commit count: 9

cargo fmt