Skip to content

Settings reference

This page lists every setting on the Settings page, section by section, in the order the page shows them. Open it from the rail on any page, or at http://<server>:8801/settings.

A few terms used throughout:

  • A source is one video, episode or track you watched or listened to.
  • A candidate is a sentence AutoMiner mined from a source, with one target word you don’t know yet.
  • Gold is the candidate picked to become a word’s card: its best sentence. Gold cards are what gets sent to Anki.
  • The judge is the service that answers AutoMiner’s yes/no questions about text, such as whether a subtitle line was really spoken. It runs on your machine or, with a key, as Jev in the cloud (judge.md).

Saving. Most changes wait until you press Save changes at the foot of the page (or ctrl + s, ⌘ + s on a Mac). The bar says how many changes are waiting, and a setting that can’t be saved shows its reason on its own row. Leaving the page with unsaved changes asks first. A few controls act at once instead, and the tables say so: the UI language, the judge choice, installing a platform, the dictionary lists, deleting a key and the buttons that run a job.

Advanced. Each card shows what you set once or change often. Its tuning (thresholds, models, per-source overrides, regular expressions, offsets) sits in a closed Advanced row at the card’s foot. The Japanese UI calls it 詳細設定. The row says how many of its settings differ from the default, so a changed value never hides. The tables mark these settings “(Advanced)”.

Per-source overrides. Some settings have a shared value plus a row per platform, labelled YouTube only, Stremio only or Spotify only. A blank override (placeholder Shared value) or Use the shared setting follows the shared value.

Greyed-out rows. A setting that has no effect right now is disabled, with the reason beside it, for example “Not used: check mode is OFF”. A switch that can’t work, such as auto-send without AnkiConnect, can’t be turned on, but can still be turned off.

Finding a setting. Type in the filter box above the section list (/ focuses it). It narrows every section at once to the matching cards and rows, and opens the Advanced rows they are in. esc clears it.

Where the values live. Settings are rows in the database. API keys are files in the secrets directory, never in the database. A few settings can also be set in the server’s environment, and some of those win over the page; see Settings that live outside the page.

What “On save” means. The last column says what saving the setting does beyond storing it:

  • Next run: only what AutoMiner does from now on changes.
  • Rescores: every candidate not sent to Anki gets a new score in the background, and Gold is picked again from the new scores. Cards already sent keep their score.
  • Re-picks Gold: which candidate is Gold is decided again at once.
  • Stale: sources made with the old value show as Stale on Sources, and their Fix rebuilds them (sources.md). Nothing is rebuilt until you press it.
  • Sends due cards: with auto-send on and set to send right away, cards that now qualify are sent.

The first section. It holds three cards and no settings of its own.

Card What it shows
How a card gets made Per kind of source, the stages a card passes through. Green works, orange works less well, red stops there, grey is OFF. Press a stage to jump to the setting that changes it.
Cost presets Three buttons that fill in several settings at once. Nothing changes until you press Save changes, and per-source values are left alone. See the table below.
Setup state Per feature: set, not set, or setup error, and where each value comes from (environment, secrets file, settings row, default). Values are never shown. Reload reads it again. A feature that isn’t set is not an error. It is the same report as autominer doctor.

What each cost preset fills in (costs.md has the prices):

Preset Check mode Transcription runner Subtitle transcription provider Auto-translate Translation provider
Free OFF Container No transcription OFF unchanged
Recommended ON Cloud — ElevenLabs Scribe ElevenLabs (Scribe) ON Gemini
Minimal OFF Cloud — OpenAI OpenAI (Whisper) OFF unchanged

The UI language, the time zone, keyboard shortcuts and device colors. In the Android app, a This app card on top opens the app’s own settings (sign-in, notifications, cache).

Setting Default Values What it does On save
UI language (ui.lang) 日本語 日本語, English The language of every page. Content (sentences, words) stays in the language it is in. Saves at once and reloads the page.
Time zone (automine.timezone) blank: this browser’s time zone An IANA name such as Asia/Tokyo (the box suggests them) The zone a daily send time is read in. Every page’s dates and times, Spend, and the days and months of the spending limits are counted in it too. If it is blank when you save a daily send time, this browser’s zone is saved. Takes effect from the save; cards already sent don’t change.

One row per action. Press the row’s key, then the new key (Esc cancels). Saving applies the keys to every page. Keys don’t work inside input boxes. Two actions on one key are flagged and not saved. The whole map is one setting, ui.keys.

Action Default key
Next: list row · editor card (main) / sentence (sentence pick) / word (line words) k
Previous: list row · editor card (main) / sentence (sentence pick) / word (line words) j
Switch tabs (shift goes back) · editor main ⇄ sentence pick (main ⇄ words for lines) q (must be a letter)
Play space (only Play may use space)
Start 1 frame earlier ,
Start 1 frame later .
End 1 frame earlier <
End 1 frame later >
Save draft (editor) s
Generate translation (editor) t
OK (Queue) · approve (the picked Sources words) o
NG (Queue) · reject (the picked Sources words) n
Select / deselect (Sources words: approve or reject together) x

Fixed keys, not changeable: enter (open), esc (close, deselect), ctrl + enter (send to Anki), ctrl + s (save Settings), ↑ ↓ and ctrl + a / delete / z (Audit › Clips), and / (search).

