bavitutor 0.1.3 → 0.2.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/README.md CHANGED
@@ -37,8 +37,15 @@ vp install
37
37
  vp run dev
38
38
  ```
39
39
 
40
- Open <http://localhost:5180>. The API runs on port 4100 and the web dev server
41
- proxies `/api` to it. Data lives in `apps/server/data/bavitutor.db` (SQLite).
40
+ Open <https://bavitutor.localhost>. Both dev servers run through
41
+ [portless](https://github.com/vercel-labs/portless), which gives them free
42
+ ports behind named URLs, so they never clash with another checkout: the API is
43
+ <https://api.bavitutor.localhost> and the web dev server proxies `/api` to it.
44
+ In a git worktree the branch name is prepended
45
+ (`https://<branch>.bavitutor.localhost`); both URLs are printed on start. The
46
+ first run creates a local certificate authority, trusts it and starts the proxy
47
+ on port 443; if that times out, run it again. Data lives in
48
+ `apps/server/data/bavitutor.db` (SQLite).
42
49
 
43
50
  ### Use it
44
51
 
@@ -132,6 +139,11 @@ The three `BAVI_MODEL_*` variables are only starting points: **Settings → AI m
132
139
  answer counts. Concepts that keep slipping get flagged with remediation;
133
140
  a backlog switches to triaged catch-up spread over a week; after a long
134
141
  absence a 5-minute check-in replaces the pile. "Just 5" keeps it short.
142
+ Every concept is also split into a few **ideas**, each with its own FSRS
143
+ card: a flashcard round closes each lesson, and due ideas come back as
144
+ flashcards written fresh each time from how they were asked before. You
145
+ recall the answer first, tap "Show choices", then pick the right statement
146
+ out of four near-identical ones; recall time and the pick set the rating.
135
147
  6. **Your day.** Home plans reviews first, then as many new lessons as fit
136
148
  your daily time and a two-week review-load forecast. Settings cover daily
137
149
  time, retention, new-concept cap, visuals, a daily reminder, and the
@@ -141,6 +153,19 @@ The three `BAVI_MODEL_*` variables are only starting points: **Settings → AI m
141
153
  review forecast. Lessons resume after a reload, and a break is suggested
142
154
  after about 25 minutes.
143
155
 
156
+ ### Learning from your own sources
157
+
158
+ Instead of (or as well as) describing a goal, add your own documents on the
159
+ landing page: several `.txt` or `.md` files at once, dropped files, or pasted
160
+ text. Choose **Only my sources** to make them the whole truth, or **Also search
161
+ the web** to let research fill gaps (added concepts are marked "Added"). An
162
+ agent reads each document in parts and splits it into lessons in the author's
163
+ order. Each lesson holds 4 to 12 ideas, written close to the author's words,
164
+ each with a verbatim quote checked against the text. Lessons are taught from
165
+ the source: each chunk says **From your source** or **Added by BaviTutor**, with
166
+ the original words one tap away. The notes page lists every idea with its
167
+ quote, so you can re-read the book idea by idea.
168
+
144
169
  The design rests on the research in [`docs/research`](docs/research):
145
170
  learning science (≈235 references, with engine rules), adaptive placement,
146
171
  source curation and graph building, 3Blue1Brown-style visualization, and an