vadimkantorov / wasm-iconv

iconv program (from GNU libiconv) compiled to WebAssembly with Emscripten

Home Page:https://vadimkantorov.github.io/wasm-iconv/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deployed online at https://vadimkantorov.github.io/wasm-iconv/

wasm-iconv

iconv program (from GNU libiconv) compiled to WebAssembly using Emscripten and embedded in a single-file HTML.

iconv.html standalone file is also published in Releases, i.e. you can download https://github.com/vadimkantorov/wasm-iconv/releases/download/release/iconv.html and just click/open it in your local web browser from the local file system.

This repo can also serve as a primer of converting a UNIX utility program to a self-contained webpage.

Build from souces

# assumes installed Emscripten's emcc/emmake

# download and extract GNU libiconv sources
which curl && make libiconv

# build and produce ./iconv.html
which emcc && test -d libiconv && make iconv.html

# deploy ./iconv.html to GitHub Pages by creating and pushing into `gh-pages` branch
which git && test -f iconv.html && make deploy

License

MIT

About

iconv program (from GNU libiconv) compiled to WebAssembly with Emscripten

https://vadimkantorov.github.io/wasm-iconv/


Languages

Language:HTML 89.4%Language:Makefile 10.6%