Anki Von Restorff

AnkiWeb addon 2067653845

Highlights a randomly selected card or all cards of a note every configurable number of reviews, using customizable goofy colors/fonts or an inverted dark style, with optional debug logging.
AI-generated summary; may contain mistakes.

appearance

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
0 (👍 0 · 👎 0)
Updated
2025-05-07
Anki versions
2.1.66~
License
MIT (from the README)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

stale

  • Last update or commit: 2025-05-07 (543 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.12.1.66+2025-05-07
History across monthly snapshots

Loading…

Similar addons

Answer Visual Confirmation

Displays customizable images or animated GIFs matching each answer's difficulty after review, with configurable display duration and random, gradual, or rangrad rotation modes.

review-flow

16 votes 64% approval 👍 14 · 👎 2 ⭐ 3 Anki <=2.1.26 Updated 2020-06-11
anki-synonyms

Randomly selects among synonymous prompt alternatives using configurable '( | ) syntax, including nested choices, so one flashcard can display different equivalent terms each time.

formattingcard-templates

3 votes 44% approval 👍 3 · 👎 0 ⭐ 0 Anki 2.1.52~ Updated 2022-07-03
Load Balanced Scheduler

Maintains consistent daily review counts by replacing Anki's random interval fuzz with the interval in the same range that has the fewest cards due.

scheduling

34 votes 48% approval 👍 22 · 👎 12 ⭐ 10 Updated 2018-10-05

Description

The Anki Von Restorff add-on enhances your Anki reviews by applying the Von Restorff effect, making specific cards or notes visually distinct to improve memorability. It highlights a randomly selected card or note every X reviews with a customizable style.

Features

  • Customizable Styles:
    • Goofy: Choose background color, font color, and font type (e.g., Arial, Comic Sans MS) using a color picker.
    • Inverted: Fixed white text on a dark background for high contrast.
  • Flexible Targeting: Apply the effect to individual cards or all cards of a note.
  • Configurable Interval: Set how often the effect appears (e.g., every 20 cards).
  • Dynamic UI: Hides color/font options when the inverted style is selected.
  • Debug Logging: Optional logs for troubleshooting.

Installation from Source

  1. Download the add-on ZIP from AnkiWeb or GitHub.
  2. Place the vonrestorff folder in your Anki add-ons directory:
    • macOS: ~/Library/Application Support/Anki2/addons21/
    • Windows: C:\Users\<YourUser>\AppData\Roaming\Anki2\addons21\
    • Linux: ~/.local/share/Anki2/addons21/
  3. Restart Anki.
  4. Open Tools → Von Restorff Settings to configure.

Usage

  • Configure via Tools → Von Restorff Settings.
  • Set interval, style (goofy/inverted), target (card/note), and debug logs.
  • For goofy style, pick colors and fonts; these are hidden for inverted style.
  • Review cards to see the effect every Xth card.

Support

If you find this add-on helpful, consider supporting the developer via Ko-fi.

Source Code

Available on GitHub.

Known Conflicts

May conflict with add-ons that modify card styling (e.g., "More Answer Buttons with colors", "Review Heatmap"). Enable debug logs to troubleshoot.

README

Anki Von Restorff Add-on

The Von Restorff add-on enhances your Anki experience by applying the Von Restorff effect, making specific cards or notes visually distinct to improve memorability. It highlights a randomly selected card or note every X reviews with a customizable style, such as a colorful "goofy" appearance or an inverted (dark) theme.

Features

  • Customizable Styles:
    • Goofy: User-defined background color, font color, and font type (e.g., Arial, Comic Sans MS) using a color picker.
    • Inverted: Fixed white text on a dark background for a high-contrast look.
  • Flexible Targeting: Apply the effect to individual cards or all cards of a note.
  • Configurable Interval: Choose how often the effect is applied (e.g., every 20 cards).
  • Dynamic UI: Hides irrelevant customization options (color and font) when the inverted style is selected.
  • Debug Logging: Optional logs to troubleshoot issues during reviews.

Installation

  1. Download the Add-on:

    • Clone this repository or download the ZIP file from GitHub.
    • Ensure you have the vonrestorff folder containing __init__.py.
  2. Install in Anki:

    • Locate your Anki add-ons directory:
      • macOS: ~/Library/Application Support/Anki2/addons21/
      • Windows: C:\Users\<YourUser>\AppData\Roaming\Anki2\addons21\
      • Linux: ~/.local/share/Anki2/addons21/
    • Copy the vonrestorff folder to the add-ons directory.
    • If updating, replace the existing vonrestorff folder.
  3. Restart Anki:

    • Close and reopen Anki to load the add-on.
  4. Verify Installation:

    • Go to Tools → Von Restorff Settings in Anki. If the settings dialog opens, the add-on is installed correctly.

Usage

  1. Configure Settings:

    • Open Tools → Von Restorff Settings in Anki.
    • Adjust the following options:
      • Interval: Number of cards between effect applications (e.g., 20).
      • Style:
        • Goofy: Customize background color, font color, and font type using color pickers and a dropdown.
        • Inverted: Uses a fixed dark theme (hides color/font options).
      • Target: Apply the effect to a single card or all cards of a note.
      • Debug Logs: Enable to troubleshoot issues (logs appear in Anki’s console).
    • Click "Save" to apply changes.
  2. Review Cards:

    • During reviews, the add-on highlights a randomly selected card or note every Xth card (based on your interval).
    • The effect persists for the selected card/note within the interval and resets at the start of the next interval.

Example Configuration

  • Interval: 20
  • Style: Goofy
  • Goofy Background: #FF6347 (tomato red)
  • Goofy Font Color: #FFFFFF (white)
  • Goofy Font: Comic Sans MS
  • Target: Card
  • Debug Logs: Enabled

With this setup, every 20th card will be highlighted with a red background, white text, and Comic Sans MS font, making it stand out.

Troubleshooting

  • Effect Not Applying:
    • Ensure the interval isn’t too high (e.g., set to 10 for testing).
    • Check for conflicts with other add-ons (e.g., "More Answer Buttons with colors" or "Review Heatmap"). Temporarily disable them to test.
    • Enable debug logs in settings and review the console for errors.
  • Settings Dialog Errors:
    • Verify the vonrestorff folder contains only __init__.py from the latest version.
    • Restart Anki after updating the add-on.
  • Submit Issues:
    • Open an issue on this GitHub repository with debug logs and a description of the problem.

Support the Developer

If you find this add-on helpful, consider supporting the developer via Ko-fi:

Support on Ko-fi

Contributing

Contributions are welcome! To contribute:

  1. Fork this repository.
  2. Create a feature branch (git checkout -b feature/YourFeature).
  3. Commit your changes (git commit -m "Add YourFeature").
  4. Push to the branch (git push origin feature/YourFeature).
  5. Open a pull request.

Please include tests and update this README if necessary.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

  • Built for Anki 25.02.4 (Python 3.9.18, Qt 6.6.2, PyQt 6.6.1).
  • Inspired by the Von Restorff effect for enhancing memory retention.