Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wasm-outbound-http-examples/lua-in-go

Make HTTP requests from inside WASM in Lua implemented in Go. Demo and devcontainer.
https://github.com/wasm-outbound-http-examples/lua-in-go

gluahttp gopher-lua gopher-lua-libs http-client http-request lmodhttpclient lua wasm webassembly

Last synced: about 1 month ago
JSON representation

Make HTTP requests from inside WASM in Lua implemented in Go. Demo and devcontainer.

Awesome Lists containing this project

README

        

# Make HTTP requests from inside WASM in Lua (implemented in Golang)

**Note:** if you are interested in "classic", C-based Lua implementations like Wasmoon, see [this project](https://github.com/wasm-outbound-http-examples/lua).

This devcontainer is configured to provide you a latest stable version of Go toolset.

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/wasm-outbound-http-examples/lua-in-go)

1. Example in `browser-gluahttp` directory allows you to build a `gluahttp` sample yourself and experiment with it.
For details, see its [README](browser-gluahttp/README.md).
Also [browser demo](https://wasm-outbound-http-examples.github.io/lua-in-go/gluahttp/) is available.

2. Example in `browser-lmodhttpclient` directory allows you to build a `lmodhttpclient` sample yourself and experiment with it.
For details, see its [README](browser-lmodhttpclient/README.md).
Also [browser demo](https://wasm-outbound-http-examples.github.io/lua-in-go/lmodhttpclient/) is available.

3. Example in `browser-gopher-lua-libs` directory allows you to build a `gopher-lua-libs` sample yourself and experiment with it.
For details, see its [README](browser-gopher-lua-libs/README.md).
Also [browser demo](https://wasm-outbound-http-examples.github.io/lua-in-go/gopher-lua-libs/) is available.

Created for (wannabe-awesome) [list](https://github.com/vasilev/HTTP-request-from-inside-WASM)