bavitutor 0.3.0 → 0.3.2

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
@@ -83,12 +83,38 @@ vpx /path/to/bavitutor --no-open # vpx takes the same specs and flags
83
83
  | `--host <host>` | `127.0.0.1` | interface to listen on (this machine only) |
84
84
  | `--data-dir <dir>` | `~/.bavitutor` | database, plus settings in `<dir>/.env` |
85
85
  | `--no-open` | | don't open the browser |
86
+ | `--tailscale` | | also share it on your tailnet (see below) |
86
87
 
87
88
  On start the CLI checks for a Claude login or `ANTHROPIC_API_KEY`, looks for
88
89
  Chrome (`BAVI_CHROME`, then the standard Windows, macOS and Linux locations)
89
90
  and warns if either is missing, and stops with a clear message if the port is
90
91
  taken.
91
92
 
93
+ ### Open it on your other devices
94
+
95
+ ```sh
96
+ npx bavitutor --tailscale
97
+ ```
98
+
99
+ With `--tailscale`, BaviTutor also shares itself on your
100
+ [Tailscale](https://tailscale.com) tailnet, so your phone or another computer
101
+ can open it:
102
+
103
+ ```text
104
+ BaviTutor is running at http://localhost:4100 (Ctrl+C to stop)
105
+ on your tailnet at https://laptop.tail1234.ts.net:4100
106
+ ```
107
+
108
+ It runs `tailscale serve` over HTTPS on the same port number, so anything you
109
+ already serve on 443 stays as it is. Only devices on your tailnet can reach it
110
+ (it is not Funnel), and the share stops when BaviTutor stops. Anyone on your
111
+ tailnet can use it, on your Claude login.
112
+
113
+ It needs Tailscale installed and logged in, with MagicDNS and HTTPS
114
+ Certificates turned on (admin console, DNS page). If something is missing,
115
+ BaviTutor says what to fix and still runs on this computer. If BaviTutor is
116
+ already running, `--tailscale` shares that one until you press Ctrl+C.
117
+
92
118
  ### Configuration (environment, `apps/server/.env` in dev, `<data-dir>/.env` for the CLI)
93
119
 
94
120
  | Variable | Default | Meaning |
@@ -135,10 +161,16 @@ The three `BAVI_MODEL_*` variables are only starting points: **Settings → AI m
135
161
  Reviews interleave subjects, pick the question level from memory strength
136
162
  (one lower after a lapse, discrimination items against confusable
137
163
  concepts), compress overlapping concepts into fewer items, and give
138
- implicit credit to prerequisites. A hint ladder caps how much a helped
139
- answer counts. Concepts that keep slipping get flagged with remediation;
140
- a backlog switches to triaged catch-up spread over a week; after a long
141
- absence a 5-minute check-in replaces the pile. "Just 5" keeps it short.
164
+ implicit credit to prerequisites. You never rate yourself: "I don't know"
165
+ is the honest no, and each rating comes from whether you were right, how
166
+ long you took against your usual time, and any hints. A hint ladder caps
167
+ how much a helped answer counts. Anything you miss or struggle with comes
168
+ back later in the session, as a new question, until you get it right
169
+ without a struggle. A session ends by naming the concepts that were
170
+ strong and the ones that need practice. Concepts that keep slipping get
171
+ flagged with remediation; a backlog switches to triaged catch-up spread
172
+ over a week; after a long absence a 5-minute check-in replaces the pile.
173
+ "Just 5" keeps it short.
142
174
  Every concept is also split into a few **ideas**, each with its own FSRS
143
175
  card: a flashcard round closes each lesson, and due ideas come back as
144
176
  flashcards written fresh each time from how they were asked before. You
@@ -153,8 +185,8 @@ The three `BAVI_MODEL_*` variables are only starting points: **Settings → AI m
153
185
  time, retention, new-concept cap, visuals, a daily reminder, and the
154
186
  Claude model, reasoning level and fast mode for each kind of work. A goal
155
187
  can have an exam date that tightens scheduling. Progress shows durable
156
- knowledge, predicted and measured retention, calibration, activity and a
157
- review forecast. Lessons resume after a reload, and a break is suggested
188
+ knowledge, predicted and measured retention, activity and a review
189
+ forecast. Lessons resume after a reload, and a break is suggested
158
190
  after about 25 minutes.
159
191
 
160
192
  ### Learning from your own sources