jisho-open
jisho-open copied to clipboard
㊗️ Web frontend for the JMdict Japanese-English dictionary project, with study list support! -- https://jisho.hlorenzi.com
Lorenzi's Jisho
Lorenzi's Jisho is a web frontend for the JMdict Japanese-English dictionary project! It supports creating and sharing custom study lists with your searched words, and you can export them in an Anki-compatible format.
It is live at https://jisho.hlorenzi.com
License
I haven't chosen how to license this repository's code yet. Please only use it for personal reference.
Local Development
To start:
- Use
nodeversion 16 (or greater). - In all of
common/,backend/, andfrontend/, executenpm install. - If you have MongoDB installed, in
backend/, executenpm run db-buildto download JMdict and build the database.
To work on the codebase, execute in parallel:
-
In
backend/, executenpm run devto start the server in watch mode. You can pass arguments to select between a few options for internal services. Remember to pass asnpm run dev -- --option.- For the database service:
--db-mongoUse MongoDB. This is the default.--db-dummyUse a dummy interface that returns empty results.
- For the authentication service:
--auth-dummyUse a dummy service which lets you log in with any user ID. This is the default.--auth-lorenzi,--auth-lorenzi-devUse Lorenzi's closed-source auth server. You probably won't have access to it, so use the dummy service.
- For the database service:
-
In
frontend/, executenpm run devto build and pack the frontend JavaScript files in watch mode. -
Finally, you can access the page through
http://127.0.0.1.