The color of the tag on Today that shows which device you watched on (ui.device_colors). Each device seen so far is a row with its session count and five swatches: Grey (the default), Blue, Green, Orange and Gold. Device names come from the Chrome extension’s popup and the phone patch. The row named API is what reads history from Spotify or Stremio.

The languages you study, and per language: where its cards go, its dictionaries, its known words, its rejected words and the options only it reads. See languages.md, dictionaries.md and anki.md.

Setting Default Values What it does On save
Studied languages (mine.lang) ja (Japanese) Tick languages and order them with ↑↓. Languages that can be mined: Japanese, Chinese, Korean. Fetch-only languages (the collapsed list): German, English, Spanish, French, Italian, Portuguese, Russian, Cantonese. The top language is the main one. Each source’s language is detected (YouTube’s audio language, the podcast’s language, a video file’s audio track) and that language’s rules check, transcribe, translate and parse it. A source whose language is unknown is treated as the main language. A fetch-only language is fetched but not mined. Asks first when the main language changes or a language is removed, saying how many sources and waiting Gold cards it affects. A removed language’s cards are not auto-sent and are left out of the Queue and Today counts. Nothing is deleted: tick it again to bring it all back.

A tab per studied language, in their order. Changing a deck or note type never moves notes already sent.

Setting Default Values What it does On save
Deck (anki.deck) Backlog Any deck name (the box lists Anki’s decks) Where new notes go. Next send. Warns when Anki has no such deck. Add this deck to the Duplicate search range too.
Note type (anki.model) Kiku Any note type (the box lists Anki’s) The note type new notes use. If Yomitan has a card format for it (in any Yomitan profile), the note is built from that format. Otherwise Kiku’s field names are used, and a send fails when they don’t match. Next send. Warns when Anki has no such note type, or it lacks a field AutoMiner writes.
‹Language› deck (anki.deck.<code>) blank: the Deck above Any deck name This language’s own deck. Next send.
‹Language› note type (anki.model.<code>) blank: the Note type above Any note type This language’s own note type. Next send.

Card fields (Yomitan’s card format) links to Send › Fields, where the fields are mapped.

These cards hold actions, not settings, and act at once. See dictionaries.md.

Card What it does
Yomitan dictionaries (Built-in) Shown while the built-in Yomitan is in use. The dictionaries it looks words up in, in order (higher first; one that is OFF is not asked). Each row can be switched OFF, moved with ↑↓ or deleted. Import a .zip, Download recommended dictionaries, Import from folder (from AUTOMINER_HOME/yomitan/dictionaries/).
Local dictionaries AutoMiner’s own dictionaries for this language, in order with a “Yomitan” row among them (↑↓ to reorder, Delete to remove one). A dictionary above Yomitan that has the word fills the card; the ones below fill it only while Yomitan is down or lacks the word. The headword is always Yomitan’s. Choose .zip then Import adds a Yomitan-format dictionary; one with the same name is replaced.
Control What it does
Known-word cache (whole Anki collection) Known words come from your whole collection, any deck. Update known words reads what changed; Read all again reads everything. Update once before your first mining, or words you know become candidates.
Junk candidates (all languages) Check junk candidates counts candidates that were mined automatically, never sent or decided, and whose word fails the language’s word check or whose sentence is too long. Delete junk candidates removes them.
Known-word CSV (Advanced, Japanese tab only) A list of words you excluded by hand, for words with no Anki note (interjections, fillers, katakana words): header Morph-Lemma, one word per row. Choose CSV, Load CSV, Download CSV again, Delete CSV. Once loaded, those words’ candidates are hidden as “Duplicate”.
Rejected words How many cards you rejected in this language, linking to them. A rejected card’s word is never mined again in that language. Open it in Audit › Clips and press “Restore” to make it a candidate again.

Shown on the Japanese tab. The filters apply from the next mining; existing candidates stay.

Setting Default Values What it does On save
Jimaku API key (JIMAKU_API_KEY, a secret) not set A key from jimaku.cc › Account Anime subtitle search on Jimaku. Saved in the secrets directory; the box only says whether a key is set and shows its last characters. The trash button deletes it. Used from the next search.
Merge Kiku-style (anki.kiku_merge) ON ON, OFF While ON, the editor offers “Merge”, which adds this sentence (with its furigana, translation, audio, picture and MiscInfo) to the word’s existing note as one more page. Other fields follow Yomitan’s overwrite settings (Send › Fields). Turn it OFF if you don’t use Kiku. Needs a Duplicate search range. Gold and auto-send are re-evaluated at once.
Skip katakana-only (mine.skip_katakana) OFF ON, OFF Skips words written only in katakana (タイム, ベッド, ドキドキ). Next run.
Skip counters (mine.reject_counters) OFF ON, OFF A counter right after a number (「3ヶ月」「三年前」) is never the target. The sentence stays; the target moves to another unknown word. Queues Recount i+N.
Restore katakana fragments (mine.katakana_retarget) OFF ON, OFF When katakana continues on either side of a katakana target, the target becomes the whole run (デウス → ルーデウス). The new word goes through the known-word check too. Not joined across 「・」. Queues Recount i+N.
Setting Default Values What it does On save
Chinese script (zh.script) Simplified Simplified, Traditional When a video has subtitles in both scripts, which one to mine. Next fetch. For a source already fetched, press Update subtitles on its subtitle screen.

