Terminal-first WaniKani client
Project description
wkler
Terminal-first WaniKani client built with Textual. Focused on real review and lesson sessions that submit to the official WaniKani API.
Install
pip install wkler
Or with uv:
uv tool install wkler
Features
Review sessions — Full meaning + reading flow with subject-type-aware answer checking, romaji-to-hiragana live conversion, and immediate API submission.
Compact mode — Minimal single-screen TUI for quick sessions (wkler --compact). Reviews and lessons without leaving the app. Inline cache sync (y hotkey).
Unified mode — Full-featured home launcher with tabbed navigation, in-app review/lesson flows, and lesson center for batch management.
Review wrap-up — Press Ctrl+W mid-session to limit remaining items. Prioritizes items with only one question left, then alternates with fresh items.
Rolling shuffle — Configurable item scheduling: rolling (windowed, default), full (classic shuffle), or none (API order). Window size is adjustable (1-500, default 20).
Lesson safety — Confirmation prompt before starting lessons. Shows item preview with characters, level, type, and meanings. Use --yes to bypass for scripted use.
Offline queue — Failed review submissions are persisted via qler and automatically retried next session.
Study visuals — Color-coded subject type badges (vocabulary green, kanji orange, radical purple, kana-vocabulary yellow). Inline miss/correct feedback.
Themes — default (stealth black), retro (green terminal), colorful. Cycle with F2 in-session.
Structured logging — Loguru-backed JSONL logs with rotation. Dedicated crash log. Dogfood feedback loop (wkler feedback).
Quickstart
wkler setup # interactive onboarding — sets API token, theme, paths
wkler doctor # verify config, API, and queue connectivity
wkler # launch unified home TUI
wkler --compact # launch compact mode
Commands
wkler # home launcher (unified mode)
wkler --compact # compact mode
wkler reviews # start review session
wkler lessons # list available lessons
wkler lessons --start 5 # start 5 lessons (with confirmation)
wkler lessons --start-default # start configured batch size
wkler lessons --all --yes # start all (skip confirmation)
wkler sync # prefetch assignments and subjects
wkler setup # first-time onboarding
wkler settings # edit settings interactively
wkler doctor # diagnostics
wkler retry # retry failed submissions
wkler queue list # inspect submission queue
wkler feedback --note "..." # log dogfood feedback
wkler feedback --tail 20 # view recent feedback
Review options
wkler reviews --shuffle-mode rolling # rolling window (default)
wkler reviews --shuffle-mode full # classic full shuffle
wkler reviews --shuffle-mode none # API order
wkler reviews --shuffle-window 40 # window size for rolling mode
wkler reviews --seed abc # deterministic shuffle
Configuration
Config file: ~/.config/wkler/config.toml (or WKLER_CONFIG_PATH).
Created by wkler setup, editable via wkler settings.
Environment variable overrides:
WKLER_API_TOKEN # WaniKani API token
WKLER_THEME="retro" # default|retro|colorful
WKLER_READING_INPUT_MODE="always" # always|auto
WKLER_LESSON_BATCH_SIZE="5" # 1-100
WKLER_REVIEW_SHUFFLE_MODE="rolling" # rolling|full|none
WKLER_REVIEW_SHUFFLE_WINDOW="20" # 1-500
WKLER_DB_PATH="~/.local/share/wkler/wkler.db"
WKLER_LOG_PATH="~/.local/state/wkler/wkler.log"
WKLER_CRASH_LOG_PATH="~/.local/state/wkler/wkler-crash.log"
Keyboard shortcuts
Home (unified mode)
1/2/3 switch tabs, r reviews, l default lessons, u setup, g settings, d doctor, q quit.
Compact mode
r reviews, l lessons, y sync cache, q quit. In review: Ctrl+W wrap-up, Ctrl+R reveal, Esc back. In lesson: r reveal, 1-5 score, Esc back.
Review session
F2 cycle theme, Ctrl+W wrap-up, Esc abort.
Development
uv sync --group dev
uv run pytest
uv run ruff check src/ tests/
Status
Alpha — daily dogfooding in progress. Published on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wkler-1.2026.5.1.tar.gz.
File metadata
- Download URL: wkler-1.2026.5.1.tar.gz
- Upload date:
- Size: 52.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c95dd1b492ee47c070fdf71289f595e2ea55bba4119db70678167e96c2782edb
|
|
| MD5 |
218fd3690e07c2088449ca190b6365cf
|
|
| BLAKE2b-256 |
83eb01d4da402df8efa154f5c52e430a63704b7a017517367fa5ca91c2ec31f7
|
Provenance
The following attestation bundles were made for wkler-1.2026.5.1.tar.gz:
Publisher:
pypi.yml on gabu-quest/wkler
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wkler-1.2026.5.1.tar.gz -
Subject digest:
c95dd1b492ee47c070fdf71289f595e2ea55bba4119db70678167e96c2782edb - Sigstore transparency entry: 1457894978
- Sigstore integration time:
-
Permalink:
gabu-quest/wkler@f8899ae2bec108712368b98df61567cd7dc7b941 -
Branch / Tag:
refs/tags/v1.2026.5.1 - Owner: https://github.com/gabu-quest
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@f8899ae2bec108712368b98df61567cd7dc7b941 -
Trigger Event:
push
-
Statement type:
File details
Details for the file wkler-1.2026.5.1-py3-none-any.whl.
File metadata
- Download URL: wkler-1.2026.5.1-py3-none-any.whl
- Upload date:
- Size: 62.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75936f67d0d45aa5de5365842effd73f73aa51d45a6e613f407f69334234cf01
|
|
| MD5 |
193448cb0fbaec8f6450ec0b482fa16d
|
|
| BLAKE2b-256 |
a2251259fff8a609df512443230fc331d69fd4a95e0c34374e22638eb3541102
|
Provenance
The following attestation bundles were made for wkler-1.2026.5.1-py3-none-any.whl:
Publisher:
pypi.yml on gabu-quest/wkler
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wkler-1.2026.5.1-py3-none-any.whl -
Subject digest:
75936f67d0d45aa5de5365842effd73f73aa51d45a6e613f407f69334234cf01 - Sigstore transparency entry: 1457895059
- Sigstore integration time:
-
Permalink:
gabu-quest/wkler@f8899ae2bec108712368b98df61567cd7dc7b941 -
Branch / Tag:
refs/tags/v1.2026.5.1 - Owner: https://github.com/gabu-quest
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@f8899ae2bec108712368b98df61567cd7dc7b941 -
Trigger Event:
push
-
Statement type: