Skip to main content
Home About Privacy Contact

Posts

Showing posts with the label articles

Practice linux commands using ankidroid, termux and ttyd

1. Download Linux Basic Commands Anki Decks from Anki-Custom-Card-Layout GitHub release page 2. Import it in AnkiDroid 2.13  Note: AnkiDroid.A parallel build can be installed for testing purpose. 3. Open  termux  and install package ttyd 4. Then run following command to access it in AnkiDroid 5. Now open AnkiDroid.A, by default in back side of card "practice_in_termux" is set to "false". Change "practice_in_termux" value to "true" 6. Start practicing linux commands!  Demo   Disclaimer The software, code and website links available in this GitHub repo are provided "as is" without warranty of any kind, either express or implied. Use at your own risk.

Import CSV file and generate Anki Deck on Android phone using Pydroid 3

When we have to create anki deck, then Anki Desktop needed. But in this post learn to create anki deck by importing csv, tsv or .txt file on Android. Steps: 1. Install Pydroid 3 from Play Store.  2. Install genanki python library inside Pydroid using pip. 3. Then download Anki Deck Export Tkinter   4. Run this script  5. Select file and fields separated by (tab, comma) 6. Click Import 7. Enter file name, title name, model name. 8. Enter name of fields to be mapped This generate default CSS for exporting deck. The css can be modified inside AnkiDroid app.  Note: It will run on Desktop also. View Code main.py Demo

Add update available option to Anki Deck (For deck developer)

Note : In latest version of Anki, it may not work. So, move this from deck description to card template. Future versions of Anki will block JS from the deck descriptions - the fact that it's currently allowed was just an oversight. When new deck released then users have to check it manually for update for that deck. But in this post learn to add update available option to your deck. (For deck developer). 1. Add a version json file to your deck. For example my deck “Write Kanji” has “version.json” file which contain following info. 2. That file can be accessed using CDN https://cdn.jsdelivr.net/gh/ your-username / project-name /file-name Example for “Write Kanji” Deck: https://cdn.jsdelivr.net/gh/infinyte7/Write-Kanji/Versions/version.json 3. Accessing that file in description of deck.  The file can be accessed using XMLHttpRequest() . Copy the code below and change link and version according to your deck respectively.  4. Full HTML/CSS/JS ...

Add Google translate option to Anki Deck for AnkiDroid only

Many good Anki decks are in English language and reviewing the decks help to learn the subjects. But if we want to learn it in different language then it needs to be translated to other language.  In this post learn to add translate option to Anki Deck. (* AnkiDroid only) 1. Open Note Editor  2. Copy the following to Front / Back side of card template. 3. Save it and reopen the decks. Now select language it will translate automatically. Demo More: https://www.w3schools.com/HOWTO/howto_google_translate.asp

Adding writing components to existing RTK Kanji deck

Note: View this updated page and video (Version 2.0) Watch demo video to add writing component to exisitng deck View Readme.md In this post learn to add the writing component like this  Anki-xiehanzi . Before proceeding make backups with scheduling information.  1. First download and import the deck from  https://ankiweb.net/shared/info/1862058740  into Anki. Then open editor to edit HTML, CSS and JS. 2. Download Write-Kanji.zip. Extract and copy the following  _hanzi_writer_xiehanzi.js and Material Icons Font  files from Add to Existing Deck (Kanji) folder and paste it to Anki/collection.media  folder. Download To more about collection.media. View Anki Manual.  https://docs.ankiweb.net/#/files?id=file-locations 3. Front Side Then inside editor copy and add following code to front side of card. Note: The front side should contain kanji. Like this one. View front.html 4. Styling Now co...

Practice Chinese Grammar in Anki

Practice Chinese grammar using Anki There are two deck. 1.  Chinese Grammar https://github.com/infinyte7/Chinese-Grammar/ 2.  Anki Chinese Grammar Practice https://github.com/infinyte7/Anki-Chinese-Grammar-Practice What is the differences? First: The deck contents extracted from  using Python script. The contents are in HSK order. This contains audio also. Second: The contents taken from existing Anki Deck  . This deck does not contain audio, but Text To Speech program can be used. Download HSK1 Grammar https://ankiweb.net/shared/info/551486109 Download HSK1 - HSK 6 Grammar https://ankiweb.net/shared/info/797518833

Anki-xiehanzi - Learn to read and write Mandarin using Anki

xiehanzi Learn Mandarin by drawing strokes Learn, read, write and practice Mandarin by drawing strokes in Anki Desktop , AnkiDroid and AnkiMobile with audio of HSK1 to HSK6 characters.   Download From GitHub AnkiWeb Features Night mode Change size of characters Change drawing stroke width HSK1 - HSK6 audio included in the decks View meaning by opening  Pleco dictionary  on phone. View character details using  https://hanzicraft.com/ View mnemonics of characters using  http://rtega.be/chmn/ Practice simplified as well as traditional characters Show or hide Simplified, Traditional characters, Pinyin or Meaning Draw characters to learn Mandarin with Simplified, Traditional, Pinyin and Meaning Indicator at ...

Create Anki deck from scratch to learn chinese

In Chinese language the following things to be considered. 1. Simplified 2. Traditional 3. Pinyin 4. Stroke Order 5. Grammar Also it is important to repeat the learned words and sentences. And Anki is best for repeating and reviewing. It is best srs available.  In this post, learn to create Anki Deck with xiehanzi code  for practicing and drawing strokes order. First download latest xiehanzi sample deck from release page. https://github.com/infinyte7/Anki-xiehanzi/releases This sample contain only Chinese word characters. Delete that words. Then use the following to generate your own Deck with audio.  https://github.com/infinyte7/Anki-Chinese-Vocabulary-Generator That will generate 1. xiehanzi folder containing audio for words 2. xiehanz.txt text file, this contain word meaning details. Now copy the xiehanzi folder to collection.media folder To know about collection.media folder. Visit  https://docs.ankiweb.net/#/files?id=file-locations Now import the generated xi...