Deck Size Column

AnkiWeb addon 810671385

Adds a background-calculated, cached, color-coded Size column to the deck list showing combined note text and media size including subdecks, recalculated only after changes.
AI-generated summary; may contain mistakes.

statisticsdeck-managementappearance

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Votes
0 (👍 0 · 👎 0)
Updated
2026-10-25
Anki versions
26.09.3~
Languages
Python, JavaScript, JSON
Description language
en

Maintenance

active

  • Last update or commit: 2026-10-25 (7 days before the snapshot).
  • Test files: 1.
  • Commits in the last year: 10.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
23.1026.09.3+2026-10-25
History across monthly snapshots

Loading…

Similar addons

Review Pass Rate Bar archived

Displays a configurable bar in the main window and deck browser showing the pass rate of review cards over a configurable time range, defaulting to the last 7 days.

statisticsfork-or-reupload

3 votes 44% approval 👍 3 · 👎 0 ⭐ 0 Anki 2.1.45~ Updated 2021-09-20
Deck Row Colors

Automatically assigns each deck a stable, distinct background color in the Anki Browser's Deck column, supporting nested subdecks and dark mode without configuration.

appearance

1 votes 21% approval 👍 1 · 👎 0 Anki 2.1.66~ Updated 2026-03-15

Description

Adds a "Size" column to the deck list: note text + media of each deck, including subdecks.

  • Size = note text + the media files those notes use, including subdecks (like the New / Learn / Due counts).
  • Hover a cell to see text, media, number of files and notes separately.
  • A media file used by several notes is counted once per deck.
  • Calculated in the background (≈0.5 s for 50k notes / 1,000 decks) and cached. It is recalculated only when notes, cards, decks or the media folder change.
  • Styled like Note Size: a colored badge whose color changes smoothly with size (log scale). Default: grey for tiny decks (≤100 KB) → green by 10 MB → yellow by 30 MB → orange by 100 MB → red by 1 GB → purple by 10 GB. Light and dark themes have separate colors, and the text color adapts to the badge.
  • Settings window (Config button): the column header, color points (size + colors, add/remove, click to pick a color) and gradient vs. steps. Russian and English interface.

It does not rebuild Anki's deck list. It only adds its own cells, so it works with other deck-list add-ons. Companion add-ons: Deck List Column Headers (short column names) and Wrap Long Deck Names.

Source code and tests: github.com/yndarra/anki-deck-size-column

RU: столбец «Размер» в списке колод (текст + медиа, с подколодами).

README

Deck Size Column

Install: in Anki go to Tools → Add-ons → Get Add-ons… and enter the code 810671385 (AnkiWeb page). Установка: Инструменты → Дополнения → Скачать дополнения… → код 810671385.

An Anki add-on that adds a Size column to the deck list on the main screen, after New / Learn / Due.

  • Size = note text + media files used by those notes, including subdecks (like the New / Learn / Due counts).
  • Hover a cell to see text, media, number of files and notes separately.
  • A media file used by several notes is counted once per deck.
  • Sizes are calculated in the background (about 0.5 s for 50,000 notes / 1,000 decks) and cached. They are recalculated only when notes, cards, decks or the media folder change.
  • Styled like Note Size: a colored badge with the number and unit in a monospace font. By default the color changes smoothly with size: grey for tiny decks (up to 100 KB), then green by 10 MB, yellow by 30 MB, orange by 100 MB, red by 1 GB, and purple by 10 GB (purple above that). The gradient uses a log scale, so 100 MB and 900 MB look clearly different. Light and dark themes have separate colors, and the text color adapts to the badge.
  • Settings (Tools → Add-ons → Config): the column header, color points (size + color for each theme; add/remove points, click a color cell to pick) and smooth gradient vs. steps.

It does not rebuild Anki's deck list. It only adds its own cells to the finished table, so it works with other deck-list add-ons, including Deck List Column Headers and Wrap Long Deck Names.

Development

run_tests.bat runs tests against a real temporary collection (pip install anki). build.bat builds dist/deck_size_column.ankiaddon. Requires Anki 23.10+. Tested with 26.09.


Размер колоды (RU)

Столбец «Размер» в списке колод: текст записей + медиафайлы, с подколодами. При наведении видно отдельно текст, медиа, число файлов и записей. Файл, нужный нескольким записям, считается один раз. Считается в фоне и пересчитывается только после изменений. Оформление как в Note Size: цветная плашка, цвет плавно меняется с размером: серый у совсем маленьких колод (до 100 КБ), к 10 МБ зелёный, к 30 МБ жёлтый, к 100 МБ оранжевый, к 1 ГБ красный, к 10 ГБ фиолетовый (дальше фиолетовый). Шкала логарифмическая, поэтому 100 МБ и 900 МБ хорошо различаются. Отдельные цвета для светлой и тёмной темы, цвет текста подстраивается под плашку. В настройках (Инструменты → Дополнения → Config) задаются заголовок, цветовые точки (размер + цвета, точки можно добавлять и удалять) и режим: градиент или ступеньки.

License

MIT