GithubHelp home page GithubHelp logo

ernestohegi / wanikani-leeches-to-anki-sentence Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 3 KB

๐ŸŠ๐Ÿฆ€ Gets all your leeches from WaniKani and creates an Anki exportable file with the troublesome item plus WaniKani sentences related to it. It only works with vocabulary items, as they are the only ones that have sentences.

JavaScript 100.00%

wanikani-leeches-to-anki-sentence's Introduction

wanikani-leeches-to-anki-sentence

The motivation for this repository comes after countless hours reviewing leeches and finding the only solution that helped me to squash them is learning the item with context. WaniKani sentences are great to provide context. All the leeched items I reviewed using this technique are no more leeches.

Gets all your leeches from WaniKani and creates an Anki exportable file with the troublesome item plus WaniKani sentences related to it. It only works with vocabulary items, as they are the only ones that have sentences.

Installation guide

Requirements are Node.js and npm installed. I'm using yarn for managing dependencies but you can use whatever system you want. Some technical knowledge is required as well.

  1. Clone the repo.
  2. Run yarn install or npm install.
  3. Get your API V2 key from WaniKani's settings page.
  4. Start a review session (we need this to get a cookie to call the internal API to retrieve sentences).
  5. Do a wrong review, get the item details, go to the console > network > item detailes call > request > Cookie and get the _wanikanisession parameter and value.
  6. Add your api token and wanikani session value into the user-data.js file.
  7. Run node user-data.js et voila!

้ ‘ๅผตใฃใฆใใ ใ•ใ„๏ผ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.