4 releases

0.1.3 Aug 22, 2024
0.1.2 Aug 5, 2024
0.1.1 May 21, 2024
0.1.0 May 21, 2024

#397 in Command line utilities

Download history 14/week @ 2024-06-02 6/week @ 2024-06-09 7/week @ 2024-06-16 2/week @ 2024-06-30 5/week @ 2024-07-07 1/week @ 2024-07-14 9/week @ 2024-07-21 32/week @ 2024-07-28 153/week @ 2024-08-04 23/week @ 2024-08-11 181/week @ 2024-08-18 34/week @ 2024-08-25 11/week @ 2024-09-01 15/week @ 2024-09-08 9/week @ 2024-09-15

75 downloads per month

MIT license

9KB
160 lines

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.

Dependencies

~1.2–1.7MB
~33K SLoC