glance-cli 0.8.7 β†’ 0.8.8

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/CHANGELOG.md CHANGED
@@ -5,6 +5,27 @@ All notable changes to glance-cli will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.8.8] - 2026-01-02
9
+
10
+ ### Fixed
11
+ - **Voice System Improvements**: Fixed voice listing to show only working voices with proper language mapping
12
+ - **Text Cleaner Optimization**: Made text cleaning less aggressive to prevent legitimate content removal
13
+ - **Cache System**: Resolved overly aggressive cleaning of cache-related terms and content
14
+ - **--prefer-quality Flag**: Fixed issue where flag wasn't affecting automatic model selection
15
+ - **Voice Validation**: Improved voice name/ID validation and error messages
16
+
17
+ ### Improved
18
+ - **Voice Listing**: Clean, organized display by language (πŸ‡ΊπŸ‡Έ English, πŸ‡«πŸ‡· French, πŸ‡ͺπŸ‡Έ Spanish, πŸ‡­πŸ‡Ή Haitian Creole)
19
+ - **Error Messages**: More specific and helpful voice synthesis error messages
20
+ - **Text Processing**: Smarter cleaning that preserves paragraph structure and legitimate content
21
+ - **Model Selection**: --prefer-quality now correctly prioritizes OpenAI/Gemini over Ollama
22
+
23
+ ### Technical Details
24
+ - Enhanced voice mapping system to show only available voices in user's ElevenLabs account
25
+ - Refined binary artifact detection to avoid false positives from ANSI color codes
26
+ - Improved cache system stability with better error handling
27
+ - More conservative text cleaning patterns to preserve legitimate content
28
+
8
29
  ## [0.8.7] - 2026-01-02
9
30
 
10
31
  ### Fixed
package/README.md CHANGED
@@ -118,6 +118,15 @@ glance https://article.com --audio-output summary.mp3
118
118
 
119
119
  # Read aloud immediately
120
120
  glance https://blog.com --read
121
+
122
+ # Use specific voice
123
+ glance https://news.com --voice nova --read
124
+
125
+ # French content with French voice
126
+ glance https://lemonde.fr --voice antoine -l fr --read
127
+
128
+ # Spanish content with Spanish voice
129
+ glance https://elpais.com --voice isabella -l es --read
121
130
  ```
122
131
 
123
132
  ### Advanced Features
@@ -216,6 +225,36 @@ glance https://api-docs.com --ask "How do I authenticate?" --format plain
216
225
 
217
226
  ---
218
227
 
228
+ ## 🎀 Voice & Language Support
229
+
230
+ Glance supports **multi-language voice synthesis** with ElevenLabs integration:
231
+
232
+ ```bash
233
+ # List available voices by language
234
+ glance --list-voices
235
+
236
+ # English voices (default)
237
+ glance https://news.com --voice nova --read # Energetic
238
+ glance https://docs.com --voice onyx --read # Deep, authoritative
239
+
240
+ # French voices
241
+ glance https://lemonde.fr --voice antoine -l fr --read
242
+
243
+ # Spanish voices
244
+ glance https://elpais.com --voice isabella -l es --read
245
+
246
+ # Haitian Creole support
247
+ glance https://example.ht --voice nova -l ht --read
248
+ ```
249
+
250
+ **Voice Quality Levels:**
251
+ - **Free**: System TTS (macOS Say, Windows SAPI, Linux espeak)
252
+ - **Premium**: ElevenLabs voices with natural pronunciation (requires API key)
253
+
254
+ Set `ELEVENLABS_API_KEY` environment variable for premium voices.
255
+
256
+ ---
257
+
219
258
  ## πŸ“š All Options
220
259
 
221
260
  ```bash
@@ -243,8 +282,9 @@ glance <url> --ask "question" # Custom Q&A
243
282
  # Voice/Audio
244
283
  --read, --speak # Read aloud (text-to-speech)
245
284
  --audio-output <file> # Save as MP3
246
- --voice <name> # Choose voice (alloy, echo, nova, etc.)
247
- --list-voices # Show available voices
285
+ --voice <name> # Choose voice (nova, onyx, antoine, etc.)
286
+ --list-voices # Show available voices by language
287
+ -l, --language <code> # Language for voice selection (en, fr, es, ht)
248
288
 
249
289
  # Advanced
250
290
  --screenshot <file> # Capture screenshot