Ankiconnect Android allows you to utilize the standard Anki mining workflow on Android devices like phones and eReaders

Overview

Ankiconnect Android

Ankiconnect Android allows you to utilize the standard Anki mining workflow on Android devices like phones and eReaders. Create Anki cards using Yomichan on Kiwi Browser and add them straight into your Anki deck! Mine on the go in the same way as you mine on your desktop pc.

Ankiconnect Android is a from scratch unofficial reimplementation of the desktop Ankiconnect extension. It reimplements their core APIs used by Yomichan to work with Ankidroid.

Instructions

Here's how to set everything up from scratch (if you've already got Yomichan working then skip to step 5):

  1. Install Kiwi Browser and Ankidroid

  2. Install Ankiconnect Android - Download

  3. Start the Ankiconnect Android app, accept the permissions and hit start service

  4. Set up the Yomichan extension in Kiwi Browser to your liking:

    • Import 1+ dictionaries by clicking Configure installed and enabled dictionaries and then Import under Dictionaries section (external resources)
    • Scan modifier key under the Scanning section should be "No Key" (unless using mouse/keyboard, advanced options contains more config options)
    • Scan delay under the Scanning section can feel laggy and so can be set to 0
  5. Set up Yomichan for sentence mining:

    • Toggle Enable Anki integration on, under Anki
    • Click on Configure Anki card format and choose the deck, model and field/values you desire
    • Ensure Check for card duplicates has been disabled (only visible under Advanced options)
    • For further custamisation you can write/modify the script under Configure Anki card templates

Sections and Advanced options visible via the blue menu icon on the bottom right of the screen

Easier Yomichan setup: If you import settings from a computer, ensure that the bolded steps are still followed

Limitations

Because Ankiconnect Android is a small project with a limited scope, not all API queries/cases are implemented/considered. The only currently known breaking example is when duplicate card checks are enabled. Features like this with limited scope and which are easy to disable/avoid have been ignored for now (even though enabled in Yomichan by default).

