voicci 1.0.1 → 1.0.3

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 -16
  2. package/cli/index.js +5 -1
  3. package/package.json +9 -3
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
- # 🎧 Voicci CLI - AI Audiobook Generator
1
+ # 🎧 Voicci - AI-Powered Audiobook Generator
2
2
 
3
- Command-line tool to transform books, papers, and documents into high-quality audiobooks using XTTS v2 AI.
3
+ Transform books and PDFs into audiobooks using natural language with Claude Code, OpenCode, or any AI code editor.
4
+
5
+ **Designed for AI Assistants** - Just tell your AI what book you want, and it handles the search, download, conversion, and summarization automatically.
4
6
 
5
7
  ## Features
6
8
 
@@ -19,34 +21,69 @@ Command-line tool to transform books, papers, and documents into high-quality au
19
21
  - **🍎 Apple Silicon** - Optimized for Metal acceleration (M1/M2/M3)
20
22
  - **🔒 100% Local** - No cloud, no tracking, no data collection
21
23
 
22
- ## Installation
24
+ ## Quick Start
23
25
 
24
- ### One-Line Install
26
+ ### Installation
25
27
 
26
28
  ```bash
27
- curl -fsSL https://voicci.com/voicci-cli/install.sh | bash
29
+ npm install -g voicci
30
+ ```
31
+
32
+ That's it! The package installs both the CLI tool and Claude Code skill automatically.
33
+
34
+ ### Usage with AI Code Editors
35
+
36
+ #### Claude Code (Recommended)
28
37
  ```
38
+ /voicci Lord of the Rings
39
+ /voicci search "neural networks book"
40
+ /voicci summary mybook.pdf
41
+ ```
42
+
43
+ Claude AI will:
44
+ - Search for books intelligently
45
+ - Handle ambiguity and pick the best match
46
+ - Monitor conversion progress
47
+ - Troubleshoot errors automatically
48
+ - Guide you through summarization
49
+
50
+ #### OpenCode
51
+ ```
52
+ Find and convert "Attention Is All You Need" paper to audiobook
53
+ ```
54
+
55
+ OpenCode will understand your intent and run the appropriate `voicci` commands.
29
56
 
30
- ### Manual Install
57
+ #### Cursor / Windsurf / Other AI Editors
31
58
 
59
+ Simply tell your AI assistant what you want in natural language:
60
+ - "Convert this PDF to an audiobook"
61
+ - "Find me a book about machine learning and turn it into audio"
62
+ - "Summarize this paper for me"
63
+
64
+ The AI will intelligently use the `voicci` CLI commands to accomplish the task.
65
+
66
+ ## Advanced Installation
67
+
68
+ ### Alternative Install Methods
69
+
70
+ **One-Line Install Script:**
71
+ ```bash
72
+ curl -fsSL https://voicci.com/voicci-cli/install.sh | bash
73
+ ```
74
+
75
+ **Manual Install from Source:**
32
76
  ```bash
33
- # Clone or download
34
77
  git clone https://github.com/voicci/voicci-cli.git
35
78
  cd voicci-cli
36
-
37
- # Install dependencies
38
79
  npm install
39
80
  pip3 install TTS torch torchaudio
40
-
41
- # Install globally
42
81
  npm link
43
-
44
- # Or run directly
45
- chmod +x cli/index.js
46
- ./cli/index.js --help
47
82
  ```
48
83
 
49
- ## Usage
84
+ ## CLI Reference (For Advanced Users)
85
+
86
+ These commands are typically run by your AI assistant, but you can also use them directly:
50
87
 
51
88
  ### Convert by Book Name (Recommended)
52
89
 
package/cli/index.js CHANGED
@@ -13,6 +13,10 @@ import Queue from '../lib/queue.js';
13
13
  import pathValidator from '../lib/path-validator.js';
14
14
  import { exec, execFile } from 'child_process';
15
15
  import { promisify } from 'util';
16
+ import { createRequire } from 'module';
17
+
18
+ const require = createRequire(import.meta.url);
19
+ const pkg = require('../package.json');
16
20
 
17
21
  const execAsync = promisify(exec);
18
22
  const execFileAsync = promisify(execFile);
@@ -22,7 +26,7 @@ const program = new Command();
22
26
  program
23
27
  .name('voicci')
24
28
  .description('AI Audiobook Generator using XTTS v2')
25
- .version('1.0.0');
29
+ .version(pkg.version);
26
30
 
27
31
  program
28
32
  .argument('[input]', 'PDF/TXT file or book/paper name to convert')
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "voicci",
3
- "version": "1.0.1",
4
- "description": "Voicci CLI - AI Audiobook Generator and Text Summarizer using XTTS v2",
3
+ "version": "1.0.3",
4
+ "description": "AI-Powered Audiobook Generator for Claude Code, OpenCode & AI Code Editors. Convert books and PDFs to audiobooks using natural language.",
5
5
  "type": "module",
6
6
  "main": "cli/index.js",
7
7
  "bin": {
@@ -27,7 +27,13 @@
27
27
  "claude-code",
28
28
  "claude-skill",
29
29
  "claude",
30
- "anthropic"
30
+ "anthropic",
31
+ "opencode",
32
+ "cursor",
33
+ "windsurf",
34
+ "ai-agent",
35
+ "coding-agent",
36
+ "ai-code-editor"
31
37
  ],
32
38
  "author": "Voicci",
33
39
  "license": "MIT",