@bitefoundry/rtt 0.4.0 → 0.5.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 +35 -3
- package/bin/rtt.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# RTT
|
|
2
2
|
|
|
3
|
-
Real-time captions, translation, reply suggestions, and audio recording/playback for Windows Live Captions in the terminal.
|
|
3
|
+
Real-time captions, translation, reply suggestions, live notes, and audio recording/playback for Windows Live Captions in the terminal.
|
|
4
4
|
|
|
5
5
|
## Requirements
|
|
6
6
|
|
|
@@ -55,21 +55,53 @@ All chat calls use the OpenAI-compatible Chat Completions format.
|
|
|
55
55
|
| NVIDIA | `nvidia` | `nvapi-` | https://build.nvidia.com |
|
|
56
56
|
| Custom | `custom` | - | Any OpenAI-compatible `https://` base URL |
|
|
57
57
|
|
|
58
|
+
Model prices and cost estimates are resolved from the OpenRouter model list (OpenRouter), the public OpenRouter price catalog fetched without sending any API key (OpenAI, Gemini, and Anthropic), and `prices` in `config.json` (USD per 1M tokens with `input`, `cached_input`, and `output`; an entry with the same model ID takes precedence over built-in and public prices). Models without a known price display `Cost unknown`. Example: `"prices": { "my-model": { "input": 0.15, "cached_input": 0.075, "output": 0.6 } }`.
|
|
59
|
+
|
|
58
60
|
## Languages
|
|
59
61
|
|
|
60
62
|
Press `F10` (or open the `Settings` tab) to change `Caption language` and `Translate to`. The default target language is `Korean`. Additional caption languages appear after you install their speech language pack in Windows Settings.
|
|
61
63
|
|
|
64
|
+
## Notes
|
|
65
|
+
|
|
66
|
+
While captions run in `Translate` mode with an API key, RTT periodically extracts live key points into the `Notes` tab (every 2 minutes by default once at least 5 new closed sentences arrive, or every 40 new sentences). Press `F8` at any time to generate a streaming one-page summary of the current note and open the `Notes` tab. Clearing the live view (`Ctrl+L`) also summarizes an ending note automatically when it has at least 20 sentences and no summary yet (`notes_auto_summary`). Configure `Live notes`, `Notes model` (defaults to `Same as translation`), and `Export to` under `Settings` -> `Notes`.
|
|
67
|
+
|
|
68
|
+
Notes are always saved locally as Markdown and JSON state files under `%LOCALAPPDATA%\RTT\notes\` (`<id>.md` and `<id>.json`) and are not automatically deleted.
|
|
69
|
+
|
|
70
|
+
To incrementally export notes to an Obsidian vault or a Notion parent page, install the corresponding CLI globally and complete its setup before selecting `Export to` in `Settings`:
|
|
71
|
+
|
|
72
|
+
```powershell
|
|
73
|
+
npm i -g @bitefoundry/obsidian
|
|
74
|
+
npm i -g @bitefoundry/notion
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
- **Obsidian**: Register your vault in Obsidian so `bitefoundry-obsidian` can list it; RTT exports into the `RTT` folder inside the selected vault by default.
|
|
78
|
+
- **Notion**: Sign in with `notion login` (integration token or OAuth) so `notion` can list your parent pages. Selecting a Notion export destination sends and stores your generated notes on Notion's servers.
|
|
79
|
+
|
|
80
|
+
Changing `Export to` takes effect starting with the next note. Failed exports remain pending and are retried automatically on later note updates and on the next launch (for notes updated within 7 days).
|
|
81
|
+
|
|
82
|
+
Notes configuration keys in `%LOCALAPPDATA%\RTT\config.json`:
|
|
83
|
+
|
|
84
|
+
| Key | Type | Default | Description |
|
|
85
|
+
|---|---|---|---|
|
|
86
|
+
| `notes_enabled` | boolean | `true` | Enable automatic live key points in `Translate` mode |
|
|
87
|
+
| `notes_model` | string | `""` | Model ID for notes and summaries (`""` uses `translate_model` and `translate_extra`) |
|
|
88
|
+
| `notes_extra` | object | `{"reasoning_effort": "none"}` | Extra JSON request fields merged when `notes_model` is non-empty |
|
|
89
|
+
| `notes_interval_s` | integer | `120` | Minimum seconds between automatic keynote updates (minimum `30`) |
|
|
90
|
+
| `notes_auto_summary` | boolean | `true` | Automatically summarize an ending note on `Ctrl+L` (20+ sentences) |
|
|
91
|
+
| `notes_export` | object | `{"target": "off"}` | Export target for new notes (`off`, `obsidian`, or `notion`) |
|
|
92
|
+
|
|
62
93
|
## Key bindings
|
|
63
94
|
|
|
64
95
|
| Key | Action |
|
|
65
96
|
|---|---|
|
|
66
|
-
| `Tab` | Switch tabs (`Live`, `Sessions`, `Playback`, `Settings`) |
|
|
97
|
+
| `Tab` | Switch tabs (`Live`, `Sessions`, `Playback`, `Notes`, `Settings`) |
|
|
67
98
|
| `Enter` / `Space` / `r` | Request reply suggestions for recent captions |
|
|
68
99
|
| `Ctrl+Alt+R` | Global hotkey for reply suggestions (change via `hotkey` in `config.json`) |
|
|
69
100
|
| `1`, `2`, `3` | Copy a suggested reply |
|
|
70
101
|
| `Esc` | Close the reply panel or active overlay |
|
|
71
102
|
| `F2` | Start or stop recording |
|
|
72
103
|
| `F3` | Switch mode (`Translate` / `Transcribe` / `Record only`) |
|
|
104
|
+
| `F8` | Summarize the current note and open the `Notes` tab |
|
|
73
105
|
| `F9` | Switch mic mode (`Mic off` / `Mic record` / `Mic transcribe`) |
|
|
74
106
|
| `F10` | Open the language panel (`Caption language` and `Translate to`) |
|
|
75
107
|
| `Ctrl+L` | Clear the `Live` screen |
|
|
@@ -78,7 +110,7 @@ Press `F10` (or open the `Settings` tab) to change `Caption language` and `Trans
|
|
|
78
110
|
|
|
79
111
|
## Data locations
|
|
80
112
|
|
|
81
|
-
- Settings, daily usage, caption history, and logs: `%LOCALAPPDATA%\RTT` (`config.json`, `tui.json`, `usage.json`, `history\`, `rtt.log`)
|
|
113
|
+
- Settings, daily usage, caption history, notes, and logs: `%LOCALAPPDATA%\RTT` (`config.json`, `tui.json`, `usage.json`, `history\`, `notes\`, `rtt.log`)
|
|
82
114
|
- Recorded sessions, audio files, and transcripts: `Documents\RTT` (configurable in `tui.json`)
|
|
83
115
|
- API key: Windows Credential Manager generic credential `RTT/api-key` (never saved in `config.json` or logs)
|
|
84
116
|
|
package/bin/rtt.exe
CHANGED
|
Binary file
|