Comments
  • license question

    license question

    May I ask what license you put your app under? You probably only forgot to declare it. If unsure, maybe pick a FOSS one that's approved by OSI/FSF? You can find a list here. Thanks!

    opened by IzzySoft 7
  • Request from Kiwi Browser to AnkiConnect only goes through when switching out of Kiwi

    Request from Kiwi Browser to AnkiConnect only goes through when switching out of Kiwi

    Most of the time, when doing lookups, the Yomichan popup shows the loading bar on top indefinitely until I switch out of Kiwi (going to the home screen or another app). Once I do that, the request goes through and the Plus button shows up in the Yomichan popup.

    I have battery optimization disabled for AnkiConnect, AnkiDroid, and Kiwi. I also “locked” each of them in the app switcher.

    Device: OnePlus 9 Android version: 12

    This might be OnePlus-specific — apparently it’s notorious for killing background apps. https://dontkillmyapp.com/oneplus

    But the weird thing is that Kiwi itself seems to be the one having issues sending (or completing?) the request. Also, as far as I can tell, AnkiConnect itself is active.

    I can provide any other info, just let me know.

    Also glad to contribute a patch if needed, though I might need some hand-holding, as I haven’t written any Android code before.

    opened by bryangarza 6
  • online dictionary helper extension support

    online dictionary helper extension support

    This Ankiconnect Android apk is amazing .Beside yomichan,there is another extension which is simple and easy use,open for multiple languages :online dictionary helper (https://chrome.google.com/webstore/detail/online-dictionary-helper/lppjdajkacanlmpbbcdkccjkdbpllajb?hl=en) . It support Ankiconnect to localhost ,if this apk can have minor fix to support that extension ,that will definately have more and popular use.Thanks in advance!

    opened by ledvip 6
  • Duplicates are not working for me

    Duplicates are not working for me

    Duplicates are not working in my case. I can even add two times the exact same card within a second. Ankidroid and ankiweb are detecting the duplicates. I'm using furigana as the "primary key" for filtering. It works fine with desktop ankiconnect. I tested to change the primary key as a constant string and the problem still occurs. I think somehow android ankiconnect is not getting information that card is a duplicate. Card is added instantly so there's no timeout or anything.

    opened by Draighneys 5
  • Fixed multi request formatting and version handling

    Fixed multi request formatting and version handling

    It seems like the multi request on the README of anki-connect is incorrect. For example, when I try to run the following on my PC:

    {'action': 'multi', 'params': {'actions': [{'action': 'deckNames'}, {'action': 'findNotes', 'params': {'query': '"key:思春期"'}}]}, 'version': 6}
    

    I get the following result:

    {'result': [['Cloze Deletion', 'JPMN-Examples', 'Mining', 'Pitch Accent'], [1659230530092]], 'error': None}
    

    which is different from the documentation, which states that each result is contained in a {"result": ..., "error": ...}.

    Most importantly, this appears to fix the duplicate card problem that many people (including myself) have been facing, including #8, #10, and this issue on Yomichan.

    To give a few more specifics on the issue, here is how you can replicate it:

    • Select any word where the result list has at least one duplicate (i.e. the highlighted word itself need not to be a duplicate, but some word underneath it is a duplicate)
    • Then the plus button does not appear for any word.

    The example I ran into was for the word ハンター which is not a duplicate, but the word 班 appeared some entries below and was a duplicate.

    ~~EDIT: This looks like something to do with the version number being too low, and that isn't handled properly yet.~~

    opened by Aquafina-water-bottle 4
  • Card creation errors

    Card creation errors

    Hi, amazing app, thank you. With this you can get the full Japanese reading experience on mobile for the first time. My only issue is that every time I mine a card, I get a window that says:

    2 errors occurred:

    • No window with id: 152973951.
    • The created card may not have some content

    Whatever these errors are, they don't stop the app from working, and I can dismiss the window by just tapping outside of the Yomichan pop-up. So it's not a big deal, but thought I would report it. It'd look a bit cleaner without any error messages, after all ;)

    opened by eao 2
  • Very limited with instructions

    Very limited with instructions

    Using a galaxy s7 fe tablet, i do not see or know how to install it. The guide you give is very limited. Downloaded the zip. But how do i install you give little to information on this matter. How do i install it? All it says install, how do install 3rd party apps? Please give more instructions to it. I go to files extract it, ankidroid can't open it either. Please give more a more guided instructions.

    opened by noxxid3 2
  • Crashing on Android 6.0

    Crashing on Android 6.0

    Device: Boox Nova Pro 7.8 Android: 6.0.1

    Message: "Unfortunately, Ankiconnect Android has stopped."

    This is unfortunate because everything else, including Kiwi Browser, Yomichan, and AnkiDroid work with this device.

    opened by mathewthe2 2
  • Card tags don't appear to be working

    Card tags don't appear to be working

    The tag icon next to an added word is not displayed in cases where it would be appropriate to be displayed as per my experience with the pc version of yomichan/anki connect.

    opened by JontaroJonstar 2
  • Duplicates are not checked across different model/note types

    Duplicates are not checked across different model/note types

    Within the same deck if you have different note types/models it doesn't seem to check for duplicates within all the note types/models even if the yomichan/anki option -> 'Check for card duplicates' and -> 'Check for duplicates across all models' is selected.

    opened by JontaroJonstar 2
  • Update README.md

    Update README.md

    Hi,

    This small PR adds a link to get your app via the IzzyOnDroid open source app repo in a F-Droid client.

    It will help people without Google Play to find and use your app, as well as helping them to keep it updated.

    Since the apk provided by IzzyOnDroid is simply taken from the Release Section of this repo, please never forget to attach your signed apk to the release when tagging a new version, so that Izzy can take it and make it available via a F-Droid client to your users !

    opened by Poussinou 1
  • Support for CORS

    Support for CORS

    Hi, I'm working on my hobby project which is a Japanese web dictionary called hare: https://github.com/sp3ctum/hare

    It's nothing special but I use it in my own workflow. I'd like to add support for anki connect as well as anki connect android in order to quickly add cards when I'm reading.

    Anki connect allows customizing the CORS origin list in its config, here is an example:

    {
        "apiKey": null,
        "apiLogPath": null,
        "ignoreOriginList": [],
        "webBindAddress": "127.0.0.1",
        "webBindPort": 8765,
        "webCorsOriginList": [
            "http://localhost",
            "https://sakura-paris.org"
        ]
    }
    

    https://sakura-paris.org is where I run my dictionary. Without the added configuration, all requests are blocked by chrome because they target another host. This is what it looks like: image

    But after this configuration has been saved, I can access the service from chrome. image image

    I'll start by working on anki connect desktop but I understand AnkiConnectAndroid uses the same api (roughly) so I think I might be able to support both. This, I imagine, is what yomichan does as well.

    Do you think it could be possible to add support for configurable CORS origins? I could maybe submit a PR for this but I'm not exactly sure how to do it yet.

    opened by sp3ctum 3
Releases(1.6-beta)
Owner
Kamron Bhavnagri
Up and coming machine learning engineer/data scientist. I work on projects and share my insight, knowledge and lessons learnt!
Kamron Bhavnagri
Will export all your words from LingQ to a tab-separated UTF-8 text file, Html, and Anki

LingQWordsExport Will export all your words from LingQ to a tab-separated UTF-8 text file, Html, and Anki. Here you can find a documentation page. Ins

Sergey Svistunov 2 Apr 21, 2022
A semi-official port of the open source Anki spaced repetition flashcard system to Android

AnkiDroid A semi-official port of the open source Anki spaced repetition flashcard system to Android. Memorize anything with AnkiDroid! Features night

AnkiDroid 5.8k Dec 30, 2022
Alleviating some Deepslate mining pain.

1.18 made it harder to clear large amounts of space by mining. Let us alleviate that pain a little. Usage You will instantly mine Deepslate, so long a

CloudOn9 3 Apr 12, 2022
An offline assistant for Android phones

The Sapphire Assistant Framework If you are looking for an Android assistant that is easy to use, flexible, and respects your privacy then look no fur

Christopher Carroll 286 Dec 28, 2022
AnimApp is an app that recommends you random anime and you can add it to your favourite if you like it.

papb-team6 AnimApp is an app that recommends you animes and you can add it to your favourite if you like it. Team members: Firdaus Bisma Suryakusuma (

Gilang Adhitama Putra 1 Mar 9, 2022
Android samples built using Jetpack Window Manager for foldable and dual-screen devices like Microsoft Surface Duo.

Jetpack Window Manager samples for dual-screen and foldable devices like Microsoft Surface Duo Android app samples that use Jetpack Window Manager to

Microsoft 45 Dec 19, 2022
A package to include a standard Unlock premium view in iOS and Android apps

A package to include a standard Unlock premium view in iOS and Android apps

Groupe MINASTE 2 May 21, 2022
Kotlin Spring Boot on GCP App Engine Standard

Kotlin Spring Boot on GCP App Engine Standard Deploy locally git clone https://github.com/mvladoi/sinch-task.git cd springboot mvn spring-boot:run 7

Vladoi Marian 0 Nov 29, 2021
Application that allows to search some products and display them in a list, also allows to add some product to the shopping cart and remove it

Application that allows to search some products and display them in a list, also allows to add some product to the shopping cart and remove it

Victor 3 Aug 18, 2022
Endoscope lets you to stream live video between android devices over Wi-Fi! 📱📲

Endoscope - RTSP live video streamer for android devices via Wi-Fi. Project is no longer supported. Alternative solution is under development. Stay tu

Przemek 640 Dec 21, 2022
This component allows you to interact with remote machine via SSH. You can execute commands or run scripts located on that machine

th2 act ssh (1.2.0) Overview Provides user with the ability to execute specified scripts or commands with the parameter he needs Custom resources for

th2 1 Dec 18, 2022
A mobile application that allows you to get random information every time you enter the application.

Knowledge Repository A mobile application that allows you to get random information every time you enter the application. Google Play Store : Screensh

Nisa Efendioğlu 2 Jul 10, 2022
App that allows you juice lemons until you have a glass of lemonade!! 🍹

Project: Lemonade App - Starter Code Starter code for the first independent project for [Android Basics in Kotlin] Introduction This is the starter co

Shaima Alghamdi 4 Nov 28, 2022
A simple xposed module that helps you use your AdGuard subscription in multiple devices

DualGuard A simple xposed module that helps you use your AdGuard subscription in multiple (>3) devices. Monstor ahead! / 警告 This is NOT a module that

null 7 Oct 2, 2022
This repo provides a sample application that demonstrates how you can speed up the authentication experience for frontline workers on shared devices using QR codes.

Project This repo has been populated by an initial template to help get you started. Please make sure to update the content to build a great experienc

Microsoft 5 Dec 7, 2022
Android app that helps you keep track of the medical supplements you need to take and how you spend your days

Android app that helps you keep track of the medical supplements you need to take and how you spend your days, similar to a bullet journal. It also allows you to reflect on your day, week, year, etc.

Rachelle Hu 4 Nov 10, 2022
An app that allows you to search for Github profiles of users and their repositories [d.light Android Engineer Test], for the Android Engineer Role

An app that allows you to search for Github profiles of users and their repositories [d.light Android Engineer Test], for the Android Engineer Role

Joel Kanyi 9 Aug 26, 2022
Android app that allows you to draw anything and turn it into a jigsaw puzzle.

Android-Jigsaw-Puzzle Like to draw? Like to solve jigsaw puzzles? Try JigDraw! This is an Android app where a user draws something and use it to gener

Jay Paulynice 149 Nov 24, 2022