Which platforms you use, what is mined from each, and how long downloaded videos are kept. A platform is where sources come from (YouTube, Stremio, Spotify). See sources.md and, for keeping disk use down, upkeep.md.

Add lists the built-in platforms. + installs one and its section appears below; the trash button uninstalls it after a confirmation. Both act at once. A platform that is not installed records no watches, fetches nothing and runs no tracker. Uninstalling stops recording and fetching and deletes the files it downloaded; its settings, sources, clips and cards stay, so installing it again brings it back. Add from a zip is shown but does nothing yet. Jellyfin is listed but can’t fetch or mine yet, so it gets no section (source-jellyfin.md).

Each installed platform that mines has a section whose heading holds a mining-mode menu (mine.enabled:<platform> and mine.watched_only:<platform>):

Mode What is mined
All of it (default) The whole item’s subtitles, wherever you watched.
Only what I watched (YouTube and Spotify only) Only the lines of the spans you watched or listened to, for sources that report positions: the browser extension’s YouTube, Spotify on the web and the phone. Watching more later mines that part too. A Spotify podcast is transcribed only up to where you listened plus 2 minutes. A span of a few seconds (a seek’s landing) doesn’t count.
Don’t mine Nothing is fetched or mined from watches that arrive from now on. The watch history is still kept, and mining you start by hand still runs.

Existing sources stay as they are when you change the mode. Switching back to All of it turns sources mined to what was watched Stale; their Fix mines the rest.

Setting up YouTube: source-youtube.md.

Setting Default Values What it does On save
Mine only videos in a studied language (fetch.yt_japanese_only) OFF ON, OFF Videos whose audio is known to be in none of your studied languages are not mined, even with subtitles in a studied language. Videos of unknown language are mined. Next fetch.
Mine only videos with manual subtitles (fetch.yt_require_manual_subs) OFF ON, OFF Only videos with uploader-made subtitles in the video’s language are mined. Videos with only auto captions or none stop, with the reason. Next fetch.

The Phone card (Morphe) records what you watch in YouTube on Android. It shows the Server URL (Morphe’s serverUrl) to copy and Generate the secret, which shows a new secret once only. A phone patched with an older secret can’t send its watches until you patch it again. See phone-youtube.md.

Setting up Stremio: source-stremio.md.

The Fetch card (Deluge) finds the video of what you watched on Stremio through a search (Prowlarr or an addon) and downloads it with Deluge. Its addresses and keys are under Services. With Prowlarr, the Indexers list shows the sites Prowlarr searches; find and add more in its search box.

Setting Default Values What it does On save
No VPN, no fetch (torrent.vpn, Advanced) ON ON, OFF Checks the VPN proxy before a torrent is handed to Deluge. OFF hands it over without the check, so torrent peers and trackers see this machine’s IP address. Next fetch.

Setting up Spotify and podcasts: source-spotify.md.

The Account card shows the state of the tracker that reads the podcasts you play from Spotify: credentials, whether the phone’s playback can be read, the last success and today’s requests. Requests are counted per UTC day. Saved intervals and limits are used from the tracker’s next read, with no restart. A value set in the server’s environment (SPOTIFY_*) wins and can’t be changed here.

Setting Default Values What it does
Interval while playing (s) (spotify.playing_poll_s, Advanced) 60 10 or more, under 90 How often the phone’s playback is read while an episode plays. At 90 s or more, listening time breaks into separate spans.
Interval while stopped (s) (spotify.idle_poll_s, Advanced) 360 30 or more How often playback is read while nothing plays. Shorter catches short episodes better and uses more of the daily requests.
Play history interval (s) (spotify.poll_s, Advanced) 1800 300 or more How often Spotify’s play history is read.
Daily request limit (spotify.daily_reads, Advanced) 600 A whole number, 100 or more The most requests to Spotify per UTC day, token refreshes included. Past 80% it reads at the stopped interval even while playing; at the limit it stops until 0:00 UTC.

The Podcast RSS card lists each show you heard with its RSS feed. Podcast audio is fetched from the feed. When Apple’s directory has exactly one show by that name, the feed is filled in by itself. Per show: Find looks it up and saves the feed it finds, Confirm reads the feed once and says whether the episodes you heard are in it (nothing saved), Save stores a URL and fetches the episodes that failed again, Delete clears it so the next listen looks it up again. These act at once.

When downloaded source videos are deleted to free disk space. Audio, frames and clips stay, so re-cutting and checks still work. Anything playing or being processed is skipped. A deletion can’t be undone. The line under the heading shows free space, how much the kept videos take and what the next clean-up would delete.

The deletion happens when the retention sweep runs. The card describes a nightly run, but a plain install doesn’t schedule one: see upkeep.md.

Setting Default Values What it does On save
Days kept (retention.days) 10 0 or more; decimals allowed (0.5 = 12 hours) Deletes mined source videos older than this many days since they were fetched. Videos never mined stay. Next sweep.
Delete once assets are done (retention.delete_after_assets) ON ON, OFF ON: a video is deleted as soon as all its candidates’ clips and pictures are made, without waiting for Days kept. OFF: only Days kept counts. Next sweep.
YouTube only, Stremio only, Spotify only (retention.days:<platform>, Advanced) blank: Days kept 0 or more Overrides Days kept for one platform. Next sweep.
Keep deleted clips (min) (clips.trash_minutes, Advanced) 60 0 to 10080 (one week); 0 = remove at once Minutes a deleted clip stays in the trash. The sentence stays; find it with status:deleted to restore it. A sentence restored after that gets its clip cut again if the video is still there. Applies to clips already in the trash too.

