@bitefoundry/rtt 0.3.1 → 0.4.1

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.
Files changed (3) hide show
  1. package/README.md +53 -41
  2. package/bin/rtt.exe +0 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,50 +1,51 @@
1
1
  # RTT
2
2
 
3
- Windows 라이브 캡션의 음성을 터미널에서 실시간으로 받아 적고, 번역하고, 답변을 추천하는 도구입니다.
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 이상 (설치와 업데이트에만 쓰이며, `rtt`를 실행할 때는 `rtt.exe`가 바로 실행됩니다)
9
- - 지원하는 LLM API 키 (선택: 키 없이도 받아 적기와 녹음·재생은 사용할 수 있습니다)
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. 터미널에서 `rtt`를 실행합니다.
19
+ 2. Run `rtt` in a terminal:
20
20
 
21
21
  ```powershell
22
22
  rtt
23
23
  ```
24
24
 
25
- 3. 라이브 캡션을 처음 쓰는 Windows 계정이면 화면에 라이브 캡션 창이 열립니다. 창에서 동의하고 음성 인식 파일 다운로드가 끝나면 자동으로 다음 단계로 이어집니다.
26
- 4. API 키 입력 화면이 나오면 보유한 API 키를 붙여 넣고 `Enter`를 누릅니다. 키 접두사로 공급자를 자동으로 판별하고 사용 가능한 대화 모델 목록을 불러옵니다.
27
- 5. 목록에서 번역에 쓸 모델을 고르고 `Enter`를 누르면 짧은 시험 호출 뒤 저장되고 실시간 화면으로 들어갑니다. 키 없이 시작하려면 `Esc`를 누릅니다.
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
- 실행 중인 `rtt`가 있으면 먼저 닫은 뒤 업데이트하세요(실행 중인 `rtt.exe`는 Windows가 잠급니다).
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
- 모든 대화 호출은 OpenAI 호환 Chat Completions 형식으로 동작합니다.
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,48 @@ 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
- | 직접 입력 | `custom` | - | OpenAI 호환 `https://` 주소 직접 입력 |
56
+ | Custom | `custom` | - | Any OpenAI-compatible `https://` base URL |
56
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 } }`.
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
- ## 데이터가 저장되는 곳
60
+ ## Languages
74
61
 
75
- - 설정, 일별 사용량, 자막 기록, 로그: `%LOCALAPPDATA%\RTT` (`config.json`, `tui.json`, `usage.json`, `history\`, `rtt.log`)
76
- - 녹음 세션과 오디오·전사 파일: `문서\RTT` (설정으로 변경 가능)
77
- - API 키: Windows 자격 증명 관리자 일반 자격 증명 `RTT/api-key` (`config.json`이나 로그에 키를 저장하지 않습니다)
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.
78
63
 
79
- ## 지우는 법
64
+ ## Key bindings
80
65
 
81
- 1. `rtt`를 실행해 설정 탭의 키 줄에서 `Del`을 두 번 눌러 Windows 자격 증명 관리자에 저장된 키를 지웁니다.
82
- 2. 패키지를 제거합니다.
66
+ | Key | Action |
67
+ |---|---|
68
+ | `Tab` | Switch tabs (`Live`, `Sessions`, `Playback`, `Settings`) |
69
+ | `Enter` / `Space` / `r` | Request reply suggestions for recent captions |
70
+ | `Ctrl+Alt+R` | Global hotkey for reply suggestions (change via `hotkey` in `config.json`) |
71
+ | `1`, `2`, `3` | Copy a suggested reply |
72
+ | `Esc` | Close the reply panel or active overlay |
73
+ | `F2` | Start or stop recording |
74
+ | `F3` | Switch mode (`Translate` / `Transcribe` / `Record only`) |
75
+ | `F9` | Switch mic mode (`Mic off` / `Mic record` / `Mic transcribe`) |
76
+ | `F10` | Open the language panel (`Caption language` and `Translate to`) |
77
+ | `Ctrl+L` | Clear the `Live` screen |
78
+ | `↑` / `↓` / `PgUp` / `PgDn` / `End` | Scroll history and return to the latest line |
79
+ | `q` / `Ctrl+C` | Quit |
80
+
81
+ ## Data locations
82
+
83
+ - Settings, daily usage, caption history, and logs: `%LOCALAPPDATA%\RTT` (`config.json`, `tui.json`, `usage.json`, `history\`, `rtt.log`)
84
+ - Recorded sessions, audio files, and transcripts: `Documents\RTT` (configurable in `tui.json`)
85
+ - API key: Windows Credential Manager generic credential `RTT/api-key` (never saved in `config.json` or logs)
86
+
87
+ ## Uninstalling
88
+
89
+ 1. Run `rtt`, open the `Settings` tab, select `Key`, and press `Del` twice to remove the saved key from Windows Credential Manager.
90
+ 2. Uninstall the global package:
83
91
 
84
92
  ```powershell
85
93
  npm uninstall -g @bitefoundry/rtt
86
94
  ```
87
95
 
88
- 필요하면 `%LOCALAPPDATA%\RTT`와 `문서\RTT` 폴더도 직접 삭제합니다.
96
+ If you want to remove local data as well, delete `%LOCALAPPDATA%\RTT` and `Documents\RTT`.
97
+
98
+ ## License
99
+
100
+ MIT
package/bin/rtt.exe CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitefoundry/rtt",
3
- "version": "0.3.1",
3
+ "version": "0.4.1",
4
4
  "description": "Real-time captions, translation and reply suggestions for Windows Live Captions (terminal app)",
5
5
  "license": "MIT",
6
6
  "os": [