https://github.com/dvcrn/ankimo
🐠 Browser extension for sending Japanese words to Anki
https://github.com/dvcrn/ankimo
anki clojurescript japanese japanese-language learning
Last synced: 3 months ago
JSON representation
🐠 Browser extension for sending Japanese words to Anki
- Host: GitHub
- URL: https://github.com/dvcrn/ankimo
- Owner: dvcrn
- License: mit
- Created: 2018-04-10T00:55:27.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-28T11:38:47.000Z (over 6 years ago)
- Last Synced: 2025-03-21T12:21:29.776Z (3 months ago)
- Topics: anki, clojurescript, japanese, japanese-language, learning
- Language: Clojure
- Homepage:
- Size: 1.02 MB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ankimo
Browser extension for sending Japanese words to Anki

## Usage
Currently works on
- http://tangorin.com
## Installation
Install [AnkiConnect](https://ankiweb.net/shared/info/2055492159)
- [Safari](https://safari-extensions.apple.com/details/?id=com.davidmohl.ankimo-63Q9A24RB3)
- [Chrome](https://chrome.google.com/webstore/detail/ankimo/mgcnkmjoaekofcajlgmakljhennlhjod)### Configuration
Open the settings and set up the field mappings correctly.
- In Safari, hit `CMD-,` and go to 'Extensions'
- In Chrome, right-click the Ankimo icon and click 'Options'## Developing
### Requirements
Ankimo is written in ClojureScript
- https://leiningen.org
- Java 8### Building
To build the extensions once:
```
lein cljsbuild once
```To watch for changes and automatically rebuild:
```
lein cljsbuild auto
```Ankimo has 2 components:
- a main component that runs in the background (background page in chrome, global page in safari)
- a worker component that is getting injected into the actual websiteMost worker code between browsers is shared inside `worker/common` with browser specific code being in `worker/chrome`, `worker/safari` and so on.
To only build for one specific browser, check the specific build targets inside `project.clj`. For safari you could do
```
lein cljsbuild once safari-worker safari-main# or
lein cljsbuild auto safari-worker safari-main
```## License
MIT