8000 Add Python/pygame proof-of-concept reviewer (cardbrick-py) by jmahmood · Pull Request #17 · jmahmood/CardBrick · GitHub
[go: up one dir, main page]

Skip to content

Add Pytho 8000 n/pygame proof-of-concept reviewer (cardbrick-py) - #17

Merged
jmahmood merged 1 commit into
masterfrom
claude/anki-handheld-pygame-poc-6c5da2
Jul 4, 2026
Merged

jmahmood merged 1 commit into
masterfrom
claude/anki-handheld-pygame-poc-6c5da2

Conversation

@jmahmood
@jmahmood jmahmood commented Jul 4, 2026
Copy link
Copy Markdown
Owner

Pivot from native Rust compilation to a pure-Python stack for easy
deployment on ARM Linux handhelds (RG35XX SP / Knulli and similar).

  • Importer reads .apkg archives directly (zipfile + sqlite3, no Anki
    code), supporting Basic and Basic (and reversed) note types, media
    extraction, and [sound:] audio references
  • Local SQLite database (cards + review_state) fully decouples the app
    from Anki after import; re-importing preserves review progress
  • Scheduling delegated entirely to py-fsrs; wrapper only converts
    between stored rows and fsrs.Card objects
  • Controller-friendly 640x480 pygame reviewer with deck picker,
    remappable gamepad buttons (CARDBRICK_JOYMAP), CJK-capable font
    loading, and pygame.mixer audio playback
  • scripts/make_sample_apkg.py generates a test deck without Anki

Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01R7hhKsF5E5FRkWPaDTkekT

Pivot from native Rust compilation to a pure-Python stack for easy
deployment on ARM Linux handhelds (RG35XX SP / Knulli and similar).

- Importer reads .apkg archives directly (zipfile + sqlite3, no Anki
  code), supporting Basic and Basic (and reversed) note types, media
  extraction, and [sound:] audio references
- Local SQLite database (cards + review_state) fully decouples the app
  from Anki after import; re-importing preserves review progress
- Scheduling delegated entirely to py-fsrs; wrapper only converts
  between stored rows and fsrs.Card objects
- Controller-friendly 640x480 pygame reviewer with deck picker,
  remappable gamepad buttons (CARDBRICK_JOYMAP), CJK-capable font
  loading, and pygame.mixer audio playback
- scripts/make_sample_apkg.py generates a test deck without Anki

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R7hhKsF5E5FRkWPaDTkekT
@jmahmood
jmahmood merged commit 4a1ffc5 into master Jul 4, 2026
1 of 4 checks passed
@jmahmood
jmahmood deleted the claude/anki-handheld-pygame-poc-6c5da2 branch July 4, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0