Downloading subtitles, transcribing videos without them, how subtitles are read, and checking subtitle timing against the audio. See subtitles.md, judge.md and costs.md.

Videos without subtitles are transcribed into subtitles.

Setting Default Values What it does On save
Provider (asr.provider) OpenAI (Whisper) OpenAI (Whisper), ElevenLabs (Scribe), No transcription Which paid service makes subtitles for videos and podcasts without them (about $0.36 an hour on OpenAI, $0.40 on ElevenLabs). No transcription skips them. The subtitle check’s transcription is set separately, under Transcription runner. Next transcription.
OpenAI model (asr.model, Advanced) whisper-1 A model name The OpenAI model used for transcription. Next transcription.
ElevenLabs model (asr.model:elevenlabs, Advanced) scribe_v1 A model name The ElevenLabs model. Its per-word timestamps are grouped into sentence cues before saving. Next transcription.

The subtitle check compares subtitle timing with a transcription of what was actually said, and fixes the timing when it is off. Its result is a count such as “10 of 11 matched”, not a score. The card also shows Services the check uses and Transcription use (30 days): minutes sent and the estimated cost, per model and use. Tabs: Shared, YouTube, Stremio.

Setting Default Values What it does On save
Check mode (sync.judge_mode) OFF ON, OFF ON: when candidates are made from a subtitled source, its timing is checked against the audio and fixed if off, once per subtitle file. Next mining.
Transcription runner (evidence.asr_source) Container — transcription service Container — transcription service; Cloud — OpenAI; Cloud — ElevenLabs Scribe; This machine — Whisper Where audio is transcribed for the check and for measuring word positions. Container and this machine are free; the cloud choices need that provider’s key (about $0.06–0.18 an episode). The container’s address is Transcription service URL under Services. Next check.
Check mode YouTube / Stremio (sync.judge_mode:<platform>) follows Shared ON, OFF Check mode for one platform. Next mining.
Transcription runner YouTube / Stremio (evidence.asr_source:<platform>) Inherit — shared setting as above, plus Inherit The runner for one platform. Next check.
Spans to hear (max) (sync.probe_windows, Advanced) 12 Whole number, 3 to 48 Spans heard per file, used only when a spot check is asked for. A normal check hears every span and ignores this. Next spot check.
Check each line with the judge service (sync.cue_verify, Advanced) OFF ON, OFF For every measured line, the judge also confirms by ear that it was really said. Rescues lines with a low match from spelling differences or proper names. A few judge calls per episode. Can’t be switched on while the judge isn’t ready (with This machine: until its judge model is downloaded, Services › Judge service). Next measuring.

These sit in one Advanced row at the section’s foot (“Subtitle filter · speaker breaks · sentence continuation · voice separation”). Each list is one regular expression per line. Fill defaults puts the shipped patterns in the box. A pattern that is not a valid regular expression, or that matches an empty string, is listed as unused; the rest still apply.

Setting Default What it does On save
Subtitle filter (sync.reference_filters, Advanced) blank: OFF When subtitles are read, matching text is removed, and a subtitle left empty is dropped. (ドアが開いた) goes whole; (ルーデウス)… loses only the name. From the next read. Sources read with the old rules show as Stale.
Speaker breaks (subtitles.speaker_marks, Advanced) blank: OFF When one subtitle holds two speakers’ lines on separate lines, it is split where a later line starts with a match. Removing the names is the filter’s job; with the filter empty, names and dashes stay in the text. From the next read. Sources read with the old rules show as Stale.
Sentence continuation (subtitles.continuation_marks, Advanced) blank: OFF. Fill defaults: a line ending in ―, ➡, ➨ or →, and an unclosed 『 or 「 While the pattern is found in a subtitle, the next subtitle joins the same line, so they are one mined sentence. Joined lines break at 30 s. Transcripts (podcasts) always join a line that doesn’t end a sentence (。, !, ?, a closing bracket or an ellipsis) to the next when the gap is within 1.5 s, up to 15 s. From the next read. Sources read with the old rules show as Stale.

Singing over music is hard to detect as speech, so the voice is pulled out of the music first. The subtitle check and word measuring then hear that voice. It is slow, and it is not used for clip edges. Turn it on only for kinds of source with a lot of singing.

Setting Default Values What it does On save
Separation mode: Shared (sync.separation, Advanced) No separation No separation; This machine — MDX-Net (not on a Raspberry Pi); Container — separation service Where separation runs. The container’s address is Separation service URL under Services. Next check.
YouTube only, Stremio only (sync.separation:<platform>, Advanced) Use the shared setting as above The mode for one platform. Next check.
Separation model (this machine only) (sync.separation_model, Advanced) mdx_vocals.onnx A file name (looked up in the models folder) or a path The model file used when separating on this machine. Next separation.
Execution providers (this machine only) (sync.separation_providers, Advanced) CPUExecutionProvider ONNX Runtime provider names, comma separated, in order The compute devices used when separating on this machine. With a GPU on Windows, DmlExecutionProvider is far faster. Names that can’t be used are skipped. Next separation.

