MCPcopy Index your code
hub / github.com/daveight/ankicode

github.com/daveight/ankicode @2.1.34

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.1.34 ↗ · + Follow
4,791 symbols 17,887 edges 461 files 664 documented · 14%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

This repo contains all the code for the computer version of Anki.

If you'd like to try development builds of Anki but don't feel comfortable building the code, please see https://betas.ankiweb.net/#/

For more information on building, please see README.development.

If you'd like to contribute code, please see README.contributing.

Extension points exported contracts — how you extend this code

FromI64 (Interface)
It may be possible to use the num_traits crate instead in the future. [4 implementers]
rslib/src/serde.rs
String (Interface)
(no doc) [1 implementers]
qt/ts/src/editor.ts
HistogramData (Interface)
(no doc)
ts/src/stats/histogram-graph.ts
Undoable (Interface)
(no doc) [1 implementers]
rslib/src/undo.rs
Selection (Interface)
(no doc)
qt/ts/src/editor.ts
IntervalGraphData (Interface)
(no doc)
ts/src/stats/intervals.ts
GraphData (Interface)
(no doc)
ts/src/stats/future-due.ts
FutureDueOut (Interface)
(no doc)
ts/src/stats/future-due.ts

Core symbols most depended-on inside this repo

_
called by 658
pylib/anki/lang.py
e
called by 418
qt/aqt_data/web/jquery-ui.js
join
called by 340
pylib/anki/tags.py
get
called by 320
qt/aqt/models.py
css
called by 317
pylib/anki/cards.py
qconnect
called by 242
qt/aqt/qt.py
append
called by 222
qt/aqt/gui_hooks.py
apply
called by 203
rslib/src/card.rs

Shape

Method 3,167
Function 1,115
Class 431
Enum 51
Interface 26
Route 1

Languages

Python67%
Rust25%
TypeScript8%

Modules by API surface

qt/aqt/gui_hooks.py450 symbols
qt/aqt/browser.py203 symbols
qt/aqt/main.py165 symbols
pylib/anki/schedv2.py127 symbols
qt/aqt/addons.py121 symbols
rslib/src/backend/mod.rs119 symbols
qt/aqt/editor.py99 symbols
pylib/anki/hooks.py92 symbols
qt/aqt_data/web/jquery.js86 symbols
pylib/anki/collection.py82 symbols
qt/aqt/utils.py78 symbols
rslib/src/sync/mod.rs75 symbols

For agents

$ claude mcp add ankicode \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact