Skip to content

Commit 5b32fc0

Browse files
authored
Merge pull request #33 from Shishir435/feat/content-extraction-and-tts-enhancements
Feat/content extraction and tts enhancements
2 parents 85fe980 + d5c5c15 commit 5b32fc0

File tree

110 files changed

+5266
-1255
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+5266
-1255
lines changed

.prettierignore

Lines changed: 0 additions & 20 deletions
This file was deleted.

.prettierrc.mjs

Lines changed: 0 additions & 43 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,49 @@
11
{
22
"editor.formatOnSave": true,
3-
"editor.defaultFormatter": "esbenp.prettier-vscode",
3+
"editor.defaultFormatter": "biomejs.biome",
44
"[javascript]": {
5-
"editor.defaultFormatter": "esbenp.prettier-vscode"
5+
"editor.defaultFormatter": "biomejs.biome",
6+
"editor.codeActionsOnSave": {
7+
"source.fixAll.biome": "explicit"
8+
}
69
},
710
"[typescript]": {
8-
"editor.defaultFormatter": "esbenp.prettier-vscode"
11+
"editor.defaultFormatter": "biomejs.biome",
12+
"editor.codeActionsOnSave": {
13+
"source.fixAll.biome": "explicit"
14+
}
915
},
1016
"[javascriptreact]": {
11-
"editor.defaultFormatter": "esbenp.prettier-vscode"
17+
"editor.defaultFormatter": "biomejs.biome",
18+
"editor.codeActionsOnSave": {
19+
"source.fixAll.biome": "explicit"
20+
}
1221
},
1322
"[typescriptreact]": {
14-
"editor.defaultFormatter": "esbenp.prettier-vscode"
23+
"editor.defaultFormatter": "biomejs.biome",
24+
"editor.codeActionsOnSave": {
25+
"source.fixAll.biome": "explicit"
26+
}
27+
},
28+
"[json]": {
29+
"editor.defaultFormatter": "biomejs.biome",
30+
"editor.codeActionsOnSave": {
31+
"source.fixAll.biome": "explicit"
32+
}
33+
},
34+
"[jsonc]": {
35+
"editor.defaultFormatter": "biomejs.biome",
36+
"editor.codeActionsOnSave": {
37+
"source.fixAll.biome": "explicit"
38+
}
39+
},
40+
"[css]": {
41+
"editor.defaultFormatter": "biomejs.biome",
42+
"editor.codeActionsOnSave": {
43+
"source.fixAll.biome": "explicit"
44+
}
1545
},
16-
"prettier.configPath": "./.prettierrc.mjs",
1746
"typescript.preferences.importModuleSpecifier": "non-relative",
1847
"javascript.preferences.importModuleSpecifier": "non-relative",
19-
"typescript.preferences.autoImportFileExcludePatterns": [
20-
"@radix-ui/react-*"
21-
]
22-
}
48+
"typescript.preferences.autoImportFileExcludePatterns": ["@radix-ui/react-*"]
49+
}

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@
6161
- 📦 **Model Version Display** – View and compare model versions easily
6262

6363
- 🎛️ **Tune Parameters** – Temperature, top_k, top_p, repeat penalty, stop sequences
64-
- 🧠 **Transcript & Page Summarization** – Works with YouTube, Udemy, Coursera & web articles
65-
- 🔊 **TTS** – Built-in Text-to-Speech via Web Speech API
64+
- 🧠 **Enhanced Content Extraction** – Smart extraction with lazy loading support, site-specific overrides, Defuddle integration, and automated YouTube transcript extraction
65+
- 📄 **Site-Specific Overrides** – Configure extraction settings per domain (scroll strategies, delays, timeouts)
66+
- 🔊 **Advanced Text-to-Speech** – Searchable voice selector, adjustable speech rate & pitch, cross-browser compatibility, and voice testing
6667
- 🗂️ **Multi-Chat Sessions** – Save/load/delete local chats
6768
- 📤 Export Chat Sessions – Export single or all chat sessions as **PDF** or **JSON**
6869
- 📥 Import Chat Sessions – Import single or multiple chat sessions from JSON files
@@ -78,8 +79,11 @@
7879
- React + Vite
7980
- Plasmo (for Chrome extension boilerplate)
8081
- Shadcn UI
82+
- Biome (formatter & linter)
8183
- Ollama (local LLM backend)
8284
- Chrome Extension APIs (`declarativeNetRequest`, `storage`, `sidePanel`)
85+
- Defuddle (content extraction)
86+
- Mozilla Readability (content extraction)
8387

8488
---
8589

@@ -317,7 +321,11 @@ Here’s what’s coming up next in **Ollama Client**—grouped by priority:
317321

318322
- [x] Migrate state management to **Zustand** for cleaner logic and global state control
319323
- [x] Add **Export / Import Chat History** (JSON, txt or PDF format)
320-
- [x] Add **Reset App Data** button (“Reset All”) under **Options → Reset** (clears IndexedDB + localStorage)
324+
- [x] Add **Reset App Data** button ("Reset All") under **Options → Reset** (clears IndexedDB + localStorage)
325+
- [x] **Enhanced Content Extraction** – Phase 1 implementation with lazy loading support, site-specific overrides, and Defuddle integration
326+
- [x] **Advanced Text-to-Speech** – Searchable voice selector with rate/pitch controls and cross-browser compatibility
327+
- [x] **Automated YouTube Transcript Extraction** – Automatic button clicking for transcript access
328+
- [x] **GitHub Content Extraction** – Special handling for repository and profile pages
321329

322330
### Embeddings & Semantic Search
323331

biome.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/2.3.2/schema.json",
3+
"vcs": {
4+
"enabled": true,
5+
"clientKind": "git",
6+
"useIgnoreFile": true
7+
},
8+
"files": {
9+
"ignoreUnknown": false,
10+
"includes": ["**", "!docs", "!tools", "!src/globals.css"]
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "space",
15+
"indentWidth": 2,
16+
"lineWidth": 80,
17+
"lineEnding": "lf"
18+
},
19+
"linter": {
20+
"enabled": true,
21+
"rules": {
22+
"recommended": true
23+
}
24+
},
25+
"javascript": {
26+
"formatter": {
27+
"quoteStyle": "double",
28+
"trailingCommas": "none",
29+
"semicolons": "asNeeded",
30+
"bracketSpacing": true,
31+
"bracketSameLine": true,
32+
"quoteProperties": "asNeeded",
33+
"arrowParentheses": "always"
34+
}
35+
}
36+
}

components.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
"hooks": "@/hooks"
1919
},
2020
"iconLibrary": "lucide"
21-
}
21+
}

0 commit comments

Comments
 (0)