Add readme and fix Makefile
This commit is contained in:
parent
481b439a52
commit
62c070d37b
|
@ -1,3 +1,4 @@
|
||||||
|
target
|
||||||
elm-stuff
|
elm-stuff
|
||||||
node_modules
|
node_modules
|
||||||
dist/app.js
|
dist/app.js
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -1,4 +1,6 @@
|
||||||
default: app.js
|
default: app.js
|
||||||
|
|
||||||
app.js: src
|
app.js: src dist
|
||||||
elm make src/Main.elm --output=dist/app.js
|
mkdir -p target
|
||||||
|
cp dist/index.html dist/style.css target
|
||||||
|
elm make src/Main.elm --output=target/app.js
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
# google-handwriting-api-elm
|
||||||
|
|
||||||
|
[![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org)
|
||||||
|
|
||||||
|
This is a proof of concept to figure out how the google translate API works.
|
||||||
|
It consists of a canvas which will send its data to google in order to recognize japanese letters.
|
||||||
|
|
||||||
|
There are toggles which lets you filter out hiragana, katakana, etc.
|
||||||
|
|
||||||
|
## Running
|
||||||
|
|
||||||
|
If you have elm (and make) already installed, you can run `make` and check the target directory for outputs.
|
||||||
|
|
||||||
|
However, it's preferably built with `nix build`
|
||||||
|
|
||||||
|
![screenshot](screenshots/screenshot1.png)
|
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
Loading…
Reference in New Issue