Coder Social home page Coder Social logo

anki-touch's Introduction

anki-touch

Anki 2.1.x add-on that lets you swipe to answer cards.

Description

Anki's interface is not well-suited for use with a touchscreen. There is a need for doing the most common actions easily with a touch gesture, rather than only having buttons available at the bottom of the screen.

When presented with a question, this is to show the back of the card.

When presented with the back of a card, this is to answer the card.

Possible future work:

  • Diagonal swipes to do further actions, such as undoing, answering as "hard" as well, etc
  • Don't act if the user is interacting with an element on a card, such as a button
  • Improve the quality of the code - this is my first Anki addon

If you have an idea for a feature, please open an issue.

Forked from tobynet's 2.0 addon. Thank you for the template to work off of!

Requirements

  • Anki 2.1.? or lator (tested on 2.1.50)
  • Should work on all platforms as it is using QtWebEngine javascript to get the actions (tested on Linux Wayland)

Install

Not uploaded to ankiweb.net for easy to install yet, because this is my first addon and I'm not sure if it will play with other addons correctly, and whether it works on all types of cards correctly (it adds an eventListener to the root document, and picks up many events. Even some it maybe shouldn't).

Linux

cd ~/.local/share/Anki2/addons21/
git clone https://github.com/magnus-ISU/anki-touch

Windows

??? (Please open an issue if you know)

tobynet said the addons' folder is %USERPROFILE%/Documents/Anki/addons/ but this likely changed since then

Author

Magnus Anderson

License

AGPL3

Contribution

Pull Requests welcome!

anki-touch's People

Contributors

magnus-isu avatar tobynet avatar

Stargazers

 avatar  avatar  avatar

Forkers

vctr18

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.