Search cards based on length (For Anki 2.1)

AnkiWeb addon 819294114

Extends browser search with len, max and min queries to find cards whose Front/Back fields have exact, maximum or minimum character lengths, with additional fields configurable.
AI-generated summary; may contain mistakes.

searchfork-or-reupload

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
3 (πŸ‘ 3 Β· πŸ‘Ž 0)
Updated
2022-06-28
Anki versions
2.1.53~
License
AGPL-3.0 (from the GitHub repository)
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

abandoned

  • Last update or commit: 2022-11-22 (1440 days before the snapshot).
  • The GitHub repo is shared with 1 other addon; its commits, issues and releases are not specific to this one.
  • 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.382.1.53+2022-06-28
History across monthly snapshots

Loading…

Similar addons

Browser Search By Field Length

Adds a search option to filter cards by a field's text length using len(FieldName) with comparison operators, translating queries into field wildcard searches.

search

2 votes 34% approval πŸ‘ 2 Β· πŸ‘Ž 0 ⭐ 0 Anki 2.1.54~ Updated 2022-12-05
Semantic search

Enables natural-language semantic card search via Voyage AI embeddings, optional Claude reranking and smart search, plus duplicate finding, card actions, and clinical vignette/guideline review modes.

aiduplicatessearch

8 votes 68% approval πŸ‘ 8 Β· πŸ‘Ž 0 Anki 2.1.1~ Updated 2026-04-05
(Almost) Mandatory Tags fork

Warns when a card is added without tags and offers an option to add it anyway, using hooks on Anki 2.1.55+.

taggingfork-or-reupload

4 votes 51% approval πŸ‘ 4 Β· πŸ‘Ž 0 ⭐ 3 Anki 2.1.55~ Updated 2022-12-28
Search from Editor for Anki 2.1 has 1 fork β†’

Adds an editor toolbar button that sends the active field's full content or highlighted text to the Anki browser search, optionally without the field name when Shift is held.

search

10 votes 72% approval πŸ‘ 10 Β· πŸ‘Ž 0 Updated 2019-02-16
TRMNL Anki

Periodically sends selected fields from Anki notes matching search queries, compressed via webhook to a TRMNL server for display, supporting multiple configurations and mashups.

sync-integrationservice-client

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 8 Anki 25.02.7~ Updated 2025-08-23
Smart Search

Adds a local AI panel in Anki's Browser that turns plain-English requests into Anki searches, expands synonyms, and finds matching cards privately.

aisearch

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 1 Anki 2.1.2~ Updated 2026-06-27

Description

A port of the Anki 2.0 addon Search cards based on length to Anki 2.1 Find cards with a field of a given exact/maximum/minimum length in the browser. Usage: The add-on extends the available search commands in the browser. By default, it only looks at the fields: 'Front' and 'Back'. Edit the config file to add other fields.
  • len:6 find cards with field having a length of exactly 6 characters, like "Hello!", "そうですか。".
  • max:4 find cards with field having a length of at most 4 characters, like "No.", "γ„γˆγˆγ€‚".
  • min:5 find cards with field having a length of at least 5 characters, like "What?", "はい、そうです。".
The source code is available on github. Please give the github repository a star if you like the add-on :) Credit goes to the original developer

README

Assorted Anki Addons

This repository contains a collection of smaller anki add-ons that I have written.

Details

Show Answer With Number Keys

This add-on remaps the number keys (1, 2, 3, 4) to be able to show the answer of a card as well as answering it. A card can then be fully answered by simply double clicking the number key.

Search Cards By Length

Find cards with a field of a given exact/maximum/minimum length in the browser.

Show Warning If No Tags When Adding Cards

Based on the add-on from this reddit post, ported to use hooks rather than fragile monkey patching. Works on Anki 2.1.55+ using the hook introduced in this commit

Currently no listing on ankiweb, so must be manually installed.

Manual Installation

In a new terminal, clone the repository and use the provided build script:

Usage: build.sh [-h] [-a] [-f directory_name]

Available options:
-h                    Print this help message
-a                    Build all of the add-ons
-f directory_name     Build the add-on with the provided directory name

Once the add-on is built, open Anki and navigate to Tools -> Add-ons -> Install from file and select the newly-built .ankiaddon file to install the add-on.

Other add-ons I have created

Countdown to events

Rendered Browser