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/starlark-in-go

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

http-client http-request nethttp starlark starlark-go starlib starlight wasm webassembly

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

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

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/starlark-in-go)

The following examples allow you to build a browser example (same as related demo),
along with Deno and Bun examples and experiment with all of them.

#
Example
Description
Browser demo

1

[Starlark](browser-and-deno/README.md)

in pure Starlark-go

[Demo](https://wasm-outbound-http-examples.github.io/starlark-in-go/starlark/)

2

[Starlib](browser-and-deno-starlib/README.md)

using `qri-io/starlib` - the *"Starlark's Missing standard Library"*

[Demo](https://wasm-outbound-http-examples.github.io/starlark-in-go/starlib/)

3

[Starlight](browser-and-deno-starlight/README.md)

using `starlight-go/starlight` lib

[Demo](https://wasm-outbound-http-examples.github.io/starlark-in-go/starlight/)

4

[Starlight Enhanced](browser-and-deno-starlight-enhanced/README.md)

using `1set/starlight` lib - the maintained fork of `Starlight`

[Demo](https://wasm-outbound-http-examples.github.io/starlark-in-go/starlight-enhanced/)

5

[starlark-go-nethttp](browser-and-deno-nethttp/README.md)

using `pcj/starlark-go-nethttp` lib - a http module for starlark-go

[Demo](https://wasm-outbound-http-examples.github.io/starlark-in-go/nethttp/)

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