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
- Host: GitHub
- URL: https://github.com/kotlin/kotlin-wasm-examples
- Owner: Kotlin
- License: apache-2.0
- Created: 2023-02-07T16:11:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-22T16:13:35.000Z (about 1 year ago)
- Last Synced: 2025-06-08T15:05:23.596Z (4 months ago)
- Topics: examples, kotlin, kotlin-wasm, wasi, wasi-examples, wasm, wasm-examples, webassembly, webassembly-examples
- Homepage: https://kotl.in/wasm
- Size: 19.1 MB
- Stars: 557
- Watchers: 15
- Forks: 64
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](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).