Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
dictionaries @ 958b613
 
 
 
 
hunspell @ a6a137e
 
 
 
 
 
 
 
 

emscripten-hunspell

This repo is a demo for compiling the hunspell spell checking library with emscripten to JavaScript for client side spellchecking.

Building hunspell with emscripten

You must have emscripten and autoreconf installed. You can use the docker image of apiaryio:

docker run --rm -v $(pwd):/src -ti apiaryio/emcc bash
apt-get install dh-autoreconf

Making hunspell:

cd hunspell
autoreconf -vfi
emconfigure ./configure
emmake make

Creating the js file

cd jsbuild
./build.sh

Running the demo:

python -m SimpleHTTPServer 8080

Open http://localhost:8080/demo.html in your Browser.

About

This repo is a demo for compiling the hunspell spell checking library with emscripten.org to JavaScript for client side spellchecking

Resources

Releases

No releases published

Packages

No packages published