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.
These are the Kotlin/Wasm examples you can try:
- Compose example — A simple Compose Multiplatform application template
- Compose Jetsnack — Web version of a Jetsnack application built with Compose Multiplatform
- Compose image viewer — Web version of an image viewer application built with Compose Multiplatform
- Browser example — A simple application showing "Hello World" in the browser using DOM API
- Node.js example — A simple application printing "Hello World" in Node.js
- KoWasm — Server-side and full stack development with Kotlin and WebAssembly leveraging WASI and Component Model
- WASI example — A simple application using WASI API in Node.js and Deno
Try the examples and share your feedback or questions in our #webassembly Slack channel. Get a Slack invite. You can also share your comments with @bashorov on X (Twitter).