Skip to content

Quick look from ContextReverso.net and create flash cards to Anki

License

Notifications You must be signed in to change notification settings

bikenik/alfred-reverso

Repository files navigation

alfred-reverso Build Status

Alfred 3 workflow to quick look from ContextReverso.net and create flash cards to Anki cards.

Search by headword or phrase or by selected text from anywhere.

Search by headword

Preview

Create, choose and delete your decks in Anki

Create, choose and delete your decks in Anki

Use ⌘L for more info by large text and copy it

Use [⌘L] for more info by large text and copy it

Try this Anki theme (Scramble-sentences) to learning by created cards

anki-scramble-theme

Install

$ npm install --global alfred-reverso
  • Download and import the deck example for Anki to install template. [includes two note types]

Requires: Node.js 7.6+, Alfred Powerpack, Anki intelligent flash cards, AnkiConnect plugin for Anki.

Usage

  • In Alfred, type reverso, Enter, and your query.
  • In Alfred, type reverso *, Enter, and your query to search by your favorite phrases.
  • In Alfred, type reverso !, Enter, to setting, choose your deck with Anki or delete some.
  1. Make a couple of from your source language (srcContext) and target language (trgContext), guided by Reverso site in Alfred workflow configuration.

  2. To use your favorite sentences (quick look, adding to Anki) create an account on the Reverso and share your favorite list of sentences. Set your username (userName) in Alfred workflow configuration.

Configuration

  • There is six requirenments:
    • note_type: "ReversoContext" - by default don't need to change. For bunch - Source language => Target language

    • note_type_reverse: "ReversoContext(reverse)" - by default don't need to change. For bunch - Target language => Source language

      • path_to_anki-media: /Library/Application Support/Anki2/< Profile name of Anki >/collection.media.
      • srcContext: your Source language (e.g Mother tongue)
      • trgContext: your Target language (The language wich you want to learn)
        • "arabic", "german", "english", "spanish", "french", "hebrew", "italian", "japanese", "dutch", "polish", "portuguese", "romanian", "russian"

      not all couples will be work - check with Reverso site

    • userName: To use your favorite sentences (quick look, adding to Anki) create an account on the Reverso and share your favorite list of sentences. Set your username. Do not change default value if you aren't want create account.

ToDo

  • Tests

By me a coffee

Buy Me A Coffee

License

MIT © bikeNik