Skip to content

Create Anki cards from subtitles using Language Reactor Chrome extension

Notifications You must be signed in to change notification settings

ClearlyKyle/Language-Learning-With-Anki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Language Learning With Anki

Langauge Reactor to Anki

Adds an option to create Anki flash cards with the Language Reactor chrome extension

Language Reactor can be found here:

https://chrome.google.com/webstore/detail/language-reactor/hoombieeljmmljlkjmnheibnpciblicm

Setup

  1. Must install AnkiConnect plugin.
  2. Must leave the Anki desktop application open in order to connect to it.
  3. Install unpacked extension.
  4. Setup the URL (default is http://localhost:8765), deck and model

Usage

Click a word to bring up the definition popup. Clicking the Anki button will send the current word and definition straight to Anki. Also, the "RC" option, will remove the colour from the selected word

bubble-screenshot

Settings

Exported data fields:

  1. Screenshot - an image of video taken at time when button is pressed
  2. Subtitle - the current subtitle visible on screen
  3. Subtitle Translation - this is the translated subtitle when using the 'Show machine translation' option
  4. Word - selected word in the subtitle
  5. Basic Translation - the transaltion of the selected word
  6. Example Sentences - examaples bellow the definitons in the popup, either from current video or Tatoeba
  7. Example Source - Tatoeba or Current video
  8. Other Translation - the extra translations of the word, formatted in HTML
  9. (URL) - URL of current video with the current timestamp
  10. Highlight - toggle wether to highlight words exported to Anki in the choosen colour

Settings allow you to choose which fields are filled with what data. A blank options means that data is skipped

options-screenshot

Poissible Errors

Acess to fetch at 'http://localhost:8765' from origin 'https://www.netflix.com' has been blocked by CORS policy

You need to make sure Netflix and Youtube are add to the "webCorsOriginList" in your AnkiConnect config. To do this, go to:

Anki > tools > Add-ons > AnkiConnect > config

Example of "webCorsOriginList"

    "webCorsOriginList": [
        "http://localhost",
        "https://www.netflix.com",
        "https://www.youtube.com"
    ]

About

Create Anki cards from subtitles using Language Reactor Chrome extension

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published