Skip to content

0x0501/Apora-Scriptable

Repository files navigation

Apora-scriptable

Apora scriptable integration. This project make Apora easy to use on iOS/iPad with Scriptable and Shortcuts.

Important: You must download Apora shortcuts first before install this script. Click https://www.icloud.com/shortcuts/647d2ef5004d43a28d08be5230bb100b to download. By default. It utilize Apora-English as Anki Note Template, you could make your own template if you want.

Installment

  1. Download Scriptable from Apple Store.
  2. Create a empty scriptable file with the name Apora Helper.
  3. Copy all the content in index.js and paste it in the file you've just created.
  4. Follow the comments in the index.js, configure Anki and Apora.
  5. Download Apora-English.apkg from repository and import it to Anki.

Configuration

  • anki_profile: Your anki profile name。 Open Anki iOS, in settings, you will ee your profiles.
  • anki_deck_name: Your anki deck name, this is case-sensitive.
  • anki_note_type: Your anki note type. The note type must match the fields in index.js, if you don't know what it is, leave it alone. (By default, it use Apora-English)
  • apora_base_url: Do not alter this line, or you code won't work.
  • apora_api_token: Apora API Token, get your token at https://apora.sumku.cc
  • apora_colorize: Whether to colorize the inquired word/phrase in full-text.
  • apora_colorize_color_hex: The color of the emphasizing word/phrase, for example:"#4096ff".

License

GNU General Public License v3.0

About

Apora scriptable integration. This project make Apora easy to use on iOS/iPad with Scriptable and Shortcuts.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published