How many sentences one word keeps, the filters that drop candidates before they are made, the score deductions that order them, and words already in Anki. See scoring.md and anki.md.

Setting Default Values What it does On save
Candidate options limit (aggregate.max_options) 5 Whole number; blank or 0 = every sentence How many sentences (candidates) are kept per word in one source, highest score first. Raising it adds the missing sentences in every source.
Setting Default Values What it does On save
Duplicate search range (anki.duplicates_query) blank: no range An Anki search, such as deck:Backlog A word with a note in this range still becomes a candidate, and a send handles it as Send › Duplicate handling says. A word with a note outside the range is not a candidate; it is only recorded as “Duplicate” and nothing happens to it automatically. Reads all of Anki again and checks every source’s cards again.

In the Advanced row “Card filters · score deductions”. Each filter drops candidates before they are made, applies from the next mining, and is OFF by default. Existing candidates are not removed.

Setting Default Values What it does On save
Frequency filter (mine.freq_max_rank, Advanced) OFF Whole number; blank or 0 = OFF Drops words rarer than this frequency rank (75000 = no candidates for words past rank 75000). Words of unknown rank are kept. Next mining.
Shortest sentence (mine.min_sentence_chars, Advanced) OFF Whole number; blank or 0 = OFF Drops sentences shorter than this many characters, such as はい。 or あっ. Next mining.
Shortest word (mine.min_target_chars, Advanced) OFF Whole number; blank or 0 = OFF No candidate when the word is shorter than this. The sentence’s next unknown word becomes the word instead; with none, no candidate. Queues Recount i+N.
Don’t count symbols (mine.sentence_band_letters_only, Advanced) OFF ON, OFF ON: Shortest sentence and the sentence length range count letters only (no punctuation, brackets, symbols, spaces or digits). 「えっ…ホント!?」 is 5. Rescores.
Unfinished sentence filter (mine.require_terminal, Advanced) OFF ON, OFF Drops subtitles cut mid-clause, like 〜して, 〜けど or 〜かもしれ. Sentences ending in 。 are kept. Next mining.
YouTube only, Stremio only, Spotify only (mine.require_terminal:<platform>, Advanced) Use the shared setting Use the shared setting, ON, OFF The unfinished sentence filter for one platform. Next mining.

Also in that Advanced row. A candidate’s score is 100% minus the deductions that apply, never below 0%. It sets the order of candidates and which become Gold; no candidate is removed. Each box takes 0 to 100; blank is the default, 0 is no deduction. Default beside a row and Reset all to default clear the boxes. Every deduction, and the switches in this part, rescore on save.

Statistics (mine.deduct.<name>):

Deduction Default What loses it
Unknown words: 2–3 / 4+ 40% / 60% Sentences with 2–3, or 4 or more, unknown words. A sentence with exactly one unknown word loses nothing.
Rare word 10% The rarer the word, the more it loses (this much for the rarest). A word with no known frequency rank loses nothing.
Proper nouns (people, places) 15% A card whose word is a name of a person or a place.

Sentence quality:

Setting or deduction Default What it does
Judge with Jev (mine.quality_jev) ON ON: while mining, the judge (Services › Judge service, this machine or Jev) grades every sentence pass or fail on each item below, and each failed item takes its %. When it is OFF, when no judge is available, or when the judge fails, that mine uses the fallback.
Run-on 15% A sentence graded as several sentences run together. The fallback takes nothing.
Sentence length 15% A sentence graded too long for one card. The fallback takes it from a line outside the sentence length range.
Fragment 20% A fragment that doesn’t stand on its own. The fallback takes it from a line with no predicate.
Garbled 30% Broken text: misheard speech, mojibake, repeated junk. The fallback takes nothing.

Fallback when Jev is not used (collapsed):

Setting Default Values What it does
Sentence length min (mine.sentence_band_min, Advanced) 6 Whole number Not a filter: shorter sentences take the Sentence length deduction. Shortest sentence is what drops short ones.
Sentence length max (mine.sentence_band_max, Advanced) 60 Whole number Longer sentences take the Sentence length deduction.

Instant fail (mine.instant_fail, Advanced): + opens a list of every deduction above. An item you add moves out of the % table, and a sentence it applies to scores 0% and never turns Gold; it stays a candidate, so removing the item gives its score back. Rare word fails instantly only for the rarest words, the ones that take the whole deduction. Saving rescores every candidate not sent.

Which candidates become Gold, the clip rules Gold must pass, and the loudness and cut of the audio clip on a card. See clips.md and scoring.md. Cards you approved and cards already sent never change when these do.

Each word’s best sentence becomes Gold automatically. There is no limit on how many; how many are sent is set under Send.

Setting Default Values What it does On save
Lowest score for Gold (mine.gold_min_score) blank: no condition 0 to 100 (%) Candidates scoring below this don’t become Gold and stay candidates. A candidate’s “Score breakdown” shows its score. Re-picks Gold; sends due cards.
YouTube only, Stremio only, Spotify only (mine.gold_min_score:<platform>, Advanced) Shared value 0 to 100 (%) The same, for one platform. Re-picks Gold; sends due cards.

