xevol 0.11.26 → 0.12.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 +35 -12
  2. package/dist/index.js +211 -198
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # xevol
2
2
 
3
- **Transcribe, analyze, and explore YouTube content from your terminal.**
3
+ **Transcribe, analyze, and explore YouTube and web content from your terminal.**
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/xevol)](https://www.npmjs.com/package/xevol)
6
6
  [![License](https://img.shields.io/badge/license-proprietary-blue)](https://xevol.com)
7
7
  [![Node](https://img.shields.io/badge/node-%3E%3D18-brightgreen)](https://nodejs.org)
8
8
 
9
- Paste a YouTube URL, get AI-powered transcription and analysis — no API keys, no local GPU, no tool chaining.
9
+ Paste a YouTube or web URL, get AI-powered transcription and analysis — no API keys, no local GPU, no tool chaining.
10
10
 
11
11
  ## Quick Demo
12
12
 
@@ -51,8 +51,10 @@ Requires Node.js 18+.
51
51
  # 1. Authenticate
52
52
  xevol login
53
53
 
54
- # 2. Add a YouTube video (waits for completion by default)
54
+ # 2. Add a YouTube video or web page (waits for completion by default)
55
55
  xevol add "https://youtube.com/watch?v=abc123"
56
+ # or
57
+ xevol add "https://example.com/article"
56
58
 
57
59
  # 3. Analyze it
58
60
  xevol analyze <id> --prompt facts
@@ -68,12 +70,12 @@ xevol view <id>
68
70
  | `login` | Authenticate via device flow (opens browser) |
69
71
  | `logout` | Clear stored credentials |
70
72
  | `whoami` | Show current user, plan, and usage |
71
- | `add` | Add a YouTube URL for transcription |
73
+ | `add` | Add a URL (YouTube or website) for processing |
72
74
  | `list` | List your transcriptions |
73
75
  | `locations` | List your Xevol Coordinates location history |
74
76
  | `view` | View a transcription summary or full transcript |
75
77
  | `analyze` | Generate AI analysis using a prompt |
76
- | `prompts` | List available analysis prompts |
78
+ | `prompts` | Manage prompts (list/create/update/delete) |
77
79
  | `stream` | Stream analysis output via SSE |
78
80
  | `resume` | Resume a previous streaming session |
79
81
  | `config` | View or edit CLI configuration |
@@ -99,19 +101,22 @@ export XEVOL_TOKEN=<token>
99
101
 
100
102
  ### `xevol add`
101
103
 
102
- Add a YouTube video for transcription.
104
+ Add a URL (YouTube or website) for processing.
103
105
 
104
106
  ```bash
105
- # Add and wait for transcription (default)
107
+ # Add and wait for processing (default)
106
108
  xevol add "https://youtube.com/watch?v=abc123"
107
109
 
110
+ # Add a web page
111
+ xevol add "https://example.com/article"
112
+
108
113
  # Fire-and-forget (returns ID immediately)
109
114
  xevol add "https://youtube.com/watch?v=abc123" --no-wait
110
115
 
111
116
  # Specify language
112
117
  xevol add "https://youtube.com/watch?v=abc123" --lang de
113
118
 
114
- # Transcribe and analyze in one step
119
+ # Process and analyze in one step
115
120
  xevol add "https://youtube.com/watch?v=abc123" --analyze facts
116
121
 
117
122
  # Analyze with multiple prompts
@@ -125,7 +130,7 @@ xevol add "https://youtube.com/watch?v=abc123" --analyze facts --stream
125
130
  | --------------------- | ----------------------------------------------------- |
126
131
  | `--no-wait` | Return immediately without waiting |
127
132
  | `--lang <code>` | Language code (e.g. `en`, `de`, `ja`) |
128
- | `--analyze <prompts>` | Comma-separated prompt IDs to run after transcription |
133
+ | `--analyze <prompts>` | Comma-separated prompt IDs to run after processing |
129
134
  | `--stream` | Stream analysis output via SSE |
130
135
  | `--json` | JSON output |
131
136
 
@@ -237,12 +242,30 @@ Use `xevol prompts` to see all available prompts.
237
242
 
238
243
  ### `xevol prompts`
239
244
 
240
- List available analysis prompts.
245
+ Manage prompts (list/create/update/delete).
241
246
 
242
247
  ```bash
248
+ # List prompts
243
249
  xevol prompts
244
- xevol prompts --json
245
- xevol prompts --csv
250
+ xevol prompts list --json
251
+ xevol prompts list --csv
252
+
253
+ # View a prompt
254
+ xevol prompts get <prompt-id>
255
+
256
+ # Create a prompt
257
+ xevol prompts create --name "Summary" --text "Summarize this transcript"
258
+ xevol prompts create --name "Ideas" --file prompt.md
259
+ cat prompt.md | xevol prompts create --name "Ideas"
260
+
261
+ # Update a prompt
262
+ xevol prompts update <prompt-id> --name "New name"
263
+ xevol prompts update <prompt-id> --text "Rewrite this prompt"
264
+ xevol prompts update <prompt-id> --file prompt.md
265
+ xevol prompts update <prompt-id> --editor
266
+
267
+ # Delete a prompt
268
+ xevol prompts delete <prompt-id>
246
269
  ```
247
270
 
248
271
  ### `xevol stream`