@shaankhosla/repeat 0.0.21 → 0.0.22

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,9 +1,21 @@
1
- ## [0.0.21] - 2025-12-31
1
+ ## [0.0.22] - 2025-12-31
2
2
 
3
3
  ### 🚀 Features
4
4
 
5
- - Notify users when CLI has a new version (#16)
5
+ - Import from Anki (#17)
6
+
7
+ ### 🐛 Bug Fixes
8
+
9
+ - Remove dbg statement
6
10
 
7
11
  ### 💼 Other
8
12
 
9
- - Update README.md
13
+ - Fix release pipeline
14
+
15
+ ### 🚜 Refactor
16
+
17
+ - Made the CLI experience better
18
+
19
+ ### ⚙️ Miscellaneous Tasks
20
+
21
+ - Upgrade criterion
package/README.md CHANGED
@@ -25,6 +25,7 @@
25
25
  - Progress is tracked with a hash of the card content, so edits automatically reset their progress.
26
26
  - Free Spaced Repetition Scheduler (FSRS), a state-of-the-art algorithm targeting 90% recall, automatically schedules reviews for you.
27
27
  - Terminal UX: `repeat drill` renders cards with ratatui; `repeat create` launches an editor dedicated to card capture; `repeat check` displays progress at a glance.
28
+ - Import from Anki: convert `.apkg` exports into Markdown decks with `repeat import` so you can bring your existing collection along.
28
29
 
29
30
  ## Installation
30
31
 
@@ -169,6 +170,16 @@ Example: review stats for math class `flashcards/math/` before a study session.
169
170
  repeat check flashcards/math/
170
171
  ```
171
172
 
173
+ ### `repeat import <anki.apkg> <output-dir>`
174
+
175
+ Convert an Anki `.apkg` export into Markdown decks. If files with the same names already exist in the export folder, they will be overwritten, so this command is safe to rerun if needed. This is a beta feature, so please report any issues on GitHub. FSRS history is not currently transferred over.
176
+
177
+ Example: import `my_collection.apkg` into `cards/anki/` and start drilling right away.
178
+
179
+ ```
180
+ repeat import ~/Downloads/my_collection.apkg cards/anki
181
+ ```
182
+
172
183
 
173
184
  ## Development
174
185
 
@@ -185,7 +196,7 @@ The repository also ships a `just precommit` recipe that runs the same checks.
185
196
 
186
197
  ## Roadmap
187
198
 
188
- - [ ] Import from Anki
199
+ - [X] Import from Anki
189
200
  - [ ] Allow scrolling to other cards in a collection while creating a new card
190
201
  - [ ] Edit an existing card while keeping the progress intact
191
202
  - [ ] Allow for a fuzzy search of existing cards
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "hasInstallScript": true,
24
24
  "name": "@shaankhosla/repeat",
25
- "version": "0.0.21"
25
+ "version": "0.0.22"
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.21"
517
+ "version": "0.0.22"
518
518
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/shaankhosla/repeat/releases/download/v0.0.21",
2
+ "artifactDownloadUrl": "https://github.com/shaankhosla/repeat/releases/download/v0.0.22",
3
3
  "author": "shaankhosla",
4
4
  "bin": {
5
5
  "repeat": "run-repeat.js"
@@ -83,7 +83,7 @@
83
83
  "zipExt": ".tar.xz"
84
84
  }
85
85
  },
86
- "version": "0.0.21",
86
+ "version": "0.0.22",
87
87
  "volta": {
88
88
  "node": "18.14.1",
89
89
  "npm": "9.5.0"