MCPcopy Index your code
hub / github.com/Laer-Smart/2anki.net

github.com/Laer-Smart/2anki.net @v2.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.0.0 ↗ · + Follow
6,346 symbols 14,580 edges 1,803 files 57 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

2anki mascot

2anki.net

2anki.net helps you turn your Notion pages, HTML, Markdown, and other study material into Anki flashcards. Drop something in, get a clean .apkg deck back — no fuss.

Why 2anki?

We're not replacing Anki or Notion — we're building a bridge between them. Drop in what you're studying, get a deck back.

  • Free to use, no technical skills required
  • Multi-format: Notion pages (via API or HTML export), Markdown, HTML, Excel (xlsx), zip bundles
  • Toggle lists become cards, cloze deletions work out of the box
  • Embeds, audio, images, code blocks, and LaTeX carried over
  • Self-hostable if you hit the free-tier quota
  • No VC funding — sustained by paying subscribers and lifetime users

Getting started

git clone https://github.com/2anki/server.git
cd server
pnpm install
touch .env
pnpm dev

The server starts on http://localhost:2020 and the frontend on http://localhost:3000. For server-only work: pnpm dev:server.

How we develop

Every change that touches user-facing behavior goes through a product trio — three AI agents (PM, Designer, Engineer) working in parallel at the center of the loop. Alexander (lead developer) is the human in the loop: he sets direction, approves specs, and merges PRs. The goal is to catch bad assumptions before engineering time is committed.

2anki product trio kaizen loop — signal to ship in hours

The trio is powered by Claude subagents in .claude/agents/. Use /trio <task> to invoke all three in parallel on any prompt.

Contributing

We'd love your help! See CONTRIBUTING.md for how to get started, run the test gate, and submit a PR.

License

The code is licensed under the MIT Copyright (c) 2020-2026, Alexander Alemayhu. See CREDITS.md for contributors.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 2,785
Method 1,723
Interface 1,160
Class 671
Route 6
Enum 1

Languages

TypeScript98%
Python2%

Modules by API surface

web/src/lib/backend/Backend.ts80 symbols
src/lib/parser/DeckParser.ts54 symbols
src/services/ops/BusinessMetricsService.ts53 symbols
src/services/EmailService/EmailService.ts48 symbols
src/services/ankify/RacService.ts42 symbols
web/src/pages/UploadPage/components/UploadForm/UploadForm.tsx41 symbols
src/data_layer/UsersRepository.ts41 symbols
src/services/ankify/AnkiConnectClient.ts39 symbols
src/services/ApkgToNotionBlocksService.ts39 symbols
web/src/components/ChatPanel/ChatPanel.tsx38 symbols
src/data_layer/ConversationsRepository.ts34 symbols
src/controllers/UsersControllers.ts34 symbols

Datastores touched

dbnameDatabase · 1 repos
tankiDatabase · 1 repos

For agents

$ claude mcp add 2anki.net \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page