@shaankhosla/repeater 0.0.25 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,49 +1,56 @@
1
- ## [0.0.25] - 2026-01-06
1
+ ## [0.1.0] - 2026-01-18
2
2
 
3
3
  ### 🚀 Features
4
4
 
5
- - Make hashing more robust by ignoring whitespace, punctuation, etc (#36)
5
+ - [**breaking**] Make hashing more robust (#51)
6
+ - Track files traversed in check command (#62)
7
+ - Rephrase questions with AI (#64)
8
+ - Latex math gets converted to unicode (#66)
9
+ - Improve cloze prompt user experience with better formatting and confirmation (#70)
6
10
 
7
11
  ### 🐛 Bug Fixes
8
12
 
9
- - Improve error display for card parsing errors (#5) (#29)
10
- - Change tool name to repeater due to zsh reserved name
13
+ - Add linux persistence for llm keys
14
+ - FSRS stats will show despite no cards being due (#69)
15
+ - Incorrect API key not failing (#71)
16
+ - `create` command works with new file (#72)
11
17
 
12
18
  ### 💼 Other
13
19
 
14
- - Bump tokio from 1.48.0 to 1.49.0 (#35)
15
-
16
- Signed-off-by: dependabot[bot] <support@github.com>
17
- Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
18
- - Bump clap from 4.5.53 to 4.5.54 (#32)
19
-
20
- Signed-off-by: dependabot[bot] <support@github.com>
21
- Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
22
- - Bump reqwest from 0.11.27 to 0.13.1 (#33)
23
-
24
- Signed-off-by: dependabot[bot] <support@github.com>
25
- Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
26
- Co-authored-by: Shaan Khosla <35707672+shaankhosla@users.noreply.github.com>
20
+ - *(deps)* Bump blake3 from 1.8.2 to 1.8.3 (#55)
21
+ - *(deps)* Bump serde_json from 1.0.148 to 1.0.149 (#57)
22
+ - *(deps)* Bump async-openai from 0.30.1 to 0.32.3 (#56)
23
+ - *(deps)* Bump keyring from 2.3.3 to 3.6.3 (#54)
27
24
 
28
25
  ### 🚜 Refactor
29
26
 
30
- - Slight change to verion check
31
- - Crud (#37)
32
- - Theme
27
+ - Reorganize code (#58)
28
+ - Unify theming (#60)
29
+ - Improve cicd (#61)
30
+ - Reduce user prompts for keychain password (#63)
31
+ - Improve Anki import significantly with logging and code refactor (#65)
32
+ - Break out user prompts to separate file (#67)
33
+ - Cicd and tests (#68)
33
34
 
34
35
  ### 📚 Documentation
35
36
 
36
- - Add page on fsrs
37
- - Fix check description
38
- - Faq section
39
- - Update readme
40
- - Update readme
41
- - Updated examples for card parsing
37
+ - Readme improvements (#52)
38
+ - Show star history
42
39
 
43
40
  ### 🧪 Testing
44
41
 
45
- - Use property testing to make sure testing doesn't fail
42
+ - Increase test coverage (#59)
46
43
 
47
44
  ### ⚙️ Miscellaneous Tasks
48
45
 
49
- - Lint
46
+ - Update author/license
47
+ - Fix failing cicd
48
+ - Add install
49
+ - *(release)* V0.1.0
50
+ - Fix cicd
51
+ - *(release)* V0.1.0
52
+ - Fix cicd
53
+ - *(release)* V0.1.0
54
+ - *(release)* V0.1.0
55
+ - Fix cicd
56
+ - Fix cicd
package/README.md CHANGED
@@ -18,47 +18,30 @@
18
18
  `repeater` is a command-line flashcard program that uses [spaced repetition](https://en.wikipedia.org/wiki/Spaced_repetition) to boost your memory retention. It’s like a lightweight, text-based Anki you run in your terminal. Your decks are kept in Markdown, progress is tracked in SQLite, and reviews are scheduled with Free Spaced Repetition Scheduler (FSRS), a state-of-the-art algorithm targeting 90% recall.
19
19
 
20
20
 
21
+ > *"Just tested this out and it's amazing! The ability to simply use the same file to take your notes (e.g., in class) and as your flashcards source file is a serious game-changer. I love how minimalist it is, too."*
22
+ > — Reddit user
23
+
21
24
  <img src="check_example.png" alt="Checking card progress" />
22
25
 
23
26
  > [!NOTE]
24
27
  > You can find the main documentation, including installation guides, at [https://shaankhosla.github.io/repeater/](https://shaankhosla.github.io/repeater/).
25
28
 
26
- ## Features
27
-
28
- - Cards live in `.md` files, so edit them using your favorite markdown editor, back them up with version control, and let them live alongside regular notes.
29
- - Progress is tracked with a hash of the meaningful words, so real text changes reset progress while punctuation or casing tweaks do not.
30
- - Free Spaced Repetition Scheduler (FSRS), a state-of-the-art algorithm targeting 90% recall, automatically schedules reviews for you.
31
- - Terminal UX: `repeater drill` renders cards with ratatui; `repeater create` launches an editor dedicated to card capture; `repeater check` displays progress at a glance.
32
- - Inline media support: reference local images/audio/video inside your decks and open them from a drill session without leaving the terminal.
33
- - Import from Anki: convert `.apkg` exports into Markdown decks with `repeater import` so you can bring your existing collection along.
34
-
35
-
36
- ## Installation
37
-
38
- ### Install script (Linux & macOS) - Recommended
29
+ ## How is this different than Anki?
39
30
 
40
- ```
41
- curl --proto '=https' --tlsv1.2 -LsSf https://github.com/shaankhosla/repeater/releases/latest/download/repeater-installer.sh | sh
42
- ```
31
+ [Anki](https://apps.ankiweb.net) is a powerful and flexible spaced-repetition system with a mature GUI, mobile apps, and a large plugin ecosystem. If you want a highly customizable study system, Anki is an excellent choice.
43
32
 
44
- ### Homebrew (macOS)
33
+ `repeater` takes a different approach. Instead of asking you to move your active-recall material into a separate application, your notes themselves are the source of truth. Flashcards live directly inside plain Markdown files, alongside regular notes, and are detected automatically. There is no card editor, no syncing layer, and no separate “collection” to manage.
45
34
 
46
- ```
47
- brew tap shaankhosla/homebrew-tap
48
- brew install repeater
49
- ```
35
+ In practice, this means less flexibility but much less friction. You edit cards the same way you edit notes, using the same tools, and can easily inspect, version, or refactor your material without exports or migrations. The goal is not to replace Anki’s ecosystem, but to offer a simpler, text-first workflow for people who prefer minimalism, the terminal, and plain files over feature depth.
50
36
 
51
- ### Windows (PowerShell)
37
+ ## Features
52
38
 
53
- ```
54
- irm https://github.com/shaankhosla/repeater/releases/latest/download/repeater-installer.ps1 | iex
55
- ```
39
+ - **Markdown-first decks**: write basic Q/A + cloze cards in plain `.md` alongside your notes.
40
+ - **Media support**: open linked images/audio/video.
41
+ - **Anki import**: import your existing Anki decks `.apkg` to Markdown.
42
+ - **Stable card identity**: “meaning-only” hashing; formatting tweaks don’t reset progress.
43
+ - **Optional LLM helper**: add an OpenAI key once to auto-suggest missing Cloze brackets and optionally rephrase basic questions (see the [docs](https://shaankhosla.github.io/repeater/llm-usage.html)).
56
44
 
57
- ### npm
58
-
59
- ```
60
- npm install @shaankhosla/repeater
61
- ```
62
45
 
63
46
  ## Quick Start
64
47
 
@@ -86,7 +69,36 @@ npm install @shaankhosla/repeater
86
69
  repeater drill cards
87
70
  ```
88
71
 
89
- - `Space`/`Enter`: reveal the answer or cloze.
90
- - `O`: open the first media file (image/audio/video) referenced in the current card before revealing the answer.
91
- - `1`: mark as `Fail`, `2`: mark as `Pass`.
92
- - `Esc` or `Ctrl+C`: end the session early (progress so far is saved).
72
+
73
+ That's it! `repeater` will automatically track progress and schedule reviews.
74
+
75
+
76
+ ## Installation
77
+
78
+ ### Install script (Linux & macOS) - Recommended
79
+
80
+ ```
81
+ curl --proto '=https' --tlsv1.2 -LsSf https://github.com/shaankhosla/repeater/releases/latest/download/repeater-installer.sh | sh
82
+ ```
83
+
84
+ ### Homebrew (macOS)
85
+
86
+ ```
87
+ brew install shaankhosla/tap/repeater
88
+ ```
89
+
90
+ ### Windows (PowerShell)
91
+
92
+ ```
93
+ irm https://github.com/shaankhosla/repeater/releases/latest/download/repeater-installer.ps1 | iex
94
+ ```
95
+
96
+ ### npm
97
+
98
+ ```
99
+ npm install @shaankhosla/repeater
100
+ ```
101
+
102
+ ## Star History
103
+
104
+ [![Star History Chart](https://api.star-history.com/svg?repos=shaankhosla/repeater&type=date&legend=top-left)](https://www.star-history.com/#shaankhosla/repeater&type=date&legend=top-left)
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "hasInstallScript": true,
24
24
  "name": "@shaankhosla/repeater",
25
- "version": "0.0.25"
25
+ "version": "0.1.0"
26
26
  },
27
27
  "node_modules/@isaacs/balanced-match": {
28
28
  "engines": {
@@ -514,5 +514,5 @@
514
514
  }
515
515
  },
516
516
  "requires": true,
517
- "version": "0.0.25"
517
+ "version": "0.1.0"
518
518
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/shaankhosla/repeater/releases/download/v0.0.25",
3
- "author": "shaankhosla",
2
+ "artifactDownloadUrl": "https://github.com/shaankhosla/repeater/releases/download/v0.1.0",
3
+ "author": "Shaan Khosla <shaan.khosla@proton.me>",
4
4
  "bin": {
5
5
  "repeater": "run-repeater.js"
6
6
  },
@@ -83,7 +83,7 @@
83
83
  "zipExt": ".tar.xz"
84
84
  }
85
85
  },
86
- "version": "0.0.25",
86
+ "version": "0.1.0",
87
87
  "volta": {
88
88
  "node": "18.14.1",
89
89
  "npm": "9.5.0"