@tacone/prosey 0.3.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 +21 -27
- package/bin/prosey +16894 -15398
- package/package.json +2 -1
- package/src/html.test.ts +25 -0
- package/src/html.ts +142 -0
- package/src/index.ts +42 -6
package/README.md
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
<p align="center">
|
|
2
2
|
<img src="assets/prosey-logo.svg" alt="Prosey logo" width="400"/>
|
|
3
|
-
<br>
|
|
4
|
-
<br>
|
|
5
3
|
</p>
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
<h1 align="center">Prosey</h1>
|
|
8
6
|
|
|
9
7
|
**Prosey** is a CLI tool to download and display video transcriptions from YouTube, so you can get the information you're looking for without wasting hours.
|
|
10
8
|
|
|
@@ -61,7 +59,7 @@ Then use it anywhere:
|
|
|
61
59
|
prosey 771PQEDeRmw
|
|
62
60
|
```
|
|
63
61
|
|
|
64
|
-
### From
|
|
62
|
+
### From Source
|
|
65
63
|
|
|
66
64
|
Uses **[Bun](https://bun.sh)** for development — scripts, package management,
|
|
67
65
|
and running the TypeScript source directly.
|
|
@@ -73,10 +71,6 @@ bun install
|
|
|
73
71
|
bun run start -- 771PQEDeRmw
|
|
74
72
|
```
|
|
75
73
|
|
|
76
|
-
### Prebuilt binary
|
|
77
|
-
|
|
78
|
-
Grab a compiled binary from the `dist/` directory (requires no runtime).
|
|
79
|
-
|
|
80
74
|
## Usage
|
|
81
75
|
|
|
82
76
|
```
|
|
@@ -107,35 +101,35 @@ The `help` command shows the help message, same as `--help`.
|
|
|
107
101
|
### Examples
|
|
108
102
|
|
|
109
103
|
```bash
|
|
110
|
-
#
|
|
104
|
+
# Summarize (AI summary + formatting + syntax highlighting)
|
|
111
105
|
prosey 771PQEDeRmw
|
|
112
106
|
|
|
113
|
-
#
|
|
114
|
-
prosey
|
|
107
|
+
# Summarize (same as above)
|
|
108
|
+
prosey summarize 771PQEDeRmw
|
|
115
109
|
|
|
116
|
-
#
|
|
117
|
-
prosey read
|
|
110
|
+
# Transcribe (AI summary + formatting + syntax highlighting)
|
|
111
|
+
prosey read 771PQEDeRmw
|
|
118
112
|
|
|
119
|
-
#
|
|
120
|
-
prosey
|
|
113
|
+
# Show video metadata
|
|
114
|
+
prosey info 771PQEDeRmw
|
|
121
115
|
|
|
122
|
-
#
|
|
123
|
-
prosey
|
|
116
|
+
# Edit config in $EDITOR
|
|
117
|
+
prosey config
|
|
124
118
|
|
|
125
|
-
#
|
|
126
|
-
prosey read 771PQEDeRmw --
|
|
119
|
+
# List available languages
|
|
120
|
+
prosey read https://youtu.be/771PQEDeRmw --list
|
|
127
121
|
|
|
128
|
-
#
|
|
129
|
-
prosey read 771PQEDeRmw --
|
|
122
|
+
# Specify language
|
|
123
|
+
prosey read https://youtu.be/771PQEDeRmw --lang es
|
|
130
124
|
|
|
131
|
-
#
|
|
132
|
-
prosey read 771PQEDeRmw
|
|
125
|
+
# Display JSON (no AI transcription)
|
|
126
|
+
prosey read 771PQEDeRmw
|
|
133
127
|
|
|
134
|
-
#
|
|
135
|
-
prosey
|
|
128
|
+
# Display plain text (no AI transcription)
|
|
129
|
+
prosey read 771PQEDeRmw
|
|
136
130
|
|
|
137
|
-
#
|
|
138
|
-
prosey
|
|
131
|
+
# Save transcript to file
|
|
132
|
+
prosey read 771PQEDeRmw -o transcript.txt
|
|
139
133
|
```
|
|
140
134
|
|
|
141
135
|
## Options
|