Conversation
`assets/demos/generate_casts.py` builds asciicast v2 `.cast` files with scripted typing and simulated CLI output for three demos: `pairs add`, `add`, and `translate`. GIFs are rendered from the casts with `agg` (Dracula theme, JetBrains Mono, japanese:english pair). The demos use japanese:english throughout for consistency with the README hero GIF. Co-authored-by: AI <ai@sderev.com>
Replace GitHub-hosted demo GIFs with repo-local versions generated from asciicast recordings. All demos now use the japanese:english pair consistently. * Replace external GIF URLs with `assets/demos/*.gif` paths * Change `add la casa` example to `add 猫` to match the demo pair * Rename "Generate an Anki deck" section to "Translate and generate an Anki deck"; add `--count` flag and `anki` alternative * Add "Estimate token usage" section for `vocabmaster tokens` * Document `pairs default`, `config key`, `pair` alias, and `--pair` * Explain `~/.config/lmt/key.env` path (shared with `lmterminal`) * Remove duplicate translate GIF from the Anki deck section * Drop "For detailed help" from the TOC Co-authored-by: AI <ai@sderev.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
assets/demos/*.gif) generated from asciicast recordings viaaggadd la casaexample toadd 猫to match the demo pair--countflag andankialternativevocabmaster tokenspairs default,config key,pairalias, and--pair~/.config/lmt/key.envpath (shared withlmterminal)Why
README demo GIFs were outdated: they showed the old
setupcommand (nowpairs add), used a spanish example inconsistent with the japanese hero GIF, and several CLI commands were undocumented.How to test
setup,add la casa) remaintokens,pairs default,config key,pairalias,--pair,--count) match the actual CLI behavior: run each command with--helpRisk/compat notes
assets/demos/*.gif); any external link pointing at the old GitHub asset URLs will still work (GitHub doesn't delete uploads) but the README itself no longer references them.Changelog fragment
No. Documentation-only change — no user-visible behavior change.