Skip to content
/ examples Public template

Enjoy our curated collection of examples and solutions. Use these patterns to build your own robust and scalable applications.

Notifications You must be signed in to change notification settings

wasmerio/examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wasmer Edge Examples

This repository contains runnable examples for deploying applications to Wasmer Edge. Each example mirrors the structure used in python-fastapi, with a concise walkthrough of how it works, instructions for running locally, and a short deployment guide.

Getting Started

  1. Install the Wasmer CLI and log in with wasmer login.
  2. Clone this repository:
    git clone https://github.com/wasmerio/examples.git
    cd examples
  3. Pick an example, read its README.md, and follow the “Running Locally” steps.
  4. When you are ready to publish, use wasmer deploy from that example directory.

Every example is self-contained. Dependencies, entry points, and Wasmer-specific configuration are documented in the example’s own README.

Repository Overview

Examples are grouped by runtime. “Skip” directories hold work-in-progress templates; “fail” directories capture known issues or failing scenarios for regression testing.

Python

JavaScript & TypeScript

PHP

Go & Rust

Static Sites & Misc

  • staticsite – Shared static assets and helper scripts.
  • Shipit – Build and deployment recipes used by Wasmer’s internal tooling.

Working With the Examples

  • Local development – Most projects rely on the platform tooling for their language (e.g., uvicorn, npm run dev, composer install). Follow the steps in each example README to run locally.
  • Deployingwasmer deploy reads the wasmer.toml (or Shipit configuration) in the example directory to bundle code, configure routes, and upload to your Edge namespace.
  • Environment variables and secrets – Use wasmer secret add or set values in your deployment pipeline. Examples that require API keys (e.g., python-langchain-starter) note them explicitly.

Contributing

Contributions are welcome! If you have an example that showcases a new framework or highlights a best practice:

  1. Follow the template established in existing READMEs (overview → demo → how it works → local run → Wasmer deployment).
  2. Add your directory under the appropriate language prefix (python-, js-, php-, etc.).
  3. Update this root README with a short description and link.
  4. Open a pull request describing the scenario and any prerequisites.

Additional Resources

Happy deploying!

About

Enjoy our curated collection of examples and solutions. Use these patterns to build your own robust and scalable applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published