百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
W

wasm-workers-server

> 编程语言
开源

在 WebAssembly 上开发和运行无服务器应用程序

543 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

在 WebAssembly 上开发和运行无服务器应用程序

⚠️ This project will be archived soon. The development will continue as an independent community fork on: https://github.com/webassemblylabs/wasm-workers-server

Wasm Workers Server

Develop and run serverless applications on WebAssembly

workers.wasmlabs.dev

Wasm Workers Server (wws) is an open source tool to develop and run serverless applications server on top of WebAssembly. The applications are composed by multiple modules called workers. Each of these tiny modules is in charge of replying to a specific HTTP endpoint in your application.

When you start wws, it loads the existing workers in the given path or remote repository. You can write a worker in different languages like Rust, JavaScript, Go, Ruby and Python. The filenames and folders determine the final routes that will be served. For example, the index.js will reply to the / endpoint.

Getting started (5 minutes)

  1. Download and install Wasm Worker Sever:

    bash
    curl -fsSL https://workers.wasmlabs.dev/install | bash
  2. Create an index.js file with the following content:

    javascript
    addEventListener("fetch", event => {
      return event.respondWith(
        new Response("Hello from Wasm Workers Server!")
      );
    });
  3. Run wws:

    bash
    $ wws .
    ⚙️  Preparing the project from: .
    ⚙️  Loading routes from: .
    ⏳ Loading workers from 1 routes...
    ✅ Workers loaded in 141.613666ms.
        - http://127.0.0.1:8080/
          => ./index.js
     Start serving requests at http://127.0.0.1:8080
  4. Access to .

Congrats! You just created your first worker . From this point, you can explore the different examples and guides:

  • +20 Worker examples
  • Guides to develop workers in different languages:
    • Rust workers
    • Python workers
    • Ruby workers
    • Go workers
    • JavaScript workers
    • Zig workers

Run in a container

If you don't want to install anything locally you can just run wws from the ghcr.io/vmware-labs/wws:latest container image. You only need to mount your project in the /app folder:

bash
docker run --rm -v $(pwd):/app -p 8080:8080 ghcr.io/vmware-labs/wws:latest

Documentation

All our documentation is available at .

Features

You can find all the available features in the documentation. It includes dynamic routes, an in-memory K/V store, etc.

Language Support

Wasm Workers Server focuses on simplicity. We want you to run workers (written in different languages) safely in WebAssembly. For interpreted languages, we add different interpreters:

Language Support Requires an external runtime Issue
Rust ✅ No -
JavaScript ✅ No -
Go ✅ No #95
Ruby ✅ Yes #63
Python ✅ Yes #63
Zig ✅ No #144
PHP No #100

To get more information about multi-language support in Wasm Workers Server, check our documentation.

Development

Prerequisites

To work with this project you will need to install:

  • Rust
  • Make
  • NodeJS

Run the project

After installing the different prerequisites, you can run the development environment with:

$ cargo run -- --help

Wasm Workers Server is split into different Rust crates. The root project produces the wws, while every crate provides specific features.

Contributing

See CONTRIBUTING.md and CODE_OF_CONDUCT.md.

License

Wasm Workers Server is distributed under the terms of the Apache License (Version 2.0).

See LICENSE for details.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustfaasrustserverlesswasm

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言