Gold goes to clips that are cut cleanly (at the sentence’s start and end, with no neighbouring lines) and clearly audible. A sentence that falls short stays a candidate and the word’s next best sentence becomes Gold. Turning a rule OFF or loosening it puts the original sentences back to Gold.

Setting Default Values What it does On save
Clip score at or above “Send threshold” (mine.gold_requires_clip) OFF ON, OFF The clip score is the chance a clip is cut cleanly. ON: sentences below the threshold, and ones not scored yet, don’t become Gold. OFF: Gold is picked without the score (auto-send still sends only clips at or above the threshold). Applies to every source, whether the subtitle check is ON or OFF. Re-picks Gold at once and says how many cards moved.
Send threshold (automine.threshold) 95% 50 to 100 (%) Only clips scoring at or above this are sent automatically; with the rule above ON, Gold is picked by it too. The line below shows the precision measured at this threshold. Re-picks Gold at once.
Quiet clips (clip.quiet_db) 10 dB 0 to 60 dB; blank or 0 = off A clip more than this many dB quieter than the middle loudness of its source’s clips is too quiet: neither Gold nor auto-sent. Cards you sent by hand stay. Re-picks Gold at once.
Clips buried under music (clip.music_vshare) Standard Strict, Standard, Lenient, Off Holds a clip whose voice the music covers: never Gold, never auto-sent. ▶ buttons play clips the level holds and lets through. Measuring uses the shared Separation mode when it works (This machine or Container), else the separation service’s URL (Services), even with separation mode off. With neither, choose Off, or clips wait unsent. Re-picks Gold at once.
Clips buried under music: exact value (clip.music_vshare, Advanced) 75% 0 to 99 (%); blank or 0 = off The same rule as a number: a clip is held when its separated voice is under this share of its sound. Strict is 85%, Standard 75%, Lenient 55%. Another value shows as Custom. Re-picks Gold at once.
YouTube only, Stremio only, Spotify only (automine.threshold:<platform>, Advanced) Shared value 50 to 100 (%) The send threshold for one platform. Re-picks Gold at once.

Each source is measured, and all its clips are raised or lowered by the same amount, so clips from any source sound about as loud. Loud and soft within one source stay.

Setting Default Values What it does On save
Level loudness (clip.normalize) ON ON, OFF Levels clips cut from now on. Queues measuring for sources not measured yet.
Target loudness (clip.loudness_target) Normal Quieter (−20 LUFS), Normal (−16), Louder (−13) How loud levelled clips are. Not used while Level loudness is OFF. Queues measuring for sources not measured yet.

Measure measures the sources not measured yet. Apply to existing clips too cuts unsent clips again over the same span, only levelling their loudness; cards in Anki don’t change.

In the Advanced row “Clip auto-trim · final clip offset”. Subtitle times are not where speech ends, so cutting at them pulls in neighbouring lines. Three layers move clip edges to the audio, and keep the original span when unsure.

Setting Default Values What it does On save
Layer 1 · stop at the next subtitle (assets.trim_tail, Advanced) ON ON, OFF Ends the clip where the next subtitle starts, and starts it where the previous one ends. OFF: the padding is used as is, and a neighbouring line may get in. Clips made from now on. Sources whose video is still there show as Stale.
Layer 2 · move to silence (assets.trim_silence, Advanced) ON ON, OFF Looks for silence within 2 s of layer 1’s edges and moves the edge there. As above.
Layer 3 · find by loudness change (assets.trim_speech, Advanced) ON ON, OFF Where there is no silence, finds the speech boundary from the loudness change around the edge. As above.
Start offset (clip.start_offset_s, Advanced) 0 s −2 to 2 s (minus = earlier) Shifts every clip’s start after auto-trim. Edges you moved by hand win. Saved clips change only when cut again. Sources whose video is still there show as Stale.
End offset (clip.end_offset_s, Advanced) 0 s −2 to 2 s Shifts every clip’s end. As above.
Padding (clip.sentence_pad_s, Advanced) 0.3 s 0 to 2 s Time added outside the first and last word. As above.
YouTube only, Stremio only, Spotify only for each of the three (clip.start_offset_s:<platform> and so on, Advanced) Shared value as above The same, for one platform. As above.

English translations of candidate sentences, for the card’s translation field. One request per sentence. See costs.md.

Setting Default Values What it does On save
Auto-translate (translate.auto) OFF ON, OFF ON: after mining, Gold cards’ sentences are translated, within the two limits below. A card with no translation is translated when sent. Even when OFF, “Generate translation” in the editor translates. Next mining.
Provider (translate.provider) OpenAI OpenAI, Gemini Which service translates. Each uses its own API key. Next translation.
YouTube only, Stremio only, Spotify only (translate.auto:<platform>, Advanced) Use the shared setting Use the shared setting, ON, OFF Auto-translate for one platform. Next mining.
OpenAI model (translate.model, Advanced) gpt-4.1-nano A model name A name not in the built-in price list is costed at nano’s rate, so the estimate comes out low and the limits work less well. Next translation.
Gemini model (translate.model:gemini, Advanced) gemini-3.5-flash-lite A model name Same rule for an unknown name. Next translation.
Sentences per run (translate.max_rows, Advanced) 200 Whole number, 1 or more How many untranslated sentences one run handles. The rest wait for the next run. Next run.
Cost per run (translate.max_cost_usd, Advanced) 0.50 USD, more than 0 A run stops once its estimated cost reaches this. Translations saved until then stay. Next run.

