Skip to content

HarikrishnanBalagopal/move2kube-wasm

Repository files navigation

Move2Kube in WASM/WASI

A version of Move2Kube that can run in WASM/WASI. Goal is to run in the browser using a virtual file system. Similar to https://github.com/HarikrishnanBalagopal/test-wasi-fs-browser/tree/main

Prerequisites

Usage

Install dependencies

This should only be run once (or whenever the Javascript) dep

$ cd m2k-web-ui/ && pnpm install

Build and run the Server

From the root directory run the following command:

$ make all

This will:

  • build the WASM module
  • build the Javascript Webpack bundle
  • start a Python HTTP server to serve the webpage

You can go to http://localhost:8080/ to access the UI

Publish

To publish to Github pages run:

$ make all
$ make copy-web

This copies the built m2k-web-ui/dist directory into docs directory.

About

A version of Move2Kube that can run in WASM/WASI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published