Voltar ao ranking

ninja33/ODH

JavaScript

A chrome extension to show online dictionary content.

ankichrome-extensiondictionary-scriptpopup-windowdictionary
Crescimento de estrelas
Estrelas
1.6k
Forks
291
Crescimento semanal
Issues
228
5001k1.5k
jan. de 2023mar. de 2024mai. de 2025jul. de 2026
Artefatosnpmnpm install odh
README

Online Dictionary Helper (with Anki support)

[中文版说明]

Online Dictionary Helper is a Chrome/Firefox extension to show definitions for words and phrases from online (or builtin) dictionary via users' selection on any webpage and PDF documents (using pdf.js), which also supports flash-card creation using Anki (with AnkiConnect, an Anki add-on, installed).

Details on the reasons for making this extension can be found in the background introduction if you are interested.

Anki Notes

What might set this extension apart is that users can grab online dictionary content with their own customized script (running under extension development mode). For development details, please check the development guide.

How to use

  1. Install the extension first from Chrome Web Store or Firefox Add-ons, then configure and activate the extension on your demands in the options page.
  2. Open any webpage, move your mouse cursor over the word that you want to select and translate, drag and select/double-click/press Hotkey (defined in options page) to select the word or phrase.
  3. If the word or phrase is a clickable link, use the predefined Hotkey or hold the Alt key while selecting to translate.
  4. A popup window will show up above the selection displaying the word definition.
  5. (Optional) While Anki and AnkiConnect are installed and running, go to the Services Options tab in the options page to setup the Anki deck, type, and field names to put your expression, sentence, reading, definition, etc.
  6. (Optional) Press the green (+) button on the top right corner of each definition in the popup window to add the word or phrase to Anki as a note.

The Options Page

The options of this extension are divided into three sections.

  1. General Options

    • Enabled: Turn the extension on/off.
    • AutoSel.Hotkey: Configure the Hotkey to select words or phrases. Four options are available: Off(Disable the hotkey), Shift, Ctrl, and Alt key.
    • Max.Context: Set the maximum number of sentences extracted from the context of the webpage.
    • Max.Example: Set the maximum number of example sentences from the dictionary (requires support of the dictionary script).
  2. AnkiConnect Options: Setup Anki deck/type name, and which note fields you are going to put expression, sentence, reading, definition, etc.

  3. Dictionary Options:

    • Dictionary Script: Input your own script name here, and click Load Script button to load it.
    • Selected Dictionary: Choose the dictionary (bultin or loaded) for the definitions on your preference.

Options Page

Development

Getting started

The source code of this extension on Github does not contain offline dictionary and English word deformation table data. You can go to the Chrome Web Store to download, or use a Chrome extension downloader to download the plugin's crx file and extract the dictionary JSON file.

Use existing script or develop by yourself

  1. You can use existing dictionary scripts in the dictionaries list.
  2. Or develop the script by yourself based on development guide.
  3. Or open an issue in this repo if you really need help.

Pull request

Pull requests are welcome if you want to enhance this extension, or submit your own dictionary script in the next release.

  • The extension source will go to /src
  • The dictionary script will go to /src/dict
Repositórios relacionados
ankidroid/Anki-Android

AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.

KotlinGNU General Public License v3.0ankiandroid
11.4k2.9k
open-spaced-repetition/fsrs4anki

A modern Anki custom scheduling based on Free Spaced Repetition Scheduler algorithm

Jupyter NotebookMIT Licenseanki-addonspaced-repetition-algorithm
github.com/open-spaced-repetition/fsrs4anki/wiki
4k163
5mdld/anki-jlpt-decks

【egg rolls】JLPT N1~N5 一万词 Anki 牌组【简/繁】【语音&例句】;Anki,日语,日文,日本語,牌组,卡组,牌組,卡組,能力考,日檢

HTMLOtherankijapanese
ankiweb.net/shared/info/832276382
2.8k97
kerrickstaley/genanki

A Python 3 library for generating Anki decks

PythonPyPIMIT Licenseanki-flashcardsanki
2.6k196
FooSoft/anki-connect

Anki plugin to expose a remote API for creating flash cards.

PythonPyPIOtheranki
foosoft.net/projects/anki-connect/
2.1k236
tianshanghong/awesome-anki

A curated list of awesome Anki add-ons, decks and resources

awesome-listawesome
2.1k86
ObsidianToAnki/Obsidian_to_Anki

Script to add flashcards from text/markdown files to Anki

PythonPyPIGNU General Public License v3.0ankianki-script
2k197
tiddly-gittly/TidGi-Desktop

TidGi is an privacy-in-mind, automated, auto-git-backup, freely-deployed knowledge management Desktop note app, based on Tiddlywiki, with REST API for web-clipping and Anki connect. 「 太记 」是一个基于「 太微 TiddlyWiki 」的知识管理桌面应用,能保护隐私内容、高级自动化、自动Git云备份、部署为博客,且可通过RESTAPI与Anki等应用连接。(迭代开发中欢迎试用,开发进度见下方链接)(Under active development, see website below for details)

TypeScriptnpmMozilla Public License 2.0tiddlywiki5tiddlywiki
tidgi.fun
2k116
ripose-jp/Memento

An mpv-based video player for studying Japanese

C++GNU General Public License v2.0japaneseanki
ripose-jp.github.io/Memento/
1.5k63
simjanos-dev/LinguaCafe

LinguaCafe is a self-hosted software that helps language learners read foreign languages.

VueGNU General Public License v3.0language-learninganki
simjanos-dev.github.io/LinguaCafeHome/
1.4k68
glutanimate/review-heatmap

Anki add-on to help you keep track of your review activity

PythonPyPIOtherankianki-addon
ankiweb.net/shared/info/1771074083
1.3k101
FooSoft/yomichan

Japanese pop-up dictionary extension for Chrome and Firefox.

JavaScriptnpmOtherankichrome
foosoft.net/projects/yomichan
1.1k376