Add readme and fix Makefile
This commit is contained in:
parent
481b439a52
commit
62c070d37b
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
target
|
||||
elm-stuff
|
||||
node_modules
|
||||
dist/app.js
|
||||
|
6
Makefile
6
Makefile
@ -1,4 +1,6 @@
|
||||
default: app.js
|
||||
|
||||
app.js: src
|
||||
elm make src/Main.elm --output=dist/app.js
|
||||
app.js: src dist
|
||||
mkdir -p target
|
||||
cp dist/index.html dist/style.css target
|
||||
elm make src/Main.elm --output=target/app.js
|
||||
|
16
README.md
Normal file
16
README.md
Normal file
@ -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)
|
BIN
screenshots/screenshot1.png
Normal file
BIN
screenshots/screenshot1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
Loading…
Reference in New Issue
Block a user