wagi VS shuttle

Compare wagi vs shuttle and see what are their differences.

wagi

Write HTTP handlers in WebAssembly with a minimal amount of work (by deislabs)

shuttle

Build & ship backends without writing any infrastructure files. (by shuttle-hq)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
wagi shuttle
14 57
867 5,542
1.3% 3.6%
1.8 9.7
almost 2 years ago 7 days ago
Rust Rust
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

wagi

Posts with mentions or reviews of wagi. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-27.
  • Reminiscing CGI Scripts
    3 projects | news.ycombinator.com | 27 Dec 2023
    WAGI and WCGI are the WASM based spiritual successors.

    https://github.com/deislabs/wagi

    https://wasmer.io/posts/announcing-wcgi

  • A simple web server written in Awk
    4 projects | news.ycombinator.com | 19 Sep 2023
    Compile a CGI program in any language to WASI, then use https://github.com/deislabs/wagi to run it.
  • Running WASI binaries from your HTML using Web Components
    4 projects | news.ycombinator.com | 28 Aug 2023
    Yeah of course! They've got STDIN/STDOUT/STDERR and I've built a Virtual Filesystem. But if you're using WASI binaries locally they don't have that restriction.

    You might be interested in WAGI: https://github.com/deislabs/wagi

    And to catch up on WASI: https://xeiaso.net/talks/unix-philosophy-logical-extreme-was...

  • Waggy, the library for writing WAGI API handlers in Go
    3 projects | /r/golang | 28 Nov 2022
    As I'm sure you've heard, WASM has been growing in popularity and use over the past few years. And with the creation of WASI (Web Assembly System Interface) and WAGI (Web Assembly Gateway Interface), WASM is starting to venture outside of running just in the browser. And in the case of WAGI, if you've been programming since the earlier days of the internet, it might feel very similar to CGI programming (and that's because it's based on CGI1.1!) WAGI provides a way for developers to define handlers for HTTP requests and route them to specific functions inside of, or entire, WASM modules. It does so by piping the headers of the incoming request to os.Args[1:], piping the body of the incoming request to os.Stdin, and writing the response to os.Stdout. (To learn more about configuring, routing, compiling, and deploying WAGI routes, as well as the limitations of WAGI routes, please consult the WAGI docs and the TinyGo WASM docs)
  • Rethinking Virtualization for Back Ends
    2 projects | news.ycombinator.com | 27 Oct 2022
    What do you think of WAGI [1], which is basically CGI for WASM modules.

    [1]: https://github.com/deislabs/wagi/blob/main/docs/writing_modu...

  • Isolates, MicroVMs, and WebAssembly (In 2022)
    10 projects | news.ycombinator.com | 26 Sep 2022
  • The Promise of WASM
    4 projects | dev.to | 26 May 2022
    as serverless functions (https://github.com/deislabs/wagi)
  • Single Page Applications using Rust (with WASM)
    4 projects | news.ycombinator.com | 2 May 2022
    I'm experimenting with WASM & Rust but with a different framework named wagi, there's a great video by Rainer Stropek & Stefan Baumgartner that gives a little introduction to it [0]

    [0]: https://www.youtube.com/watch?v=9NDwHBjLlhQ

    [1]: https://github.com/deislabs/wagi

  • Building a WebAssembly-powered serverless platform
    4 projects | /r/programming | 18 Apr 2022
    Krustlet and WAGI are two such projects.
  • Introduction to Hippo: The WebAssembly PaaS
    1 project | news.ycombinator.com | 21 Sep 2021
    It does support it, the runtime we are currently using enables that -- see https://github.com/deislabs/wagi/blob/main/docs/writing_modu...

    Good point on the docs, I will open an issue and add some information about it, thanks!

shuttle

Posts with mentions or reviews of shuttle. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-21.
  • Prodzilla: From Zero to Prod with Rust and Shuttle
    6 projects | dev.to | 21 Feb 2024
    Moreover, I especially like where Rust is right now in the web space. It really feels like there’s a lot of smart people working on the next generation of web development tools - it feels like the place to be. There are a range of great open-source web dev tools that are just reaching critical levels of maturity. Axum, which I used to build Prodzilla, feels ready for out of the box web dev, and is crazy-performant, as I write about later. More recently available is Loco, a Rails-like framework for building web applications in Rust that's picking up steam. And in dev-tooling and hosting there’s Shuttle, a 1-line hosting solution for Rust backends.
  • Getting Started with CLI tools in Rust using Clap
    5 projects | dev.to | 10 Dec 2023
    cargo-shuttle is Shuttle's own CLI for interacting with the Shuttle platform. Within the src folder, you will be able to get a better sense of how you can organise your folders/files for a larger CLI project for a live service. There is also use of async here with tokio, so if you're interested in learning how to get started with using clap with async services (for example setting up an async client for a database service), this would be a perfect opportunity to learn to do so!
  • A guide to getting started with Axum - 0.7 changes included
    1 project | /r/rust | 6 Dec 2023
    https://github.com/shuttle-hq/shuttle/tree/main/services/shuttle-axum https://docs.rs/shuttle-axum/0.34.1/src/shuttle_axum/lib.rs.html#1-78
  • Show HN: Shuttle – Build and ship backends without writing infrastructure files
    1 project | /r/patient_hackernews | 7 Oct 2023
  • Show HN: Shuttle – Build Back Ends Fast
    2 projects | news.ycombinator.com | 4 Oct 2023
    It would be great if there are some kind of code snippet on the README that really demonstrate the "ship backends without writing infra" feature that I think is one of the unique feature of shuttle. I remember seeing one on the official website (https://shuttle.rs) that left me impressed.
  • Get your project featured at EuroRust
    1 project | /r/rust | 27 Sep 2023
    Shuttle is currently accepting entries for a competition, with the best projects being featured at our booth at the [EuroRust](eurorust.eu/) conference this year.
  • Best way to deploy a Rust backend?
    5 projects | /r/rust | 11 Jun 2023
    Reading here https://shuttle.rs may be nice to try for the future.
  • Rust for Javascript Developers: Building apps that utilize LLMs
    1 project | /r/webdev | 8 Jun 2023
    At Shuttle, we've teamed up again with Stefan Baumgartner, the organizer of Rust Linz and author of 'Typescript in 50 lessons', to host a free workshop titled "Rust for Javascript Developers: Building apps that utilize LLMs".
  • Contributing to Open Source
    2 projects | /r/rust | 19 May 2023
    The community being built at https://shuttle.rs is extremely open and welcoming. I’ve yet to do anything on the main code base, but I’ve helped with the docs.
  • Shuttle Launchpad - learn Rust by building real-world applications, in bite-sized chunks
    1 project | /r/rust | 16 May 2023
    At Shuttle we’ve teamed up with Stefan Baumgartner, the organizer of Rust Linz, to create a newsletter series that takes a slightly different approach towards learning Rust.

What are some alternatives?

When comparing wagi and shuttle you can also consider the following projects:

wasi-experimental-http - Experimental outbound HTTP support for WebAssembly and WASI

axum-aws-lambda - Seamlessly use Axum on AWS Lambda

wasmer-python - 🐍🕸 WebAssembly runtime for Python

Hentoid - Doujinshi Android App

wasm-to-oci - Use OCI registries to distribute Wasm modules

pocketbase - Open Source realtime backend in 1 file

wizer - The WebAssembly Pre-Initializer

wasmCloud - wasmCloud allows for simple, secure, distributed application development using WebAssembly components and capability providers.

dioxus - Fullstack GUI library for web, desktop, mobile, and more.

n8n - Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services.

wasi-vfs - A virtual filesystem layer for WASI.

pack - CLI for building apps using Cloud Native Buildpacks