Skip to content
/ ankimo Public

🐠 Browser extension for sending Japanese words to Anki

License

Notifications You must be signed in to change notification settings

dvcrn/ankimo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ankimo

Browser extension for sending Japanese words to Anki

tangorin

Usage

Currently works on

Installation

Install AnkiConnect

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

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 website

Most 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