second-state
ssvm-deno-starter
Dockerfile

A template project to run Rust functions in Deno through the Second State WebAssembly engine.

Last updated Aug 30, 2025
53
Stars
11
Forks
1
Issues
0
Stars/day
Attention Score
8
Language breakdown
Dockerfile 47.9%
Rust 32.3%
TypeScript 19.8%
โ–ธ Files click to expand
README

Build and test

Check out this tutorial article: Deno Apps with WebAssembly, Rust, and WASI

Prerequisites

Install Deno

Install Rust

Also, if you have not done so, please bring your Linux system up to date with dev tools.

sudo apt install build-essential curl wget git vim libboost-all-dev

Setup

The command below installs the ssvmup tooling.

$ curl https://raw.githubusercontent.com/second-state/ssvmup/master/installer/init.sh -sSf | sh

Build

$ ssvmup build --target deno

Test

$ deno run --allow-read --allow-env --unstable deno/test.ts

NOTE: If you encounter an error here, most likely your Deno install and cached library files are out of sync. Use the deno cache --reload command to fix this issue.

Run

$ deno run --allow-read --allow-net --allow-env --unstable deno/server.ts

User test

$ curl http://localhost:8000/
hello  World

Next steps

Check out the SSVM Deno repository for more WebAssembly examples on Deno.

Tutorial article: Deno Apps with WebAssembly, Rust, and WASI

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท second-state/ssvm-deno-starter ยท Updated daily from GitHub