Skip to content

Commit

Permalink
docs: Add examples for all languages into the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hwclass committed Apr 16, 2024
1 parent 6985faa commit 7322997
Show file tree
Hide file tree
Showing 2 changed files with 13,136 additions and 0 deletions.
61 changes: 61 additions & 0 deletions docs/docs/examples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
sidebar_position: 6
---

# Examples

This is a collection of examples including all supported languages with Wasm Workers Server.

## Javascript

* [basic](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-basic/)
* [async](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-async/)
* [catchall](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-catchall/)
* [fetch](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-fetch/)
* [Hono](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-hono/)
* [JSON](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-json/)
* [Modules](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-modules/)
* [params](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-params/)
* [redirect](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-redirect/)
* [tictactoe](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-tictactoe/)

## Rust

* [basic](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/rust-basic/)
* [fetch](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/rust-fetch/)
* [kv](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/rust-kv/)
* [params](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/rust-params/)
* [pdf-create](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/rust-pdf-create/)
* [pdf-wasi-nn](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/rust-wasi-nn/)
* [pdf-wasi-nn-preload](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/rust-wasi-nn-preload/)

## Python

* [basic](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/python-basic/)
* [envs](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/python-envs/)
* [kv](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/python-kv/)
* [libs](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/python-libs/)
* [mount](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/python-mount/)

## Ruby

* [basic](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/ruby-basic/)
* [envs](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/ruby-envs/)
* [kv](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/ruby-kv/)
* [mount](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/ruby-mount/)

## Go

* [basic](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/go-basic/)
* [envs](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/go-envs/)
* [fetch](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/go-fetch/)
* [kv](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/go-kv/)
* [params](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/go-params/)

## Zig

* [basic](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/zig-basic/)
* [envs](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/zig-envs/)
* [kv](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/zig-kv/)
* [mount](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/zig-mount/)
* [params](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/zig-params/)
Loading

0 comments on commit 7322997

Please sign in to comment.