Coder Social home page Coder Social logo

ajatt-tools / refoldease Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 2.0 75 KB

๐ŸŒฎ Sets the ease factor of Anki cards to the value you choose.

Home Page: https://ankiweb.net/shared/info/819023663

License: GNU Affero General Public License v3.0

Python 97.70% Shell 2.30%
anki ease ease-factor cards addon ajatt

refoldease's Introduction

RefoldEase

GitHub Lines of code Matrix Channel Patreon

RefoldEase sets the Ease factor of all the cards in your collection to the value you choose, and updates Interval Modifier and Starting Ease in every option group.

The addon is intended for people who want to switch from default Anki settings to the setup recommended by Tatsumoto. If you've been using Anki for a while, simply changing the settings won't help because all your cards would still retain their Ease factors. The only way to reset Ease factors of your cards is to use an external tool. If you have used the recommended settings from the beginning, this add-on is not needed. The other feature of this add-on is to undo damage that was caused by overusing the "hard" button, in other words, to swiftly escape from "ease hell."

You can run the add-on by going to Tools > Refold Ease.

Installation

Install from AnkiWeb, or manually with git:

git clone 'https://github.com/Ajatt-Tools/RefoldEase.git' ~/.local/share/Anki2/addons21/RefoldEase

Configuration

To configure the add-on, open the Anki Add-on Menu via Tools > Add-ons and select RefoldEase. Then click the Config button on the right-side of the screen.

About

The name RefoldEase is a pun. I changed "reset" to "refold" because an add-on named "Reset Ease" already existed on AnkiWeb, but it didn't suit my needs.

refoldease's People

Contributors

cyphar avatar tatsumoto-ren avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

refoldease's Issues

older Anki version support

Quite a few folks are on Anki 2.1.22, so maybe we should handle older Anki versions nicely? Right now the add-on dies at:

Caught exception:
Traceback (most recent call last):
  File "C:\Users\Josh\AppData\Roaming\Anki2\addons21\RefoldEase\__init__.py", line 249, in onConfirm
    updateGroups(self.easeSpinBox.value(), self.imSpinBox.value())
  File "C:\Users\Josh\AppData\Roaming\Anki2\addons21\RefoldEase\__init__.py", line 90, in updateGroups
    dconfs = mw.col.decks.all_config()
AttributeError: 'DeckManager' object has no attribute 'all_config'

Because all_config was added in a later Anki release (but allConf existed before). Then again, most people will update once the Migaku add-ons are updated to the latest Anki version.

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.