anki/react
Damien Elmes 82f0db7583 add a web UI proof of concept
See react/README
2020-01-06 14:28:07 +10:00
..
public add a web UI proof of concept 2020-01-06 14:28:07 +10:00
src add a web UI proof of concept 2020-01-06 14:28:07 +10:00
.env add a web UI proof of concept 2020-01-06 14:28:07 +10:00
.eslintrc.js add a web UI proof of concept 2020-01-06 14:28:07 +10:00
.gitignore add a web UI proof of concept 2020-01-06 14:28:07 +10:00
Makefile add a web UI proof of concept 2020-01-06 14:28:07 +10:00
package-lock.json add a web UI proof of concept 2020-01-06 14:28:07 +10:00
package.json add a web UI proof of concept 2020-01-06 14:28:07 +10:00
pybackend.py make the backend available over HTTP 2020-01-06 12:47:09 +10:00
README add a web UI proof of concept 2020-01-06 14:28:07 +10:00
tsconfig.json add a web UI proof of concept 2020-01-06 14:28:07 +10:00

This is a proof of concept for an alternate, web-based UI. It is in the very
early stages, and does not do anything useful at the moment.

The code uses the helpers in ../tslib to communicate with the Python
backend defined in ../pylib/anki/pybackend.py, leveraging the same
protobuf definitions used for the Rust/Python bridge.

To try it:

- ensure 'tmux' is installed
- run 'make run' in the top level folder and close Anki
- copy a test .anki2 file to ~/test.anki2
- run 'make run' in this folder