# Development

**URL:** https://forums.ankiweb.net/c/anki/development/12.md

[Latest](https://forums.ankiweb.net/latest.md) · [Categories](https://forums.ankiweb.net/categories.md)

---

## [About the Development category](https://forums.ankiweb.net/t/about-the-development-category/20)

<div class="topic-metadata">

**Author:** [@dae](https://forums.ankiweb.net/u/dae)\
**Replies:** 0\
**Last updated:** [June 10, 2020, 4:45am UTC](https://forums.ankiweb.net/t/about-the-development-category/20 "2020-06-10T04:45:18Z")

</div>

Programming topics - questions about pull requests, add-on development and so on. Please don’t post feature requests here.

---

## [aqt.editor.NewEditor - addon compatibility / HyperTTS. We need to know the Deck](https://forums.ankiweb.net/t/aqt-editor-neweditor-addon-compatibility-hypertts-we-need-to-know-the-deck/71395)

<div class="topic-metadata">

**Author:** [@lucw](https://forums.ankiweb.net/u/lucw)\
**Replies:** 2\
**Last updated:** [October 12, 2026, 1:13pm UTC](https://forums.ankiweb.net/t/aqt-editor-neweditor-addon-compatibility-hypertts-we-need-to-know-the-deck/71395 "2026-10-12T13:13:26Z")

</div>

Recently, i started seeing bug reports of people experimenting with the new editor (“Shift editor control to TypeScript”). In HyperTTS, we aim to give users a one-click solution to add audio when entering new notes or ed…

---

## [Can an AnkiWeb add-on have open-source code and separately licensed artwork?](https://forums.ankiweb.net/t/can-an-ankiweb-add-on-have-open-source-code-and-separately-licensed-artwork/71393)

<div class="topic-metadata">

**Author:** [@SP73](https://forums.ankiweb.net/u/SP73)\
**Replies:** 1\
**Last updated:** [October 11, 2026, 12:29am UTC](https://forums.ankiweb.net/t/can-an-ankiweb-add-on-have-open-source-code-and-separately-licensed-artwork/71393 "2026-10-11T00:29:30Z")

</div>

I’m preparing an Anki desktop add-on that includes animated character images. I plan to release the code under AGPL-3.0-or-later and provide its source. I’ve read AnkiWeb’s terms requiring an AGPL-compatible license, bu…

---

## [Is "Deck, then random notes" clear?](https://forums.ankiweb.net/t/is-deck-then-random-notes-clear/71310)

<div class="topic-metadata">

**Author:** [@abdo](https://forums.ankiweb.net/u/abdo)\
**Replies:** 13\
**Last updated:** [October 8, 2026, 5:37pm UTC](https://forums.ankiweb.net/t/is-deck-then-random-notes-clear/71310 "2026-10-08T17:37:16Z")

</div>

I merged a suggestion to rename the “Deck, then random notes” option to “Random notes, grouped by deck”. I’m opening this thread to get more opinions on whether the new wording is better.

---

## [Discussion: Improving visual feedback for image occlusion grouping](https://forums.ankiweb.net/t/discussion-improving-visual-feedback-for-image-occlusion-grouping/71340)

<div class="topic-metadata">

**Author:** [@abdo](https://forums.ankiweb.net/u/abdo)\
**Replies:** 1\
**Last updated:** [October 7, 2026, 6:29pm UTC](https://forums.ankiweb.net/t/discussion-improving-visual-feedback-for-image-occlusion-grouping/71340 "2026-10-07T18:29:35Z")

</div>

We’re discussing ways to improve visual feedback for grouping of image occlusion masks. The main problems are: No way to tell at a glance what masks belong to the same group: you have to select a mask and move it to se…

---

## [Can't use multiprocessing module to spawn python process on windows for CPU bound works](https://forums.ankiweb.net/t/cant-use-multiprocessing-module-to-spawn-python-process-on-windows-for-cpu-bound-works/71225)

<div class="topic-metadata">

**Author:** [@bobobo](https://forums.ankiweb.net/u/bobobo)\
**Replies:** 3\
**Last updated:** [September 28, 2026, 5:15pm UTC](https://forums.ankiweb.net/t/cant-use-multiprocessing-module-to-spawn-python-process-on-windows-for-cpu-bound-works/71225 "2026-09-28T17:15:21Z")

</div>

I’m trying to use the spawn method of multiprocessing to create query workers, On linux, I can use fork mode, but I can’t use multiprocessing spawn mode directly, because multiprocess will spawn anki with some special c…

---

## [macOS: accessibility scan can crash Browse when a row is selected](https://forums.ankiweb.net/t/macos-accessibility-scan-can-crash-browse-when-a-row-is-selected/70882)

<div class="topic-metadata">

**Author:** [@caleblee789](https://forums.ankiweb.net/u/caleblee789)\
**Replies:** 1\
**Last updated:** [September 24, 2026, 11:39am UTC](https://forums.ankiweb.net/t/macos-accessibility-scan-can-crash-browse-when-a-row-is-selected/70882 "2026-09-24T11:39:23Z")

</div>

I first noticed this while Codex Computer History was monitoring recent activity. I opened Anki’s Browse window, and the Anki Browser crashed immediately as it appeared. Computer History did not click or edit anything …

---

## [Anki\_dmr: open-source licensing and provenance tooling for deck authors](https://forums.ankiweb.net/t/anki-dmr-open-source-licensing-and-provenance-tooling-for-deck-authors/70874)

<div class="topic-metadata">

**Author:** [@dinv](https://forums.ankiweb.net/u/dinv)\
**Replies:** 2\
**Last updated:** [September 13, 2026, 8:31am UTC](https://forums.ankiweb.net/t/anki-dmr-open-source-licensing-and-provenance-tooling-for-deck-authors/70874 "2026-09-13T08:31:55Z")

</div>

Hello, I have been working on a DMR-concept for people who develop and sell decks, and I would like to head about your feedback here before taking it further. Main motivation is awareness creation rather than enforceme…

---

## [Add a prop:forgotten-rate(prop:fr) search key to filter cards by lapse ratio](https://forums.ankiweb.net/t/add-a-prop-forgotten-rate-prop-fr-search-key-to-filter-cards-by-lapse-ratio/70792)

<div class="topic-metadata">

**Author:** [@qxo](https://forums.ankiweb.net/u/qxo)\
**Replies:** 0\
**Last updated:** [August 24, 2026, 1:16pm UTC](https://forums.ankiweb.net/t/add-a-prop-forgotten-rate-prop-fr-search-key-to-filter-cards-by-lapse-ratio/70792 "2026-08-24T13:16:30Z")

</div>

\## Problem Anki already offers \`prop:reps\` and \`prop:lapses\`, but there is no way to search for cards \*proportionally\* forgotten. The absolute \`lapses\` count is misleading: a card that lapsed once out of 1 review is far…

---

## [Add-on upload returns "Bad Request" (400) even for a minimal one-file add-on](https://forums.ankiweb.net/t/add-on-upload-returns-bad-request-400-even-for-a-minimal-one-file-add-on/70784)

<div class="topic-metadata">

**Author:** [@phucnguyenphi123](https://forums.ankiweb.net/u/phucnguyenphi123)\
**Replies:** 1\
**Last updated:** [August 24, 2026, 5:16am UTC](https://forums.ankiweb.net/t/add-on-upload-returns-bad-request-400-even-for-a-minimal-one-file-add-on/70784 "2026-08-24T05:16:57Z")

</div>

Uploading an add-on at https://ankiweb.net/shared/upload always fails with Bad Request. I have reduced it to the smallest possible case and would like to know whether this is an account eligibility issue or something I…

---

## [\[ankipack\] TypeScript library for creating, reading and editing .apkg files](https://forums.ankiweb.net/t/ankipack-typescript-library-for-creating-reading-and-editing-apkg-files/70771)

<div class="topic-metadata">

**Author:** [@ImGajeed76](https://forums.ankiweb.net/u/ImGajeed76)\
**Replies:** 3\
**Last updated:** [August 22, 2026, 2:24pm UTC](https://forums.ankiweb.net/t/ankipack-typescript-library-for-creating-reading-and-editing-apkg-files/70771 "2026-08-22T14:24:14Z")

</div>

TL;DR: I built this because I needed it and could not find it. Hope it helps you :slight\_smile: I have a browser extension that exports Quizlet sets to Anki including images and audio, so I needed to create .apkg files …

---

## [About MacOS Crashes and SIGPIPE](https://forums.ankiweb.net/t/about-macos-crashes-and-sigpipe/70676)

<div class="topic-metadata">

**Author:** [@Shigeyuki](https://forums.ankiweb.net/u/Shigeyuki)\
**Replies:** 5\
**Last updated:** [August 19, 2026, 5:49pm UTC](https://forums.ankiweb.net/t/about-macos-crashes-and-sigpipe/70676 "2026-08-19T17:49:34Z")

</div>

This post is just a report, my issue has already been resolved so not a request. In the new Briefcase version of Anki my prototype add-on causes macOS to crash when performing heavy processing (play webm wallpaper video…

---

## [Render MathJax expressions in the Browser Sort Field column](https://forums.ankiweb.net/t/render-mathjax-expressions-in-the-browser-sort-field-column/70566)

<div class="topic-metadata">

**Author:** [@LeadUwU](https://forums.ankiweb.net/u/LeadUwU)\
**Replies:** 1\
**Last updated:** [July 29, 2026, 4:28pm UTC](https://forums.ankiweb.net/t/render-mathjax-expressions-in-the-browser-sort-field-column/70566 "2026-07-29T16:28:31Z")

</div>

Render MathJax in the Browser’s Sort Field column The Browser’s Sort Field column currently displays raw MathJax source, such as \\(\\ce{AlCl3}\\), while the editor below renders the same expression after the note is se…

---

## [I cant upload my first addon. My account is not new!](https://forums.ankiweb.net/t/i-cant-upload-my-first-addon-my-account-is-not-new/70532)

<div class="topic-metadata">

**Author:** [@ozzeus](https://forums.ankiweb.net/u/ozzeus)\
**Replies:** 4\
**Last updated:** [July 29, 2026, 12:38am UTC](https://forums.ankiweb.net/t/i-cant-upload-my-first-addon-my-account-is-not-new/70532 "2026-07-29T00:38:20Z")

</div>

Hello, first add-on upload fails with HTTP 400, Response body exactly: “bad request” (endpoint: POST https://ankiweb.net/svc/shared/upload-addon) Account: 5+ years, sync daily, I have shared many decks successfully (sh…

---

## [Run anki from source](https://forums.ankiweb.net/t/run-anki-from-source/70556)

<div class="topic-metadata">

**Author:** [@Bethany](https://forums.ankiweb.net/u/Bethany)\
**Replies:** 1\
**Last updated:** [July 28, 2026, 1:43pm UTC](https://forums.ankiweb.net/t/run-anki-from-source/70556 "2026-07-28T13:43:26Z")

</div>

Hi, I’m following the add-on writing guide, and I it’s missing a step. At the end of Editor Setup section, it says: Please note that you can not run your add-on from within PyCharm - you will get errors. Add-ons need t…

---

## [Anki Integration on a Testing Mobile App](https://forums.ankiweb.net/t/anki-integration-on-a-testing-mobile-app/70555)

<div class="topic-metadata">

**Author:** [@therichferro](https://forums.ankiweb.net/u/therichferro)\
**Replies:** 1\
**Last updated:** [July 28, 2026, 7:51am UTC](https://forums.ankiweb.net/t/anki-integration-on-a-testing-mobile-app/70555 "2026-07-28T07:51:14Z")

</div>

Hello! I’m trying to figure out how best to get in touch with the designers of Anki. I’m currently building an open-source multiple-choice-question drafting app for medical students using the AT Protocol and I want to ad…

---

## [Unable to upload my first add-on: "account is too new"](https://forums.ankiweb.net/t/unable-to-upload-my-first-add-on-account-is-too-new/70517)

<div class="topic-metadata">

**Author:** [@lefox](https://forums.ankiweb.net/u/lefox)\
**Replies:** 1\
**Last updated:** [July 23, 2026, 11:57pm UTC](https://forums.ankiweb.net/t/unable-to-upload-my-first-add-on-account-is-too-new/70517 "2026-07-23T23:57:55Z")

</div>

Hi, I’m trying to publish my first Anki add-on, but I receive the message: “Sorry, your account is too new for this action.” My AnkiWeb account is not new. It was created around August 2025, and I’ve been actively usi…

---

## [Using WITH and an sql request breaks undo functionaity](https://forums.ankiweb.net/t/using-with-and-an-sql-request-breaks-undo-functionaity/70352)

<div class="topic-metadata">

**Author:** [@Eltaurus](https://forums.ankiweb.net/u/Eltaurus)\
**Replies:** 4\
**Last updated:** [July 9, 2026, 3:56pm UTC](https://forums.ankiweb.net/t/using-with-and-an-sql-request-breaks-undo-functionaity/70352 "2026-07-09T15:56:55Z")

</div>

Steps to reproduce: Review a card from a deck with multiple cards due In the debug console, execute the following request: mw.col.db.all("WITH e AS (SELECT ease FROM revlog) SELECT ease FROM revlog") (yes, the ta…

---

## [Permission request: AnkiWeb sync for Recall, a review-only client for the Light Phone III](https://forums.ankiweb.net/t/permission-request-ankiweb-sync-for-recall-a-review-only-client-for-the-light-phone-iii/70300)

<div class="topic-metadata">

**Author:** [@davidchopin](https://forums.ankiweb.net/u/davidchopin)\
**Replies:** 1\
**Last updated:** [July 3, 2026, 9:03pm UTC](https://forums.ankiweb.net/t/permission-request-ankiweb-sync-for-recall-a-review-only-client-for-the-light-phone-iii/70300 "2026-07-03T21:03:37Z")

</div>

What I’m Building I’m building Recall (working title), an open-source (AGPL-3.0) spaced-repetition client for LightOS (the Android-based OS on the Light Phone III), which recently opened third-party development. I’d like…

---

## [Unable to upload add-on because my account is too new](https://forums.ankiweb.net/t/unable-to-upload-add-on-because-my-account-is-too-new/70258)

<div class="topic-metadata">

**Author:** [@akk1](https://forums.ankiweb.net/u/akk1)\
**Replies:** 4\
**Last updated:** [July 1, 2026, 10:55pm UTC](https://forums.ankiweb.net/t/unable-to-upload-add-on-because-my-account-is-too-new/70258 "2026-07-01T22:55:11Z")

</div>

Hi, I’m trying to upload an add-on for a research project, but I get the following message: Sorry, your account is too new for this action. To prevent abuse, new accounts must meet certain criteria before this action i…

---

## [A public board for what we're working on in Anki](https://forums.ankiweb.net/t/a-public-board-for-what-were-working-on-in-anki/70276)

<div class="topic-metadata">

**Author:** [@carolcani](https://forums.ankiweb.net/u/carolcani)\
**Replies:** 0\
**Last updated:** [July 1, 2026, 1:09pm UTC](https://forums.ankiweb.net/t/a-public-board-for-what-were-working-on-in-anki/70276 "2026-07-01T13:09:15Z")

</div>

Hi everyone, I’ve been asked to help improve the project’s task tracking and longer-term planning. I want to share something new and open up more of how we are working. We’ve made our GitHub project board public, and yo…

---

## [Anki-Database-hierarchy](https://forums.ankiweb.net/t/anki-database-hierarchy/70182)

<div class="topic-metadata">

**Author:** [@liwoe](https://forums.ankiweb.net/u/liwoe)\
**Replies:** 2\
**Last updated:** [June 22, 2026, 7:20pm UTC](https://forums.ankiweb.net/t/anki-database-hierarchy/70182 "2026-06-22T19:20:14Z")

</div>

Anki is currently tracking the hierarchical tree structure of sub-decks exclusively via string delimiters like \\x1f in it’s collection.anki2 databse. This seems not to be such a good solution espacially for addon develo…

---

## [RFC: AnkiConnect Write Concurrency & SQLite Locking Over Loopback](https://forums.ankiweb.net/t/rfc-ankiconnect-write-concurrency-sqlite-locking-over-loopback/70184)

<div class="topic-metadata">

**Author:** [@Navi-gator](https://forums.ankiweb.net/u/Navi-gator)\
**Replies:** 0\
**Last updated:** [June 22, 2026, 6:56pm UTC](https://forums.ankiweb.net/t/rfc-ankiconnect-write-concurrency-sqlite-locking-over-loopback/70184 "2026-06-22T18:56:50Z")

</div>

1. System Topology & Infrastructure Context I am designing a local-first, air-gapped personal knowledge loop deployed natively on an isolated Ubuntu environment. Before running this setup in production, I want to validat…

---

## [How should add-ons install Python dependencies in 26.05?](https://forums.ankiweb.net/t/how-should-add-ons-install-python-dependencies-in-26-05/70130)

<div class="topic-metadata">

**Author:** [@mortii](https://forums.ankiweb.net/u/mortii)\
**Replies:** 5\
**Last updated:** [June 17, 2026, 4:18pm UTC](https://forums.ankiweb.net/t/how-should-add-ons-install-python-dependencies-in-26-05/70130 "2026-06-17T16:18:23Z")

</div>

I was using the api add-on helpers ( Add some helpers to allow add-ons to install packages into the venv · ankitects/anki@bb1b289 · GitHub ) to install spaCy and their models to be used with my add-on. However, these (un…

---

## [Tags scoped to search: add tagsForSearch(query) RPC method](https://forums.ankiweb.net/t/tags-scoped-to-search-add-tagsforsearch-query-rpc-method/69992)

<div class="topic-metadata">

**Author:** [@AsH1605](https://forums.ankiweb.net/u/AsH1605)\
**Replies:** 5\
**Last updated:** [June 7, 2026, 11:15am UTC](https://forums.ankiweb.net/t/tags-scoped-to-search-add-tagsforsearch-query-rpc-method/69992 "2026-06-07T11:15:17Z")

</div>

Is your feature request related to a problem? Please describe. In clients like AnkiDroid, the Card Browser populates its tag filter list using allTags(), which returns every tag in the collection regardless of the acti…

---

## [Issues with macOS 'Follow System' dark mode detection and theme change crashes on destroyed temporary webviews (FindDupesWebView)](https://forums.ankiweb.net/t/issues-with-macos-follow-system-dark-mode-detection-and-theme-change-crashes-on-destroyed-temporary-webviews-finddupeswebview/69923)

<div class="topic-metadata">

**Author:** [@allen](https://forums.ankiweb.net/u/allen)\
**Replies:** 1\
**Last updated:** [June 1, 2026, 12:53pm UTC](https://forums.ankiweb.net/t/issues-with-macos-follow-system-dark-mode-detection-and-theme-change-crashes-on-destroyed-temporary-webviews-finddupeswebview/69923 "2026-06-01T12:53:33Z")

</div>

Hello Anki team and community, I have encountered and successfully investigated two independent but related theme-rendering bugs in Anki Desktop on macOS. Below are the detailed reports, including symptoms, root causes,…

---

## [Anki addon impossible to publish](https://forums.ankiweb.net/t/anki-addon-impossible-to-publish/69818)

<div class="topic-metadata">

**Author:** [@wabwab](https://forums.ankiweb.net/u/wabwab)\
**Replies:** 10\
**Last updated:** [May 23, 2026, 11:05pm UTC](https://forums.ankiweb.net/t/anki-addon-impossible-to-publish/69818 "2026-05-23T23:05:59Z")

</div>

Hey, I create account on ankiweb.net 14 December 2025, I still cannot publish add-on. What I need to do to publish it ?

---

## [Feature Request / Discussion: Safe WebAssembly (WASM) execution in templates (CSP blocks in 25.09.4+)](https://forums.ankiweb.net/t/feature-request-discussion-safe-webassembly-wasm-execution-in-templates-csp-blocks-in-25-09-4/69743)

<div class="topic-metadata">

**Author:** [@TowelSniffer](https://forums.ankiweb.net/u/TowelSniffer)\
**Replies:** 2\
**Last updated:** [May 17, 2026, 7:05am UTC](https://forums.ankiweb.net/t/feature-request-discussion-safe-webassembly-wasm-execution-in-templates-csp-blocks-in-25-09-4/69743 "2026-05-17T07:05:17Z")

</div>

Gday, With the security updates introduced in 25.09.4, strict Content Security Policy (CSP) enforcement now blocks WebAssembly compilation with the following error: Uncaught RuntimeError: Aborted(CompileError: WebAssem…

---

## [Command line options](https://forums.ankiweb.net/t/command-line-options/69770)

<div class="topic-metadata">

**Author:** [@DerGeraet](https://forums.ankiweb.net/u/DerGeraet)\
**Replies:** 2\
**Last updated:** [May 16, 2026, 11:29am UTC](https://forums.ankiweb.net/t/command-line-options/69770 "2026-05-16T11:29:53Z")

</div>

Hello, i wrote a batch Script to open all my nesaccery folders and files and programms to start studying. I would like to open Anki with a sepcific stack and open imediatly the creating windows. I am searching the option…

---

## [Auto Install Anki Connect by Copying Folder](https://forums.ankiweb.net/t/auto-install-anki-connect-by-copying-folder/69695)

<div class="topic-metadata">

**Author:** [@qazzzlyt](https://forums.ankiweb.net/u/qazzzlyt)\
**Replies:** 1\
**Last updated:** [May 10, 2026, 12:39pm UTC](https://forums.ankiweb.net/t/auto-install-anki-connect-by-copying-folder/69695 "2026-05-10T12:39:40Z")

</div>

In order to simply user’s initial setup process, I am thinking of automatically install Anki Connect by copying folder 2055492159. Steps are: (1) Check if %APPDATA%\\Anki2\\addons21 exists (2) If yes, copy folder 2055492…

[Next page](https://forums.ankiweb.net/c/anki/development/12.md?page=1)
