Skip to content
A crowdsourced web app for breaking down kanji (Chinese characters) into sub-components
JavaScript Elm Makefile
Branch: gh-pages
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
public
tests
.clang-format
.env.example
.gitattributes
.gitignore
Main.elm
Makefile
README.md
abc-origins.md
abc.tsv
analyzeDups.js
app.js
datdb.js
db.js
depsToDat.js
elm-package.json
fmap.js
hashuser.js
index.html
index.js
package.json
sql2csv
stats.sql
yarn.lock

README.md

KanjiBreak

Just head over to https://kanjibreak.glitch.me/ to see the app and read all about it! See my blog post for some background information.

Run instructions

  • Install Node 8 LTS (Node 10 fails to build leveldb).
  • Clone this repo.
  • Make sure .env is correct (see .env.example)
  • Download the KanjiBreak SQLite database from the main app and move it to ./deps.db.
  • Run npm install.
  • Run npm run serve.

Changing kanji or primitives?

First download KanjiVG and unzip it into this directory.

Make changes to index.js and run it.

Then start the server per above instructions (basically npm install and npm run serve, plus other first-time setup things).

Depending on the depth of changes made, you may have to carefully hand-edit an existing deps.db SQLite3 database file, since the server won't make changes to any rows in the database if they already exist.

You can’t perform that action at this time.