Where cards go, the note’s fields, automatic sending, and what a send does with a word that already has a note. See anki.md.

The AnkiConnect card sums up the connection. Its address and Test are under Services › AnkiConnect URL.

The Fields card fills each note field from Yomitan’s card format for the main language’s note type (dictionary, furigana, frequency, pitch). Changed the format in Yomitan? Press Reload. While Yomitan is down, the last fetched format is used. Get fields reads the note type’s fields from Anki for the boxes below. When an existing note is updated, fields other than sentence, translation, picture, audio and MiscInfo follow Yomitan’s overwrite settings, and a filled value is never emptied.

Translation, picture and audio are AutoMiner’s own values, so you pick their fields:

Setting Default What it does On save
Sentence (anki.field.sentence) blank: guessed from the card format, else Sentence The field the sentence goes in. Next send. Two values mapped to the same field are refused.
Translation (anki.field.translation) blank: guessed, else SentenceTranslation The field the translation goes in. As above.
Picture (anki.field.picture) blank: guessed, else Picture The field the screenshot goes in. As above.
Audio (anki.field.audio) blank: guessed, else SentenceAudio The field the clip goes in. As above.
Setting Default Values What it does On save
Send to Anki without review (automine.enabled) OFF ON, OFF Gold cards whose clip score is at or above the Send threshold and that aren’t too quiet are sent without review. Check them under Queue › “Auto-sent”. Joined clips and songs are not sent. Can’t be switched on without AnkiConnect. Sends due cards.
When to send (automine.when) Right away Right away, Daily at a set time Right away: a card is sent the moment it qualifies. Daily: Gold cards are sent together at the Send time, with Anki read again just before. Sends due cards when set to Right away.
Send time (automine.daily_at) blank A time (HH:MM) Every day at this time the waiting Gold cards are sent together, read in General › Time zone. Cards ready after this time go right away until the day ends. Used only with Daily. Next send.
Cards per send (max) (automine.limit) blank: no limit Whole number, 1 or more With Right away: per source (5 = up to 5 from each source). With Daily: shared out as Split the limit says. Sends due cards when set to Right away.
Split the limit (automine.share) Round robin (limit in all) Round robin (limit in all), Limit per source Round robin takes one card at a time from each source, highest score first, up to the limit in all. Per source takes up to the limit from each. Used only with Daily and a limit. Next send.
YouTube only, Stremio only, Spotify only (automine.enabled:<platform>, Advanced) Use the shared setting Use the shared setting, ON, OFF Auto-send for one platform. Sends due cards.
Setting Default Values What it does On save
Duplicate handling (anki.duplicates_mode) Choose each time (no auto-send) Choose each time, Overwrite, Create duplicate, Merge (Kiku) What a send does with a word that has a note in the Duplicate search range. Choose each time marks it “Duplicate”, never sends it automatically, and the editor asks. The others act without asking, auto-send included. Overwrite and Merge act only when the range holds one note for the word and its reading matches the card; otherwise a send by hand asks which note and auto-send skips it. Create duplicate makes a new note. Overwrite keeps the note’s ID and review history and replaces the sentence, its furigana, translation, audio, picture and MiscInfo; other fields follow Yomitan’s overwrite settings (Send › Fields). Merge needs Merge Kiku-style ON. Not used while the range is empty. Gold and auto-send are re-evaluated at once.

Every service’s key and address in one list; beside each name, what uses it. See judge.md, costs.md and self-host.md.

The judge decides subtitle timing, line joins, sentence quality and whether a line was really spoken. Choosing acts at once. The judge models’ licences (Apache-2.0 for h2o-lightning-4B, LFM Open License v1.0 for d1-2B) are saved next to each model.

Setting Default Values What it does
Judge service (judge.backend) This machine; Jev if a Jev key is set and you never chose This machine, Jev This machine runs the judge on the server; Jev runs it in the cloud and needs Judge service (Jev)’s key (the Jev button is disabled without one).
Judge model (judge.model) blank: AutoMiner picks the first in the list h2o-lightning-4B, d1-2B, each with its size The model this machine’s judge runs, listed best first for this machine: models that answered in 1 s a sentence or less in their check (or, before a check, that fit the GPU’s free memory) come first, most accurate first; the rest follow smallest first. Picking one saves at once and downloads it; the model already there keeps answering until the new one is ready, and only one stays on disk. Download fetches it, Stop stops a download, the trash button deletes it. The line beside it says where it runs (GPU, or CPU threads): green at 1 s a sentence or less, orange up to 2 s, red slower. Shown while This machine is chosen. Judge work waits until a model is downloaded.

One key per provider, kept in a file in the secrets directory, not the database. A saved key is never shown: its box says whether it is set, with its last characters. Saving an empty box leaves the key as it is; the trash button deletes it (after a confirmation, at once). A key takes effect when saved, with no restart.

