@bitefoundry/rtt 0.0.0-stage → 0.3.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 BiteFoundry
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,88 @@
1
- # Temporary Holding Version
1
+ # RTT
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Windows 라이브 캡션의 음성을 터미널에서 실시간으로 받아 적고, 번역하고, 답변을 추천하는 도구입니다.
4
+
5
+ ## 필요한 것
6
+
7
+ - Windows 11 22H2 이상 (라이브 캡션 기능 포함; 라이브 캡션이 없는 환경에서는 녹음과 재생만 사용할 수 있습니다)
8
+ - Node.js 18 이상 (설치와 업데이트에만 쓰이며, `rtt`를 실행할 때는 `rtt.exe`가 바로 실행됩니다)
9
+ - 지원하는 LLM API 키 (선택: 키 없이도 받아 적기와 녹음·재생은 사용할 수 있습니다)
10
+
11
+ ## 처음 쓰는 법
12
+
13
+ 1. 전역 패키지를 설치합니다.
14
+
15
+ ```powershell
16
+ npm i -g @bitefoundry/rtt
17
+ ```
18
+
19
+ 2. 터미널에서 `rtt`를 실행합니다.
20
+
21
+ ```powershell
22
+ rtt
23
+ ```
24
+
25
+ 3. 라이브 캡션을 처음 쓰는 Windows 계정이면 화면에 라이브 캡션 창이 열립니다. 창에서 동의하고 음성 인식 파일 다운로드가 끝나면 자동으로 다음 단계로 이어집니다.
26
+ 4. API 키 입력 화면이 나오면 보유한 API 키를 붙여 넣고 `Enter`를 누릅니다. 키 접두사로 공급자를 자동으로 판별하고 사용 가능한 대화 모델 목록을 불러옵니다.
27
+ 5. 목록에서 번역에 쓸 모델을 고르고 `Enter`를 누르면 짧은 시험 호출 뒤 저장되고 실시간 화면으로 들어갑니다. 키 없이 시작하려면 `Esc`를 누릅니다.
28
+
29
+ 버전 확인:
30
+
31
+ ```powershell
32
+ rtt --version
33
+ ```
34
+
35
+ ## 업데이트
36
+
37
+ 실행 중인 `rtt`가 있으면 먼저 닫은 뒤 업데이트하세요(실행 중인 `rtt.exe`는 Windows가 잠급니다).
38
+
39
+ ```powershell
40
+ npm update -g @bitefoundry/rtt
41
+ ```
42
+
43
+ ## 지원 공급자
44
+
45
+ 모든 대화 호출은 OpenAI 호환 Chat Completions 형식으로 동작합니다.
46
+
47
+ | 공급자 | 코드 | 키 접두사 | 키 발급 페이지 |
48
+ |---|---|---|---|
49
+ | OpenAI | `openai` | `sk-` | https://platform.openai.com/api-keys |
50
+ | Google Gemini | `gemini` | `AIza` | https://aistudio.google.com/apikey |
51
+ | Anthropic | `anthropic` | `sk-ant-` | https://platform.claude.com/settings/keys |
52
+ | OpenRouter | `openrouter` | `sk-or-` | https://openrouter.ai/keys |
53
+ | Groq | `groq` | `gsk_` | https://console.groq.com/keys |
54
+ | NVIDIA | `nvidia` | `nvapi-` | https://build.nvidia.com |
55
+ | 직접 입력 | `custom` | - | OpenAI 호환 `https://` 주소 직접 입력 |
56
+
57
+ ## 주요 키
58
+
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`이나 로그에 키를 저장하지 않습니다)
78
+
79
+ ## 지우는 법
80
+
81
+ 1. `rtt`를 실행해 설정 탭의 키 줄에서 `Del`을 두 번 눌러 Windows 자격 증명 관리자에 저장된 키를 지웁니다.
82
+ 2. 패키지를 제거합니다.
83
+
84
+ ```powershell
85
+ npm uninstall -g @bitefoundry/rtt
86
+ ```
87
+
88
+ 필요하면 `%LOCALAPPDATA%\RTT`와 `문서\RTT` 폴더도 직접 삭제합니다.
package/bin/rtt.exe ADDED
Binary file
package/package.json CHANGED
@@ -1,6 +1,27 @@
1
1
  {
2
2
  "name": "@bitefoundry/rtt",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.3.1",
4
+ "description": "Real-time captions, translation and reply suggestions for Windows Live Captions (terminal app)",
5
+ "license": "MIT",
6
+ "os": [
7
+ "win32"
8
+ ],
9
+ "cpu": [
10
+ "x64"
11
+ ],
12
+ "bin": {
13
+ "rtt": "bin/rtt.exe"
14
+ },
15
+ "files": [
16
+ "bin/rtt.exe",
17
+ "README.md",
18
+ "LICENSE"
19
+ ],
20
+ "engines": {
21
+ "node": ">=18"
22
+ },
23
+ "scripts": {
24
+ "sync-version": "node scripts/sync-version.mjs",
25
+ "build:npm": "node scripts/build-npm.mjs"
26
+ }
27
+ }