@shaankhosla/repeat 0.0.20 → 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,303 +1,21 @@
1
- ## [unreleased]
1
+ ## [0.0.22] - 2025-12-31
2
2
 
3
- ### 💼 Other
4
-
5
- - Workspace npm
6
- ## [0.0.19] - 2025-12-30
7
-
8
- ### 🐛 Bug Fixes
9
-
10
- - Fix npm release
11
-
12
- ### 💼 Other
13
-
14
- - Bump version
15
- ## [0.0.18] - 2025-12-30
16
-
17
- ### 🐛 Bug Fixes
18
-
19
- - Fix npm release
20
- ## [0.0.17] - 2025-12-30
21
-
22
- ### 💼 Other
23
-
24
- - Version
25
- ## [0.0.16] - 2025-12-30
26
-
27
- ### ⚙️ Miscellaneous Tasks
28
-
29
- - Bump version
30
- ## [0.0.15] - 2025-12-30
31
-
32
- ### 💼 Other
33
-
34
- - Better install
35
- - Update README.md
36
- - Embedded Notes Example (#9)
37
-
38
- * more detail
39
-
40
- * spacing
41
-
42
- * spacing
43
-
44
- * another path
45
-
46
- ---------
47
-
48
- Co-authored-by: Shaan <shaankhosla@macbook-pro.mynetworksettings.com>
49
- - Added cliff and changelog
50
- - Bump crossterm from 0.28.1 to 0.29.0 (#13)
51
-
52
- Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.28.1 to 0.29.0.
53
- - [Release notes](https://github.com/crossterm-rs/crossterm/releases)
54
- - [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
55
- - [Commits](https://github.com/crossterm-rs/crossterm/commits/0.29)
56
-
57
- ---
58
- updated-dependencies:
59
- - dependency-name: crossterm
60
- dependency-version: 0.29.0
61
- dependency-type: direct:production
62
- update-type: version-update:semver-minor
63
- ...
64
-
65
- Signed-off-by: dependabot[bot] <support@github.com>
66
- Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
67
- ## [0.0.14] - 2025-12-30
68
-
69
- ### 💼 Other
70
-
71
- - Use Dist (#14)
72
-
73
- * dist
74
-
75
- * dist
76
-
77
- * version
78
-
79
- ---------
80
-
81
- Co-authored-by: Shaan <shaankhosla@macbook-pro.mynetworksettings.com>
82
- ## [0.0.13] - 2025-12-29
83
-
84
- ### 💼 Other
85
-
86
- - Add overdue cards to `check`
87
- - Add another example
88
- - Better memory on markdown
89
- - Remove unneeded schema
90
- - Micro-optimizations
91
- - Add link to description of what spaced repetition is (#8)
92
- - Create dependabot.yml
93
- - Bump crossterm from 0.27.0 to 0.28.1 (#11)
94
-
95
- Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.27.0 to 0.28.1.
96
- - [Release notes](https://github.com/crossterm-rs/crossterm/releases)
97
- - [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
98
- - [Commits](https://github.com/crossterm-rs/crossterm/commits)
99
-
100
- ---
101
- updated-dependencies:
102
- - dependency-name: crossterm
103
- dependency-version: 0.28.1
104
- dependency-type: direct:production
105
- update-type: version-update:semver-minor
106
- ...
107
-
108
- Signed-off-by: dependabot[bot] <support@github.com>
109
- Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
110
- - Bump ratatui from 0.29.0 to 0.30.0 (#10)
111
-
112
- * Bump ratatui from 0.29.0 to 0.30.0
113
-
114
- Bumps [ratatui](https://github.com/ratatui/ratatui) from 0.29.0 to 0.30.0.
115
- - [Release notes](https://github.com/ratatui/ratatui/releases)
116
- - [Changelog](https://github.com/ratatui/ratatui/blob/main/CHANGELOG.md)
117
- - [Commits](https://github.com/ratatui/ratatui/compare/v0.29.0...ratatui-v0.30.0)
118
-
119
- ---
120
- updated-dependencies:
121
- - dependency-name: ratatui
122
- dependency-version: 0.30.0
123
- dependency-type: direct:production
124
- update-type: version-update:semver-minor
125
- ...
126
-
127
- Signed-off-by: dependabot[bot] <support@github.com>
128
-
129
- * minor
130
-
131
- ---------
132
-
133
- Signed-off-by: dependabot[bot] <support@github.com>
134
- Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
135
- Co-authored-by: Shaan <shaankhosla@macbook-pro.mynetworksettings.com>
136
- - Upgrade version
137
- ## [0.0.12] - 2025-12-28
138
-
139
- ### 🐛 Bug Fixes
3
+ ### 🚀 Features
140
4
 
141
- - Fix release <> lint
142
-
143
- ### 💼 Other
144
-
145
- - Typo
146
- - Embed notes (#7)
147
-
148
- * end parsing
149
-
150
- * examples to readme
151
-
152
- ---------
153
-
154
- Co-authored-by: Shaan <shaankhosla@macbook-pro.mynetworksettings.com>
155
- - Typo
156
- - Upgrade version
157
- ## [0.0.11] - 2025-12-24
158
-
159
- ### 💼 Other
160
-
161
- - Add install.sh for automatic installation
162
- - Installation help
163
- - Minor readme
164
- - Minor readme
165
- - Minor readme
166
- - Markdown display in drill (#3)
167
-
168
- * init for markdown
169
-
170
- * fix newlines
171
-
172
- * more efficient string manipulation
173
-
174
- * one less string own
175
-
176
- * minor changes to readme
177
-
178
- * update release
179
-
180
- ---------
181
-
182
- Co-authored-by: Shaan <shaankhosla@macbook-pro.mynetworksettings.com>
183
- ## [0.0.10] - 2025-12-24
184
-
185
- ### 💼 Other
186
-
187
- - Bump version, new cicd
188
- ## [0.0.9] - 2025-12-23
189
-
190
- ### 💼 Other
191
-
192
- - Minor fix for upcoming bar
193
- - Switch to using ripgrep
194
- - Use Ripgrep to parse all cards (#2)
195
-
196
- * init
197
-
198
- * change
199
-
200
- * minor
201
-
202
- * minor
203
-
204
- * fix touch
205
-
206
- * benchmark
207
-
208
- ---------
209
-
210
- Co-authored-by: Shaan <shaankhosla@macbook-pro.mynetworksettings.com>
211
- ## [0.0.8] - 2025-12-22
212
-
213
- ### 💼 Other
214
-
215
- - Improve check, better examples
216
- - Replace upcoming with histogram
217
- - Init
218
- - Refine
219
- - Use sqlx macro
220
- - Use sqlx
221
- - Merge pull request #1 from shaankhosla/difficulty_histogram
222
-
223
- Difficulty histogram
224
- ## [0.0.7] - 2025-12-21
225
-
226
- ### 💼 Other
227
-
228
- - Init repeat
229
- - Screenshots
230
- - Improve fsrs, better TUI experience
231
- - Theme improvements
232
- - Dashboard for check command
233
- - Format
234
- - Format
235
- ## [0.0.6] - 2025-12-18
5
+ - Import from Anki (#17)
236
6
 
237
7
  ### 🐛 Bug Fixes
238
8
 
239
- - Fix check
9
+ - Remove dbg statement
240
10
 
241
11
  ### 💼 Other
242
12
 
243
- - Minor improvements
244
- - Better parsing
245
- ## [0.0.5] - 2025-12-17
13
+ - Fix release pipeline
246
14
 
247
- ### 🐛 Bug Fixes
248
-
249
- - Fix brew
250
- ## [0.0.4] - 2025-12-17
251
-
252
- ### 🐛 Bug Fixes
253
-
254
- - Fix brew
255
- - Fix brew
256
- - Fix brew
257
- ## [0.0.3] - 2025-12-17
258
-
259
- ### 💼 Other
260
-
261
- - Update release
262
- - Update release
263
- ## [0.0.2] - 2025-12-17
264
-
265
- ### 💼 Other
266
-
267
- - Readme
268
- - Create tap
269
- - Create tap
270
- - Create tap
271
- - Create tap
272
- - Create tap
273
- - Create tap
274
- - Minor to test action
275
- - Update release
276
- ## [0.0.1] - 2025-12-17
277
-
278
- ### 💼 Other
15
+ ### 🚜 Refactor
279
16
 
280
- - Initial commit
281
- - Init
282
- - Merge branch 'master'
283
- - Action
284
- - Remove md
285
- - Improve cicd
286
- - Working create card
287
- - Editor refinements and db
288
- - Lint
289
- - Minor
290
- - More setup
291
- - Add cards to db
292
- - Framework for drill
293
- - Get cards due today
294
- - First pass drill ui
295
- - Working v1 review
296
- - Basic check
297
- - Better check
298
- - Improve frame rate
299
- - Release
17
+ - Made the CLI experience better
300
18
 
301
19
  ### ⚙️ Miscellaneous Tasks
302
20
 
303
- - Cicd
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
 
@@ -50,7 +51,7 @@ irm https://github.com/shaankhosla/repeat/releases/latest/download/repeat-instal
50
51
  ### npm
51
52
 
52
53
  ```
53
- npm install repeat
54
+ npm install @shaankhosla/repeat
54
55
  ```
55
56
 
56
57
  ## Quick Start
@@ -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.20"
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.20"
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.20",
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.20",
86
+ "version": "0.0.22",
87
87
  "volta": {
88
88
  "node": "18.14.1",
89
89
  "npm": "9.5.0"