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

https://github.com/kotlin/kotlin-wasm-examples

Examples with Kotlin/Wasm
https://github.com/kotlin/kotlin-wasm-examples

examples kotlin kotlin-wasm wasi wasi-examples wasm wasm-examples webassembly webassembly-examples

Last synced: 3 months ago
JSON representation

Examples with Kotlin/Wasm

Awesome Lists containing this project

README

          

[![Incubator](https://jb.gg/badges/incubator-plastic.svg)](https://github.com/JetBrains#jetbrains-on-github)

# Kotlin/Wasm examples

This repository contains a collection of examples demonstrating how to use Kotlin/Wasm.
Each example includes the source code and a `README.md` file explaining how to build and run the example.

> **Note:**
> To know more about Kotlin/Wasm, see the [Kotlin documentation](https://kotl.in/wasm).

## Examples

These are the Kotlin/Wasm examples you can try:

* **[Compose example](https://github.com/Kotlin/kotlin-wasm-compose-template/#readme)** — A simple Compose Multiplatform application template
* **[Compose Jetsnack](https://github.com/JetBrains/compose-multiplatform/tree/master/examples/jetsnack/#readme)** — Web version of a [Jetsnack application](https://github.com/android/compose-samples/tree/main/Jetsnack) built with Compose Multiplatform
* **[Compose image viewer](https://github.com/JetBrains/compose-multiplatform/tree/master/examples/imageviewer/#readme)** — Web version of an image viewer application built with Compose Multiplatform
* **[Browser example](https://github.com/Kotlin/kotlin-wasm-browser-template/#readme)** — A simple application showing "Hello World" in the browser using DOM API
* **[Node.js example](https://github.com/Kotlin/kotlin-wasm-nodejs-template/#readme)** — A simple application printing "Hello World" in Node.js
* **[KoWasm](https://github.com/kowasm/kowasm/#readme)** — Server-side and full stack development with Kotlin and WebAssembly leveraging WASI and Component Model
* **[WASI example](https://github.com/Kotlin/kotlin-wasm-wasi-template/#readme)** — A simple application using WASI API in Node.js and Deno

## Feedback and questions

Try the examples and share your feedback or questions in our [#webassembly](https://slack-chats.kotlinlang.org/c/webassembly) Slack channel.
[Get a Slack invite](https://surveys.jetbrains.com/s3/kotlin-slack-sign-up).
You can also share your comments with [@bashorov](https://twitter.com/bashorov) on X (Twitter).