@bitefoundry/rtt 0.3.1 → 0.4.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 +52 -42
- package/bin/rtt.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,50 +1,51 @@
|
|
|
1
1
|
# RTT
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Real-time captions, translation, reply suggestions, and audio recording/playback for Windows Live Captions in the terminal.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Requirements
|
|
6
6
|
|
|
7
|
-
- Windows 11 22H2
|
|
8
|
-
- Node.js 18
|
|
9
|
-
-
|
|
7
|
+
- Windows 11 22H2 or later with Live Captions (without Live Captions, only recording and playback work)
|
|
8
|
+
- Node.js 18 or later (used only to install and update; `rtt` runs `rtt.exe` directly)
|
|
9
|
+
- A supported LLM API key (optional; transcription, recording, and playback work without a key)
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## Getting started
|
|
12
12
|
|
|
13
|
-
1.
|
|
13
|
+
1. Install the package globally:
|
|
14
14
|
|
|
15
15
|
```powershell
|
|
16
16
|
npm i -g @bitefoundry/rtt
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
2.
|
|
19
|
+
2. Run `rtt` in a terminal:
|
|
20
20
|
|
|
21
21
|
```powershell
|
|
22
22
|
rtt
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
3.
|
|
26
|
-
4. API
|
|
27
|
-
5.
|
|
25
|
+
3. **Live Captions setup**: On a Windows account that has not used Live Captions before, the Live Captions window opens. Accept the prompt to download speech files; setup continues automatically when ready. Press `Esc` to skip and run in record-only mode for that run.
|
|
26
|
+
4. **API key**: Paste an API key and press `Enter`. RTT detects the provider from the key prefix (or use `←` / `→` to choose a provider) and loads available chat models. Press `Esc` to start without a key (transcription only).
|
|
27
|
+
5. **Select model**: Choose a model for translation and press `Enter` to run a short model test, save the setting, and open the `Live` tab.
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
Check the installed version or list command-line options:
|
|
30
30
|
|
|
31
31
|
```powershell
|
|
32
32
|
rtt --version
|
|
33
|
+
rtt --help
|
|
33
34
|
```
|
|
34
35
|
|
|
35
|
-
##
|
|
36
|
+
## Updating
|
|
36
37
|
|
|
37
|
-
|
|
38
|
+
Close any running `rtt` instance first (Windows locks a running `rtt.exe`), then update:
|
|
38
39
|
|
|
39
40
|
```powershell
|
|
40
41
|
npm update -g @bitefoundry/rtt
|
|
41
42
|
```
|
|
42
43
|
|
|
43
|
-
##
|
|
44
|
+
## Supported providers
|
|
44
45
|
|
|
45
|
-
|
|
46
|
+
All chat calls use the OpenAI-compatible Chat Completions format.
|
|
46
47
|
|
|
47
|
-
|
|
|
48
|
+
| Provider | Code | Key prefix | API keys page |
|
|
48
49
|
|---|---|---|---|
|
|
49
50
|
| OpenAI | `openai` | `sk-` | https://platform.openai.com/api-keys |
|
|
50
51
|
| Google Gemini | `gemini` | `AIza` | https://aistudio.google.com/apikey |
|
|
@@ -52,37 +53,46 @@ npm update -g @bitefoundry/rtt
|
|
|
52
53
|
| OpenRouter | `openrouter` | `sk-or-` | https://openrouter.ai/keys |
|
|
53
54
|
| Groq | `groq` | `gsk_` | https://console.groq.com/keys |
|
|
54
55
|
| NVIDIA | `nvidia` | `nvapi-` | https://build.nvidia.com |
|
|
55
|
-
|
|
|
56
|
+
| Custom | `custom` | - | Any OpenAI-compatible `https://` base URL |
|
|
56
57
|
|
|
57
|
-
##
|
|
58
|
+
## Languages
|
|
58
59
|
|
|
59
|
-
|
|
60
|
-
|---|---|
|
|
61
|
-
| `Tab` | 탭 전환 (실시간, 세션, 재생, 설정) |
|
|
62
|
-
| `Enter` / `Space` / `r` | 최근 문장에 대한 답변 추천 요청 |
|
|
63
|
-
| `Ctrl+Alt+R` | 전역 단축키로 답변 추천 요청 (`config.json`의 `hotkey`로 변경 가능) |
|
|
64
|
-
| `1`, `2`, `3` | 추천 답변 복사 |
|
|
65
|
-
| `F2` | 녹음 시작/중지 |
|
|
66
|
-
| `F3` | 동작 모드 전환 (번역 / 받아 적기 / 녹음만) |
|
|
67
|
-
| `F9` | 마이크 모드 전환 (끔 / 녹음 / 받아 적기) |
|
|
68
|
-
| `F10` | 듣는 언어 및 번역 언어 선택 |
|
|
69
|
-
| `Ctrl+L` | 실시간 화면 비우기 |
|
|
70
|
-
| `↑` / `↓` / `PgUp` / `PgDn` / `End` | 기록 스크롤 및 최신 위치로 복귀 |
|
|
71
|
-
| `q` / `Ctrl+C` | 종료 |
|
|
72
|
-
|
|
73
|
-
## 데이터가 저장되는 곳
|
|
74
|
-
|
|
75
|
-
- 설정, 일별 사용량, 자막 기록, 로그: `%LOCALAPPDATA%\RTT` (`config.json`, `tui.json`, `usage.json`, `history\`, `rtt.log`)
|
|
76
|
-
- 녹음 세션과 오디오·전사 파일: `문서\RTT` (설정으로 변경 가능)
|
|
77
|
-
- API 키: Windows 자격 증명 관리자 일반 자격 증명 `RTT/api-key` (`config.json`이나 로그에 키를 저장하지 않습니다)
|
|
60
|
+
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.
|
|
78
61
|
|
|
79
|
-
##
|
|
62
|
+
## Key bindings
|
|
80
63
|
|
|
81
|
-
|
|
82
|
-
|
|
64
|
+
| Key | Action |
|
|
65
|
+
|---|---|
|
|
66
|
+
| `Tab` | Switch tabs (`Live`, `Sessions`, `Playback`, `Settings`) |
|
|
67
|
+
| `Enter` / `Space` / `r` | Request reply suggestions for recent captions |
|
|
68
|
+
| `Ctrl+Alt+R` | Global hotkey for reply suggestions (change via `hotkey` in `config.json`) |
|
|
69
|
+
| `1`, `2`, `3` | Copy a suggested reply |
|
|
70
|
+
| `Esc` | Close the reply panel or active overlay |
|
|
71
|
+
| `F2` | Start or stop recording |
|
|
72
|
+
| `F3` | Switch mode (`Translate` / `Transcribe` / `Record only`) |
|
|
73
|
+
| `F9` | Switch mic mode (`Mic off` / `Mic record` / `Mic transcribe`) |
|
|
74
|
+
| `F10` | Open the language panel (`Caption language` and `Translate to`) |
|
|
75
|
+
| `Ctrl+L` | Clear the `Live` screen |
|
|
76
|
+
| `↑` / `↓` / `PgUp` / `PgDn` / `End` | Scroll history and return to the latest line |
|
|
77
|
+
| `q` / `Ctrl+C` | Quit |
|
|
78
|
+
|
|
79
|
+
## Data locations
|
|
80
|
+
|
|
81
|
+
- Settings, daily usage, caption history, and logs: `%LOCALAPPDATA%\RTT` (`config.json`, `tui.json`, `usage.json`, `history\`, `rtt.log`)
|
|
82
|
+
- Recorded sessions, audio files, and transcripts: `Documents\RTT` (configurable in `tui.json`)
|
|
83
|
+
- API key: Windows Credential Manager generic credential `RTT/api-key` (never saved in `config.json` or logs)
|
|
84
|
+
|
|
85
|
+
## Uninstalling
|
|
86
|
+
|
|
87
|
+
1. Run `rtt`, open the `Settings` tab, select `Key`, and press `Del` twice to remove the saved key from Windows Credential Manager.
|
|
88
|
+
2. Uninstall the global package:
|
|
83
89
|
|
|
84
90
|
```powershell
|
|
85
91
|
npm uninstall -g @bitefoundry/rtt
|
|
86
92
|
```
|
|
87
93
|
|
|
88
|
-
|
|
94
|
+
If you want to remove local data as well, delete `%LOCALAPPDATA%\RTT` and `Documents\RTT`.
|
|
95
|
+
|
|
96
|
+
## License
|
|
97
|
+
|
|
98
|
+
MIT
|
package/bin/rtt.exe
CHANGED
|
Binary file
|