Shuttle is a Rust-native cloud development platform that lets you deploy your Rust apps for free.
Shuttle is built for productivity, reliability and performance:
๐ Check out our documentation to get started quickly: docs.shuttle.rs
๐โโ๏ธ If you have any questions, join our Discord server.
โญ If you find Shuttle interesting, and would like to stay up-to-date, consider starring this repo to help spread the word.
The gif above demonstrates the ease of adding/managing resources to your project(s) in our upcoming console. Bear in mind that the ease of adding resources is already there, albeit without the visualization coming from the console.
The cargo-shuttle
CLI can be installed with a pre-built binary or from source with cargo.
Shuttle provides pre-built binaries of the cargo-shuttle
CLI with every release for most platforms, they can be found on our GitHub.
Our binaries can also be installed using cargo-binstall, which will automatically install the correct target for your system. To install with cargo-binstall
, run:
cargo binstall cargo-shuttle
Although a bit slower, you can also install directly with cargo:
cargo install cargo-shuttle
After installing, log in with:
cargo shuttle login
To initialize your project, simply write:
cargo shuttle init --axum hello-world
Note: if you use sparse registries (which is enabled by default on
nightly
), you may encounter this bug when running theinit
command. To resolve this, see this comment.
And to deploy it, write:
cd hello-world
cargo shuttle project start # Only needed if project has not already been created during init
cargo shuttle deploy
And that's... it.
$ cargo shuttle deploy
Finished release [optimized + debuginfo] target(s) in 1m 01s
Project: hello-world
Deployment Id: 3d08ac34-ad63-41c1-836b-99afdc90af9f
Deployment Status: DEPLOYED
Host: hello-world.shuttleapp.rs
Created At: 2022-04-01 08:32:34.412602556 UTC
Feel free to build on-top of the generated hello-world
boilerplate or take a stab at one of our examples.
For the full documentation, visit our docs.
Contributing to Shuttle is highly encouraged!
If you want to setup a local environment to test code changes to core Shuttle
packages, or want to contribute to the project check out our docs.
Even if you are not planning to submit any code; joining our Discord server and providing feedback helps us a lot!
For a comprehensive view of the Shuttle roadmap check out this project board.
If you have any requests or suggestions feel free to open an issue.
We are currently in Public Alpha. Watch "releases" of this repo to get notified of major updates!
Author: shuttle-hq
Source: https://github.com/shuttle-hq/shuttle
License: Apache-2.0 license