Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,17 @@ AMAZON_EMAIL=
AMAZON_PASSWORD=
ASIN=

# Option 1: Using OpenAI (default)
AI_PROVIDER=openai
OPENAI_API_KEY=

# Option 2: Using Ollama (Local/Self-hosted)
# Uncomment these lines and comment out OPENAI_API_KEY to use Ollama
# AI_PROVIDER=ollama
# OLLAMA_BASE_URL=http://localhost:11434
# OLLAMA_VISION_MODEL=qwen2.5vl:7b # For vision/OCR tasks
# OLLAMA_MODEL=llama3.2 # For text cleaning tasks
# OLLAMA_CONCURRENCY=16

# Option 3: Using Tesseract.js OCR (free, local, no API needed)
# OCR_CONCURRENCY=4 # Number of parallel workers (default: 4)
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@inquirer/prompts": "^7.0.0",
"dotenv": "^17.2.3",
"fluent-ffmpeg": "^2.1.3",
"globby": "^14.0.2",
"hash-object": "^5.0.1",
"hh-mm-ss": "^1.2.0",
"ky": "^1.12.0",
Expand All @@ -39,6 +40,7 @@
"sharp": "^0.34.4",
"tar": "^7.5.1",
"tempy": "^3.1.0",
"tesseract.js": "^5.1.1",
"type-fest": "^5.1.0",
"unrealspeech-api": "^1.0.2"
},
Expand Down
101 changes: 101 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ onlyBuiltDependencies:
- esbuild
- sharp
- simple-git-hooks
- tesseract.js
- unrealspeech-api

packageManagerStrict: false
Loading