358 Repositories
Rust wasm-example Libraries
List the symbols within a wasm file
wasm-nm List the symbols within a wasm file. Library Executable License Contributing Executable To install the wasm-nm executable, run $ cargo install
gc-sections for wasm
wasm-gc Note: you probably don't need to use this project. This project is no longer necessary to run by hand, nor do you need the wasm-gc executable
`wasm-snip` replaces a WebAssembly function's body with an `unreachable`
wasm-snip wasm-snip replaces a Wasm function's body with an unreachable instruction. API Docs | Contributing | Chat Built with 🦀 🕸 by The Rust and W
Twiggy🌱 is a code size profiler
Twiggy 🌱 A code size profiler for Wasm Guide | Contributing | Chat Built with 🦀 🕸 by The Rust and WebAssembly Working Group About Twiggy is a code
webpack plugin for Rust
@wasm-tool/wasm-pack-plugin webpack plugin for Rust Installation With npm: npm install --save-dev @wasm-tool/wasm-pack-plugin Or with Yarn: yarn add -
The Wasm-Enabled, Elfin Allocator
wee_alloc The Wasm-Enabled, Elfin Allocator API Docs | Contributing | Chat Built with 🦀 🕸 by The Rust and WebAssembly Working Group About wee_alloc:
A panic hook for wasm32-unknown-unknown that logs panics with console.error
console_error_panic_hook This crate lets you debug panics on wasm32-unknown-unknown by providing a panic hook that forwards panic messages to console.
WebAssembly serialization/deserialization in rust
parity-wasm Low-level WebAssembly format library. Documentation Rust WebAssembly format serializing/deserializing Add to Cargo.toml [dependencies] par
Visually cluster your emails by sender, domain, and more to identify waste
Postsack A high level visual overview of swaths of email TLDR! A web demo that shows how Postsack clusters a set of 10.000 fake emails Do you have man
Example of a genetic algorithm in Rust and Python
Example of a genetic algorithm in Rust and Python Monkey typewriter Finding the phrase 'To be or not to be. That is the question.' Inspired by the exa
Docker for PyTorch rust bindings `tch`. Example of pretrain model.
tch-rs-pretrain-example-docker Docker for PyTorch rust bindings tch-rs. Example of pretrain model. Docker files support the following install libtorch
Image search example by approximate nearest-neighbor library In Rust
rust-ann-search-example Image search example by approximate nearest-neighbor library In Rust use - tensorflow 0.17.0 - pretrain ResNet50 - hora (Ru
Masked Language Model on Wasm
Masked Language Model on Wasm This project is for OPTiM TECH BLOG. Please see below: WebAssemblyを用いてBERTモデルをフロントエンドで動かす Demo Usage Build image docker
An example of using TensorFlow rust bindings to serve trained machine learning models via Actix Web
Serving TensorFlow with Actix-Web This repository gives an example of training a machine learning model using TensorFlow2.0 Keras in python, exporting
Example Rust application for Heroku
Example application: Rust, Actix & Heroku Rust is a language suitable for high-peformance, reliable web services. Actix is a popular Rust web framewor
Example Actix 2.x REST application implementing many features
Rust/Actix Example An Actix 2.0 REST server using the Rust language. Motivation Actix Web is a fast, powerful web framework for building web applicati
Reference implementation of a full-stack Rust application
Full-stack Rust with WebAssembly Look Ma, No JavaScript !!! My very first Rust project (implementation of the "Connect 5" game), I used as a learning
Complete code for the larger example programs from the book.
Code Examples for Programming Rust This repository contains complete code for the larger example programs from the book “Programming Rust”, by Jim Bla
Rust-and-opengl-lessons - Collection of example code for learning OpenGL in Rust
rust-and-opengl-lessons Project requires Rust 1.31 Collection of example code for learning OpenGL in Rust 00 - Setup 01 - Window 02 - OpenGL Context 0
Wasm game of life - A Rust and WebAssembly tutorial implementing the Game of Life
wasm_game_of_life Conway's Game of Life in Rust and WebAssembly Contributing | Chat Built with 🦀 🕸 by The Rust and WebAssembly Working Group About T
V86 - x86 virtualization in your browser, recompiling x86 to wasm on the fly
v86 emulates an x86-compatible CPU and hardware. Machine code is translated to WebAssembly modules at runtime in order to achieve decent performance.
RustPython - A Python Interpreter written in Rust
RustPython A Python-3 (CPython = 3.9.0) Interpreter written in Rust 🐍 😱 🤘 . Usage Check out our online demo running on WebAssembly. RustPython req
Wasmtime - Standalone JIT-style runtime for WebAssembly, using Cranelift
wasmtime A standalone runtime for WebAssembly A Bytecode Alliance project Guide | Contributing | Website | Chat Installation The Wasmtime CLI can be i
Genact - 🌀 A nonsense activity generator
genact - a nonsense activity generator Pretend to be busy or waiting for your computer when you should actually be doing real work! Impress people wit
Sycamore - A reactive library for creating web apps in Rust and WebAssembly
Sycamore What is Sycamore? Sycamore is a modern VDOM-less web library with fine-grained reactivity. Lightning Speed: Sycamore harnesses the full power
Build frontend browser apps with Rust + WebAssembly. Supports server side rendering.
Percy Build frontend browser apps with Rust + WebAssembly. Supports server side rendering. The Percy Book This README gives a light introduction to Pe
An example of web application by using Rust and Axum with Clean Architecture.
stock-metrics Stock price and stats viewer. Getting Started Middleware Launch the middleware by executing docker compose: cd local-middleware docker c
Inline CSS into style attributes
css-inline A crate for inlining CSS into HTML documents. It is built with Mozilla's Servo project components. When you send HTML emails, you need to u
The purpose of this example is to provide details as to how one would go about using GraphQL with the Rust Language.
Zero to GraphQL Using Rust The purpose of this example is to provide details as to how one would go about using GraphQL with the Rust Language. Thus,
Webpack loader for Rust files.
Webpack loader for Rust files.
A blazingly fast Insertion Sort and Quick Sort visualizer built with Rust and WASM.
sortysort A blazingly fast Insertion Sort and Quick Sort visualizer built with Rust and WASM. Try it in your browser from here Testing locally cargo r
A Web-App written in Rust with Yew, using the same SyntaxHighlighter from Google Code Archive as planetb.ca
PlanetB SyntaxHighlighter About This is a small app, providing static files to have a frontend to format your code so you can paste it with styles to
An example fuzzer about how to fuzz a JS engine combinign Nautilus with Token-level fuzzing
LibAFL QuickJS Fuzzing Example An example fuzzer about how to fuzz a JS engine combinign Nautilus with Token-level fuzzing. Prepare Make sure to have
Tic-Tac-Toe on the GPU, as an example application for wgpu
Tic-Tac-GPU A simple (cough cough) example on a tic-tac-toe game with wgpu. Why? Because I didn't find that many small applications which use wgpu as
Install `wasm-pack` by downloading the executable
wasm-pack-action Install wasm-pack by downloading the executable (much faster than cargo install wasm-pack, seconds vs minutes). Usage - uses: jetli/w
Basic chat example to demonstrate I/O and other rust features.
Basic chat Provides basic chat functions: create room send messages to room fetch room's messages Components STP - custom string transfer protocol lib
Applied offensive security with the Rust programming language
Black Hat Rust Applied offensive security with the Rust programming language Buy the book now! While the Rust Book does an excellent job teaching What
Fuzzer to automatically find side-channel (timing) vulnerabilities
SideFuzz: Fuzzing for side-channel vulnerabilities SideFuzz is an adaptive fuzzer that uses a genetic-algorithm optimizer in combination with t-statis
witgen is a library to generate .wit files for WebAssembly in Rust
witgen witgen is a library to help you generate wit definitions in a wit file for WebAssembly. Using this lib in addition to wit-bindgen will help you
Gun port in rust & wasm
gun-rs-wasm Rust & WASM port of Gun. For a non-wasm version, check out gun-rs Example (source) Use npm install rusty-gun import { Node as Gun } from "
Todo application on Atmos (WebAssembly with WASI)
Get starting Install subo CLI at https://github.com/suborbital/subo Build todo app cd todos subo build . Run docker compose docker compose up Pl
A working example of multi targets compilation for Rust using Github Actions.
A working example of multi targets compilation for Rust using Github Actions. Supports Windows, MacOSX, x86_64, ARM and Raspberry PI Linux.
WebAssembly wrapper for JohnnyMorganz's StyLua
WebAssembly wrapper for JohnnyMorganz's StyLua
Simple example for building a blockchain in Rust
rust-blockchain-example Simple example for building a blockchain in Rust Start using RUST_LOG=info cargo run This starts the client locally. The block
An example of searching iBeacon using gtk-rs and btleplug.
Beacon Searcher Screenshot Compile & Run Install GTK 3 dev packages: macOS: $ brew install gtk+3 $ brew install gnome-icon-theme Debian / Ubuntu: $ s
How to use libtor in a Rust app
libtor example Uses libtor crate to run a Tor daemon in process. This example spawns the Tor daemon using Tokio's spawn_blocking, and then spawns othe
Example of structuring a proc macro crate for testability
testing-proc-macros Example of structuring a proc macro crate for testability. See accompanying blog post for details. License Licensed under either o
The uncomplicated Yew State management library
Bounce The uncomplicated state management library for Yew. Bounce is inspired by Redux and Recoil. Rationale Yew state management solutions that are c
A place for the community to upload example Scrypto code
community-scrypto A place for the community to upload example Scrypto code. Please fork from main, work out of a sub-directory of your choosing, and t
The programming language for scalable development
Pen programming language Pen is the programming language that makes software development scalable, focusing on software maintainability and portabilit
🦀 My Rusty Playground
rust playground A language empowering everyone to build reliable and efficient software. Resources The Book Rustlings Rust by Example Take your first
Example crate using fltk-build
white-frame This is just an example showing the use of fltk-build to create native C/C++ FLTK and cfltk modules for fltk-rs. This repo contains 2 exam
A collection of small games for the Fantasy Console WASM-4
WASM-4 Tutorial Games This repo contains the source code for different tutorial games for the Fantasy Console WASM-4. The goal is to provide a one-sto
🖼 A Rust library for building user interfaces on the web with WebGL.
wasm-ui Hey! Welcome to my little experiment. It's a Rust library for building user interfaces on the web. You write the interface in Rust, and wasm-u
A lightweight framework for building WebSocket-based application backends.
Jamsocket Jamsocket is a lightweight framework for building services that are accessed through WebSocket connections. Services can either be native Ru
An example repository on how to start building graph applications on streaming data. Just clone and start building 💻 💪
An example repository on how to start building graph applications on streaming data. Just clone and start building 💻 💪
A basic rp2040-hal project with blinky and rtt logging example code.
A basic rp2040-hal project with blinky and rtt logging example code. With this you can quickly get started on a new rp2040 project
Stylist is a CSS-in-Rust styling solution for WebAssembly Applications.
Stylist Stylist is a CSS-in-Rust styling solution for WebAssembly Applications. This is a fork of css-in-rust. Install Add the following to your Cargo
Webassembly binding for Hora Approximate Nearest Neighbor Search Library
hora-wasm [Homepage] [Document] [Examples] [Hora] Javascript bidding for the Hora Approximate Nearest Neighbor Search, in WebAssembly way. Features Pe
This repository is an experimental WebAssembly build of the [ymfm] Yamaha FM sound cores library.
This repository is an experimental WebAssembly build of the [ymfm] Yamaha FM sound cores library.
This is an implementation of an Iced backend for Plotters, for both native and wasm applications.
plotters-iced This is an implementation of an Iced backend for Plotters, for both native and wasm applications. This backend has been optimized as for
Raft distributed consensus for WebAssembly in Rust
WRaft: Raft in WebAssembly What is this? A toy implementation of the Raft Consensus Algorithm for WebAssembly, written in Rust. Basically, it synchron
Boids example ported from wgpu to rust-gpu
wgpu is Rust's main GPU project and rust-gpu is a project to write GPU shaders in Rust.
An example smart contract that builds on top of xyz
xyz Guestbook Tutorial Contract This repository contains an example smart contract that illustrates how to build on top of the xyz NFT contract. This
YAC (Yac is Another Chat) is an example of Chat using WebSocket.
YAC (Yac is Another Chat) is an example of Chat using WebSocket. Because often the example you find in internet are "not so production ready", I would like to try to implement something more robust.
A variation of the solana helloworld program example with a client written in Rust instead of Typescript
Simple Solana Smart Contract Example This repository demonstrates how to create and invoke a program on the Solana blockchain. In Solana the word prog
Simple project to test grpc between ruby (client) and rust (server)
grpc-example Simple project to test grpc between ruby (client) and rust (server). Usage To simplify a lot this project uses docker and docker compose
Website about JSON web tokens
Just Web Tokens Web app for JSON Web Token verification also providing a gentle overview of the JWT tech. Dynamic logic is built with the Rust / WASM
The sounds of sorting algos, in wasm
WebAudio View documentation for this example online or View compiled example online You can build the example locally with: $ npm run serve and then
NPM package distributing biscuit in WebAssembly for web components
Biscuit playground This is an example application for Biscuit tokens, where you can manipulate tokens and their verification in your browser. build wi
Another attempt at creating a wrapper for fastcdc in node.js
Another attempt at creating a wrapper for fastcdc in node.js. This time using wasmbindgen instead of neon.
A Conway's Game of Life implementation in Rust & WASM
Rust Wasm Game of Life This repo contains an example implementation of Conway's Game of Life in Rust and WebAssembly. How to use You should have wasm-
Wasm runtime written in Rust
Wasm runtime written in Rust
Example of a Baremetal program written for the Rasperry Pi 1 (BCM2845). Both the UART and the Framebuffer graphics working
This repository is aimed to provide a starting point to whoever is trying to build a BCM2835 program from scratch. This repository contains linker scr
Minimal Rust HTTP client for both native and WASM
ehttp: a minimal Rust HTTP client for both native and WASM If you want to do HTTP requests and are targetting both native and web (WASM), then this is
Octo3D - A 3D Game Engine for the Web!
Octo3D is a WebGPU based 3D Game Development Engine for the web. It provides various functions and utilities to improve the game development experience on the web while leveraging technologies such as TypeScript and WASM (via Rust!).
Gun port in rust & wasm
rusty-gun Rust & WASM port of Gun. Example (source) Use npm install rusty-gun import { Node as Gun } from "rusty-gun" const gun = new Gun('ws://localh
WebAssembly to Lua translator, with runtime
This is a WIP (read: absolutely not ready for serious work) tool for translating WebAssembly into Lua. Support is specifically for LuaJIT, with the se
CRUD example with Rocket, Toql and MySQL
Todo (Rocket, Toql, MySQL) This is a little REST server built with Rocket, Toql and MySQL. The server allows to call CRUD functions on a Todo item. It
The Voting example based on MoonZoon and Solana + Anchor framework.
The Voting example based on MoonZoon and Solana + Anchor framework.
Example sqlite3 Dynamic Loadable Extension in Rust - vfs and vtab modules - port of vfsstat.c
Example sqlite3 Dynamic Loadable Extension in Rust - vfs and vtab modules The vfs and vtab This is a port of the official ext/misc/vfsstat.c sqlite3 e
Example of executing ES module exports from Rust
rusty_esm This is an example showcasing a common use case for embedding Deno - calling JS module exports from Rust. The rest is pretty self explainato
A playground for creating generative art, buit with Rust🦀 and WASM🕸
Genny A playground for creating generative art, buit with Rust 🦀 and WASM 🕸 About This is a simple playground that allows me to explore ideas around
Painless peer-to-peer WebRTC networking for rust wasm
Matchbox Painless peer-to-peer WebRTC networking for rust wasm applications. The goal of the Matchbox project is to enable udp-like, unordered, unreli
WebAssembly development with Trunk & Vite.js
Trunk & Vite.js Demo Trunk is a WASM web application bundler for Rust, and Vite.js is next Generation Frontend Tooling. Ok, they are together now for
example of a full stack web app (backend and frontend) wrtiten in Rust
rust-fullstack-example An example of creating a full stack web application (backend and frontend) using Rust. Backend Go to ./backend and start the se
The Voting example based on MoonZoon and Solana.
Voting example The Rust-only Voting example based on MoonZoon and Solana. MoonZoon is a Rust Fullstack Framework. Solana is a decentralized blockchain
Autogenerated async RPC bindings that instantly connect a JS frontend to a Rust backend service via WebSockets and WASM.
Turbocharger Autogenerated async RPC bindings that instantly connect a JS frontend to a Rust backend service via WebSockets and WASM. See https://gith
Bevy asset loader that transparently supports loading over http(s)
Bevy Web Asset This is a tiny crate that that wraps the standard bevy asset loader, and adds the ability to load assets from http and https urls. Supp
WAGI: WebAssembly Gateway Interface
Write HTTP handlers in WebAssembly with a minimal amount of work
Seed is a Rust front-end framework for creating fast and reliable web apps with an Elm-like architecture.
Seed is a Rust front-end framework for creating fast and reliable web apps with an Elm-like architecture.
2D Predictive-Corrective Smoothed Particle Hydrodynamics (SPH) implementation in Rust with WASM + WebGL
pcisph-wasm 2D Predictive-Corrective Smoothed Particle Hydrodynamics (SPH) implementation in Rust with WASM + WebGL Reimplementation of my previous Ru
An example of Brainf*** JIT-compiler with only the standard library.
jit-compiler An example of Brainf*** JIT-compiler with only the standard library. Prerequisite Rust(1.56.0-nightly or later, but it must work kind of
Example of Rust API for Machine Learning
rust-machine-learning-api-example Example of Rust API for Machine Learning API example that uses resnet224 to infer images received in base64 and retu
Rust bindings to Cloudflare Worker KV Stores using wasm-bindgen and js-sys.
worker-kv Rust bindings to Cloudflare Worker KV Stores using wasm-bindgen and js-sys
Minesweeper game developed with Rust, WebAssembly (Wasm), and Canvas
👉 click here to play the game 👈 Minesweeper game Revealing all the cells without hitting the mines is the task. Each number in the cell denotes how
Re-implementation of Panda Doodle in Rust targetting WASM, a mobile game originally written in C++
Description This is the source code of my game Panda Doodle, which can be played at https://pandadoodle.lucamoller.com/ (it's best playable on touch s
Jamsocket is a lightweight framework for building WebSocket-based application backends.
Jamsocket is a lightweight framework for building services that are accessed through WebSocket connections.
🚀Wasmer is a fast and secure WebAssembly runtime that enables super lightweight containers to run anywhere
Wasmer is a fast and secure WebAssembly runtime that enables super lightweight containers to run anywhere: from Desktop to the Cloud, Edge and IoT devices.