217 Repositories
Rust webassembly-tutorial Libraries
Full tutorial on coding AI function calling in Rust programming by [Jeremy Chone](https://youtube.com/jeremychone)
Full tutorial on coding AI function calling in Rust programming by Jeremy Chone. We will be using the OpenAI API, but similar approaches can be applie
Kubernetes operator for declaratively deploying wasmCloud applications (via wadm) and hosts on Kubernetes.
wasmcloud-operator An operator for managing a set of wasmCloud hosts running on Kubernetes and manage wasmCloud applications using wadm. The goal is t
A 3D bin packing library in Rust/WebAssembly.
packme-wasm Demo https://packme.vercel.app This repository hosts an implementation of Dube, E., & Kanavathy L. (2006). Optimizing Three-Dimensional Bi
A simple tool to convert a WebAssembly module to a WASI component (component model, WASI-preview2).
A simple tool to convert a WebAssembly module (wasm32-wasi, wasm32-freestanding) to a WASI component (component model, WASI-preview2). Installation In
👾 Run WebAssembly (WASM-4) games on small devices (like PyBadge)
👾 gamgee Run WebAssembly (WASM-4) games on small devices. Gamgee is a WASM-4 games emulator written in Rust and designed to be executed on devices wi
Show HTML content "inside" your egui rendered application
hframe Show HTML content "inside" your egui rendered application. "hframe" stands for "HTML Frame". Note: hframe only works when the application is co
Gauzilla: a 3D Gaussian Splatting renderer written in Rust for WebAssembly with lock-free multithreading
Gauzilla A 3D Gaussian Splatting (3DGS) renderer written in Rust for platform-agnostic WebAssembly (WASM) with lock-free multithreading. Uses WebGL an
Arrow User-Defined Functions Framework on WebAssembly.
Arrow User-Defined Functions Framework on WebAssembly Example Build the WebAssembly module: cargo build --release -p arrow-udf-wasm-example --target w
Code for my workshop "Production-ready WebAssembly with Rust" presented at RustLab 2023 in Florence
Workshop: Production-ready WebAssembly with Rust A workshop on Rust for WebAssembly by Alberto Schiabel (@jkomyno). 🤓 This workshop was first present
Edge network tunnel implemented using Cloudflare Workers.
workers-tunnel Edge network tunnel implemented using Cloudflare Workers. It is recommended to use Xray as the tunnel client. https://github.com/XTLS/X
Tutorial for Porting PyTorch Transformer Models to Candle (Rust)
Candle Tutorial - Convert Pytorch Models to Candle Candle is an ML framework written in rust that takes advantage of the speed and memory safety Rust
Kiomet.com real-time strategy game
Kiomet.com Kiomet.com is an online multiplayer real-time strategy game. Command your forces wisely and prepare for intense battles! Build Instructions
WebAssembly component model implementation for any backend.
wasm_component_layer wasm_component_layer is a runtime agnostic implementation of the WebAssembly component model. It supports loading and linking WAS
Let's pretend that life-before-main exists for Rust targeting WebAssembly
Let's pretend that life-before-main exists for Rust targeting WebAssembly. Installation Add a dependency on wasm-init. This crate intentionally provid
plugy empowers you to construct agnostic dynamic plugin systems using Rust and WebAssembly.
plugy plugy is a plugin system designed to enable the seamless integration of Rust-based plugins into your application. It provides a runtime environm
Compile your WebAssembly programs into SPIR-V shaders
wasm2spirv - Compile your WebAssembly programs into SPIR-V shaders Warning wasm2spirv is still in early development, and not production ready. This re
Conway's Game of Life, visualised using Rust and WebAssembly
Game of Life, using Rust and WebAssembly Tutorial Built with 🦀 🕸 by The Rust and WebAssembly Working Group About Conway's Game of Life, which consis
High-performance Javascript color gradient library powered by Rust + WebAssembly
colorgrad-js High-performance Javascript color gradient library powered by Rust + WebAssembly. No dependencies. Faster than d3-scale, chroma-js, culor
A blazingly fast compiling & optimization tool for CosmWasm smart contracts.
cw-optimizoor A blazingly fast alternative to CosmWasm/rust-optimizer for compiling & optimizing CW smart contracts. It's primarily meant to speed up
A comprehensive and FREE Online Rust hacking tutorial utilizing the x64, ARM64 and ARM32 architectures going step-by-step into the world of reverse engineering Rust from scratch.
FREE Reverse Engineering Self-Study Course HERE Hacking Rust A comprehensive and FREE Online Rust hacking tutorial utilizing the x64, ARM64 and ARM32
Cargo wrapper for working with Webassembly wasi(x).
cargo-wasix A cargo subcommand that wraps regular cargo commands for compiling Rust code to wasix, a superset of Websassembly wasi with additional fun
simple operating system written in Rust with wasi support.
Agave OS Agave OS is a simple operating system written in Rust with wasi support. It is designed to be lightweight and easy to use. It is also designe
An attempt to build full-featured WebAssembly-based monolith charts
Graphima Graphima (Greek: γράφημα) is an attempt to build full-featured WebAssembly-based monolith charts. See "Can I Use" WebAssembly for browser sup
Continuous runtime observablity SDKs to monitor WebAssembly code.
Observe Observe is an observability SDK for WebAssembly. At the moment we support wasmtime hosts and we output opentelemetry data to stdout. We plan t
Fast(er) AES-based constructions for WebAssembly and Rust.
Fast(er) AES-based constructions for Rust and WebAssembly AEGIS-128L AEGIS-256 AES-128-CTR AES-256-CTR AES-128-OCB AES-256-OCB AES-128-GCM AES-256-GCM
DKG using BLS12-381
DKG This library is an implementation of the distributed key generator required for blind DKG. Overview dkg-core: supports both std and no-std. When b
A tool that makes writing WebAssembly Text files easier.
Silly WAT Linker SWL is a tool that makes writing WebAssembly Text files easier. It is future-proof and simple because it doesn’t actually understand
🐚+🦞 Ultra-portable Rust game engine suited for offline 2D games powered by WebAssembly
pagurus 🐚 + 🦞 Ultra-portable Rust game engine suited for offline 2D games powered by WebAssembly. Examples Snake Traditional snake game: examples/sn
🚀 An OSS project to develop and run serverless applications on WebAssembly
Wasm Workers Server Wasm Workers Server (wws) is a framework to develop and run serverless applications server in WebAssembly. These applications are
A simple tutorial on how to call a C function from Rust 🦀
How to call a C function from Rust 🦀 ☎️ I was working on a Rust project where we needed to interact with code written in C. I had to learn how to wor
An ebpf knowledge base, based on llama_index and bpf-developer-tutorial
ebpf-knowledge-base An ebpf knowledge base, based on llama_index and bpf-developer-tutorial Usage First, you need to clone this repo: git clone --recu
A SLAM algorithm for WebAssembly 🍔
🍔 Slamburger [in-progress] This repo is meant to be an extremely teachable codebase for how to do SLAM. It's also meant to provide a library in WebAs
A timer toolkit that is generic over the underlying timer implementation.
timer-kit A timer toolkit that is generic over the underlying timer implementation. This crate does not implement any platform-specific timer but uses
Demo provider, source code for the Provider tutorial.
Fiberplane "Catnip" (tutorial) provider This repository contains the final code of the provider built within the "Create a Provider" tutorial. It reli
An asynchronous runtime compatible with WebAssembly and non-WebAssembly targets.
Promise x Tokio = Prokio An asynchronous runtime compatible with WebAssembly and non-WebAssembly targets. Rationale When designing components and libr
Cross-platform GPU-accelerated viewer for the Mandelbrot set and similar (escape-time) fractals
fractal_viewer A cross-platform, GPU-accelerated viewer for the Mandelbrot Set and related fractals. Try it online! Usage Scroll wheel to zoom, click
Create WASM plugins easily in Rust.
Scotch Library for creating WASM plugins with Rust. Scotch allows you to pass complex types to/from functions in WASM plugins. It achieves that by enc
Write Cloudflare Workers in 100% Rust via WebAssembly. (A fork of workers-rs)
Note: This is a fork to workers-rs. Work-in-progress ergonomic Rust bindings to Cloudflare Workers environment. Write your entire worker in Rust! Read
Rust bindings for Supabase JavaScript library via WebAssembly.
supabase-js-rs Rust bindings for Supabase JavaScript library via WebAssembly. Usage Add supabase-js-rs to Cargo.toml supabase-js-rs = { version = "0.1
Distribute a wasm SPA as HTML by wrapping it as a polyglot "html+wasm+zip"
A packer that adds a webpage to WASM module, making it self-hosted! Motivation At the moment, Browsers can not execute WebAssembly as a native single
Tool for debugging WebAssembly (like gdb).
wasmgdb gdb for WebAssembly Install cargo install wasmgdb Usage Use wasm-edit to transform your module and, once WebAssembly traps, collect the WebAs
Low level tooling for WebAssembly in JavaScript using wasm-tools
js-wasm-tools js-wasm-tools compiles some of the API of wasm-tools to JavaScript and WebAssembly via wasm-bindgen. This offers low level tooling for W
A tutorial of building an LSM-Tree storage engine in a week! (WIP)
LSM in a Week Build a simple key-value storage engine in a week! Tutorial The tutorial is available at https://skyzh.github.io/mini-lsm. You can use t
An educational git clone written in Rust.
rat rat is a simple version control system written in Rust designed primarily to be easy to understand and modify, with as few external dependencies a
Mod_wasm - an extension module for the Apache HTTP Server (httpd) that enables the usage of WebAssembly (Wasm).
mod_wasm is an extension module for the Apache HTTP Server (httpd) that enables the usage of WebAssembly (Wasm). This module will allow to execute certain tasks in the backend in a very efficient and secure way.
🥔 MOS-6502 and NES emulator in Rust (SDL/WebAssembly)
🥔 Potatis /mos6502 - Generic CPU emulator. Passes all tests, including illegal ops. (No BCD mode). /nes - A very incomplete NES emulator. /nes-sdl -
The (hopefully) final iteration of Luminol, written in Rust with love ❤️
Luminol Luminol is an experimental remake of the RGSS RPG Maker editors in Rust with love ❤️ . Luminol targets wasm and native builds with eframe. Lum
A simple Rust and WebAssembly real-time implementation of the Vigénere Cipher utilizing the Sycamore reactive library.
WebAssembly Vigenère Cipher A simple Rust and WebAssembly real-time implementation of the Vigenère Cipher utilizing the Sycamore reactive library, Tru
Rust bindings for the Wasm spec interpreter.
wasm-spec-interpreter This project shows how to use ocaml-interop to call into the Wasm spec interpreter. There are several steps to making this work:
Code Examples in Rust. Reviewing RUST
There are some RUST example code here. Run like this cargo run --example enums cargo run --example iterator ... You can learn about RUST coding from
Extend anything with WebAssembly.
Welcome! Please note: this project still under active development. It's usable, but expect some rough edges while work is underway. If you're interest
evm2near compiles Solidity contracts into NEAR WebAssembly contracts.
EVM → NEAR evm2near is a project for compiling EVM bytecode into wasm bytecode, with the particular goal of having that wasm artifact be executable on
A pure-Rust serverless discord chatbot hosted on Cloudflare Workers.
About A pure-Rust serverless discord chatbot hosted on Cloudflare Workers. With a free account you have up to 100k requests per day. For storing state
Vite + Webassembly starter project
Vite + Typescript+ Webassembly A starter project for you to create a blazingly fast web application Before getting started You need to get these prere
A fresh FRAME-based Substrate node, ready for hacking
Substrate Node Template A fresh FRAME-based Substrate node, ready for hacking 🚀 Getting Started Follow the steps below to get started with the Node T
Helpful functions and macros for developing smart contracts on NEAR Protocol.
near-contract-tools Helpful functions and macros for developing smart contracts on NEAR Protocol. This package is a collection of common tools and pat
Testing Axum & Tokio with WebAssembly
Test code for Axum, Tokio, WASI Compiling: Build with Tokio unstable flag: RUSTFLAGS="--cfg tokio_unstable" cargo build Run with Enarx: Get Enarx Run:
Tools to streamline development of Wasm UDFs for SingleStoreDB.
SingleStore Wasm Toolkit And Examples This repository provides utilities intended to help you streamline development of Wasm UDFs for SingleStoreDB. I
Version of Clue made to be compilable in WebAssembly (WIP)
Clue is a programming language that compiles into Lua code with a syntax similar to languages like C or Rust. Clue tries to be almost as simple as Lua
Helpful functions and macros for developing smart contracts on NEAR Protocol.
near-contract-tools Helpful functions and macros for developing smart contracts on NEAR Protocol. This package is a collection of common tools and pat
WASM bindings for React - enables you to write and use React components in Rust
This library enables you to write and use React components in Rust, which then can be exported to JS to be reused or rendered.
An alternative ggez implementation on top of miniquad.
Good Web Game good-web-game is a wasm32-unknown-unknown implementation of a ggez subset on top of miniquad. Originally built to run Zemeroth on the we
Rust Sandbox [code for 15 concepts of Rust language]
Rust-Programming-Tutorial Rust Sandbox [code for 15 concepts of Rust language]. The first time I've been introduced to Rust was on January 2022, you m
Reverse proxy for HTTP microservices and STDIO. Openfass watchdog which can run webassembly with wasmer-gpu written in rust.
The of-watchdog implements an HTTP server listening on port 8080, and acts as a reverse proxy for running functions and microservices. It can be used independently, or as the entrypoint for a container with OpenFaaS.
Turns running Rust code into a serializable data structure.
WasmBox WasmBox turns running Rust code into a serializable data structure. It does this by compiling it to WebAssembly and running it in a sandbox. T
This experiment shows connecting wasm-bindgen generated code to a good-web-game application.
GWG + wasm-bindgen example This experiment shows connecting wasm-bindgen generated code to a good-web-game application. It uses simple_logger crate to
Egui bindings for macroquad
egui bindings for macroquad This is the easiest way to use egui. Just two functions! Web demo. Usage You need to call ui when you need to get informat
Little 2D physics engine used for my game Crate Before Attack.
Circle2D Circle2D is a little physics library used for my game CrateBeforeAttack. Live demo: https://koalefant.github.io/circle2d/ It is not productio
A very bare-bone Block Chain demo that purely implemented by Rust and yew
Intro bloc is one of bare-bone blockchain demo written by Rust, Yew during my learning BlockChain, about years ago. see demo here It just demonstrate
Wein2D.js bindings for creating browser games in Rust using WebAssembly.
Wein2D.js-WASM Wein2D.js bindings for creating browser games in Rust using WebAssembly. Wein2D.js-WASM requires Wein2d.js to be loaded in the same doc
A tutorial for an NFT Market Place Built with Near Protocol and React.js
nft-marketplace-part-1 A tutorial for an NFT Market Place built using Near Protocol and React.js. Preview To run this app locally, follow below steps:
A simple code for checking crate 'prost' on WebAssembly (🦀 + 🕸️ = 💖)
rust-wasm-prost This repository is a simple code for checking crate 'prost' on WebAssembly ( 🦀 + 🕸️ = 💖 ). What is prost? prost is a Protocol Buffe
computed data's hash by webAssembly
wasm-hasher computed data's hash by webAssembly support md5,sha1,sha2-224,sha2-356,sha2-384,sha2-512,sha3-224,sha3-256,sha3-384,sha3-512,china-sm3 typ
A really basic Cloudflare worker made in rust
Rust WebAssembly Worker. A really basic Cloudflare worker made in rust.
Computed file's md5 by webAssembly
Computed file's md5 by webAssembly
Let's write an OS which can run on x86_64 in Rust from scratch
rCore-Tutorial-v3 rCore-Tutorial version 3.5. See the Documentation in Chinese. news 2021.11.20: Now we are updating our labs. Please checkout chX-dev
⚙️ Experimental JVM bytecode to WebAssembly compiler
⚙️ montera Final year university project: a highly experimental JVM bytecode to WebAssembly compiler ⚠️ Do NOT use this for serious projects yet! It's
Wasmcraft a compiler from WebAssembly to Minecraft Java Edition datapacks
Wasmcraft is a compiler from WebAssembly to Minecraft Java Edition datapacks. Since WebAssembly is a well-supported target for many languages, this means that you can run code written in e.g. C in Minecraft.
An Intermediate Representation which can be compiled into WebAssembly
WebAssembly Intermediate Representation This is an Intermediate Representation which can be compiled into WebAssembly. The source code is in an experi
wasmy, easily customize my wasm app
wasmy wasmy, easily customize my wasm app! features Completely shield vm-wasm interaction details Simple and flexible ABI, supports freely adding vm a
Contains the source code to compile the drop'in language into WebAssembly files
drop'in compiler This repository contains the source code to compile the drop'in language into WebAssembly files. This source code is in an experiment
Let's write an OS which can run on ARM in Rust from scratch
rCore-Tutorial-v3 rCore-Tutorial version 3.5. See the Documentation in Chinese. news 2021.11.20: Now we are updating our labs. Please checkout chX-dev
Rust-based WebAssembly bindings to read and write Apache Parquet files
parquet-wasm WebAssembly bindings to read and write the Parquet format to Apache Arrow. This is designed to be used alongside a JavaScript Arrow imple
Client for integrating private analytics in fast and reliable libraries and apps using Rust and WebAssembly
TelemetryDeck Client Client for integrating private analytics in fast and reliable libraries and apps using Rust and WebAssembly The library provides
Conway Game of Life plus WebAssembly and basic HTTP Server
Conway Game of Life plus WebAssembly and basic HTTP Server How to run First, you have to choose what server do you want to use for hosting the wasm ga
A virtual filesystem layer for WASI
wasi-vfs A virtual filesystem layer for WASI. NOTICE: This project currently supports only WASI applications on the top of wasi-libc This project prov
A template for kick starting a Rust and WebAssembly project using wasm-pack.
A template for kick starting a Rust and WebAssembly project using wasm-pack.
A Rust-implementation of devout’s tutorial to create an SVG graphic device using extendr.
A Rust-implementation of devout’s tutorial to create an SVG graphic device using extendr.
A reimplementation of the excellent word game Wordle by Josh Wardle.
Paudle A reimplementation of the excellent word game Wordle by Josh Wardle. This version was created using Yew and Rust. I cribbed the colors and layo
Easy-to-use wrapper for WebRTC DataChannels peer-to-peer connections written in Rust and compiling to WASM.
Easy-to-use wrapper for WebRTC DataChannels peer-to-peer connections written in Rust and compiling to WASM.
Zaplib is an open-source library for speeding up web applications using Rust and WebAssembly.
⚡ Zaplib Zaplib is an open-source library for speeding up web applications using Rust and WebAssembly. It lets you write high-performance code in Rust
Extreme Bevy is what you end up with by following my tutorial series on how to make a low-latency p2p web game.
Extreme Bevy Extreme Bevy is what you end up with by following my tutorial series on how to make a low-latency p2p web game. There game can be played
This is a small demo to accompany the Tauri + Yew tutorial
Tauri + Yew Demo This is a small demo to accompany the Tauri + Yew tutorial
A (very experimental) WebAssembly backend for Cranelift.
cranelift_codegen_wasm Experimental code generation for WebAssembly from Cranelift IR. note: not ready for usage yet Setup Contains an item called Was
LLVM tutorial in Rust language
Status Everything works. State corresponds to the Chapter 7 of the original tutorial (i.e. mutable variables implemented). TODO list. LLVM tutorial in
TodoMVC in Rust from Scratch (YouTube video tutorial)
TodoMVC in Rust from Scratch (YouTube video tutorial)
A minimalist socket-based client/server in Rust to illustrate a tutorial
The basics of unix sockets This repository serves as a reference for this tutorial blogpost How to run Install Rust and Cargo, and then do: cargo run
Reference client for NEAR Protocol
Reference implementation of NEAR Protocol About NEAR NEAR's purpose is to enable community-driven innovation to benefit people around the world. To ac
CRUD system of book-management with ORM and JWT for educational purposes.
Book management English | 中文 Required Rust MySQL 5.7 Usage Execute init.sql to create tables. Set environment variable DATABASE_URL and JWT_SECRET in
Dependency solver for Elm, made in WebAssembly
Dependency solver for Elm, made in WebAssembly This repo holds a dependency solver for the elm ecosystem compiled to a WebAssembly module. The wasm mo