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.
To know more about Kotlin wasm, please visit https://kotl.in/wasm.
Examples
- Compose Jetsnack β Web version of Jetsnack application built with Compose Multiplatform
- Compose Image Viewer β Web version of Image Viewer application built with Compose Multiplatform
- Browser Example -- A simple app showing "Hello World" in the browser using DOM API.
- Node.js Example -- A simple app printing "Hello World" in the Node.js.
- KoWasm -- Server-side and full stack development with Kotlin and WebAssembly leveraging WASI and Component Model.
- WASI Example -- A simple app using WASI API in the Node.js.
Build and run
To build and run an example, follow these steps:
- Clone this repository
- Navigate to the directory of the example you want to build and run.
- Follow instruction in the README.md
Feedback & Questions
Try examples, and share your feedback and ask questions in the Kotlin Slack #webassembly channel (if youβre not a member, apply here) or on Twitter to @bashorov.