Key Used for
OpenAI (OPENAI_API_KEY) Transcription and translation with OpenAI.
ElevenLabs (ELEVENLABS_API_KEY) Scribe transcription (needs the Speech to Text permission).
Gemini (GEMINI_API_KEY) Translation with Gemini (a Google AI Studio key).
Judge service (Jev) (TYPESAFE_API_KEY) The Jev judge.
OpenSubtitles (OPENSUBTITLES_API_KEY) Subtitles for anything but anime (anime uses Jimaku). Not used without a key.
Prowlarr (INDEXER_API_KEY) Stremio fetching through Prowlarr (Prowlarr’s Settings › General). Not needed with an addon URL.
Deluge (DELUGE_PASSWORD) Stremio fetching: the Deluge web UI’s password. Filled in for you when you start Deluge from the downloaded files.
Stremio (STREMIO_AUTH_KEY) Stremio watch history: the account key that tells AutoMiner what you watched.

Jimaku’s key is under Languages › Japanese options.

The addresses of the services AutoMiner reaches over HTTP. Each has Test. On the transcription, separation and Deluge rows, Download gives you the files to run that service on another PC or NAS (self-host.md); on the AnkiConnect and Yomitan rows it links to where to get them (with the built-in Yomitan in use, the Yomitan row’s button goes to its dictionaries instead). Each takes effect when saved. A value set in the server’s environment wins over the page, except for the AnkiConnect URL, where the page wins.

Setting Default What it does
AnkiConnect URL (anki.url) http://127.0.0.1:8765 (Anki on the server itself) Where cards are sent. When Anki is on another computer, save its AnkiConnect address (http://<your computer>:8765). No API key is needed. The line below warns when the profile open in Anki is not the one the known words and sent cards are recorded under.
Yomitan API URL (yomitan.url) blank: a Yomitan API answering on the server at port 19633, else the built-in Yomitan The Yomitan API that fills the dictionary fields. When it can’t be reached, cards are still sent, with those fields empty.
Transcription service URL (evidence.asr_url) blank Where audio goes while the transcription runner is Container (http://<host>:9300).
Separation service URL (sync.separation_url) blank Where audio goes while the separation mode is Container, and for measuring clips buried under music (http://<host>:9200).
Search URL (acquire.indexer_url) blank Prowlarr’s address (http://<host>:9696) or a Stremio addon’s …/manifest.json.
Deluge URL (acquire.deluge_url) blank The Deluge web UI that downloads the videos (http://<host>:8112).
VPN proxy URL (vpn.proxy_url) blank Gluetun’s HTTP proxy (http://<host>:8888): checked before a torrent is added, and used to get around a YouTube refusal.

The most paid work (subtitle check, transcription, translation) may spend. Each limit takes effect at the next paid call. A paid call that would leave less than the safety margin under any limit is not made: the work waits as “Waiting for budget” and resumes by itself on a new day or month or when you raise the limit. What was spent is on the Spend page. Amounts are estimates from the built-in price list. See costs.md.

Setting Default Values What it does
Daily limit (budget.daily_usd) blank: no limit 0 to 100000 USD; 0 = nothing paid Spend per day, counted in General › Time zone.
Monthly limit (budget.monthly_usd) blank: no limit as above Spend per month.
Per-source limit (month) (budget.source_usd) blank: no limit as above Spend per source per month. Only that source’s paid work stops.
Safety margin (budget.margin_usd) 0.50 USD An amount kept back in case the estimates are off. Each limit other than 0 must be at least 0.01 above it, or it can’t be saved.

The backup, clean-up jobs and the tags Audit replaces. Clean-up buttons show what they would touch before they run. See upkeep.md.

Card What it does
Backup The last nightly backup’s result. When the last run failed, or nothing succeeded for 48 hours, the reason shows in orange; making and sending cards doesn’t stop. It has no settings: the backup is set up on the server (upkeep.md).
Session clean-up (Advanced) Watch sessions of closed tabs can stay “playing”. Check sessions counts them; Close old sessions closes open sessions idle for 6 hours or more. Recorded watch time doesn’t change.
Reset database (Advanced) Deletes every source, candidate, clip, subtitle, downloaded video and the watch history. Settings, known words, backups and Anki notes stay. Check what goes shows the counts; Delete all asks you to type Delete all (すべて削除 in Japanese). It can’t be undone. Details: upkeep.md.
Audit Tags to replace (default nosentence): notes with these tags become Audit findings, notes that lack a sentence or clip. The same setting as on the Audit page.

Some settings are environment variables read by the server, listed with autominer help settings (add --all for the advanced ones) and explained in configuration.md. Where one overlaps the page:

Environment variable Page setting Which wins
AUTOMINER_LANG Studied languages The environment
AUTOMINER_YOMITAN_URL Yomitan API URL The environment
AM_PROBE_ASR_URL Transcription service URL The environment
AM_SEPARATOR_URL Separation service URL The environment
AUTOMINER_INDEXER_URL Search URL The environment
AUTOMINER_DELUGE_URL Deluge URL The environment
AUTOMINER_VPN_PROXY VPN proxy URL The environment
ANKICONNECT_URL AnkiConnect URL The page; the variable is used only until a URL is saved
SPOTIFY_PLAYING_POLL_S, SPOTIFY_IDLE_POLL_S, SPOTIFY_POLL_S, SPOTIFY_DAILY_READS Spotify’s intervals and limit The environment
A key’s variable (OPENAI_API_KEY and the others) API keys The environment; otherwise the file a NAME_FILE variable names, else the secrets file

When the environment sets a service address, the line under it says “the server’s setting wins”. Paths, the data directory and the backup target exist only as environment variables; upkeep.md covers them.