Skip to content

v1.6.0

Choose a tag to compare

@redf0x1 redf0x1 released this 27 Feb 11:55
· 160 commits to main since this release

What's New in v1.6.0

YouTube Transcript Extraction

  • POST /youtube/transcript — extract transcripts from YouTube videos
  • yt-dlp primary engine with browser fallback
  • Multi-language support, automatic subtitle parsing
  • Dockerfile includes yt-dlp (pinned v2025.02.19)

Snapshot Truncation & Pagination

  • Large pages automatically truncated at 80K chars (configurable via CAMOFOX_MAX_SNAPSHOT_CHARS)
  • Offset-based pagination for navigating through large snapshots
  • Tail preservation ensures end-of-page content is always visible

Browser Health Tracking

  • GET /health returns 503 during recovery with consecutiveFailures and activeOps
  • Configurable failure threshold and health probe interval
  • Build refs timeout (12s) and tab lock timeout (30s)

Click & Navigation Improvements

  • refsAvailable flag in navigate and click responses
  • Auto-refresh stale refs when refs.size === 0
  • Case-insensitive click timeout detection
  • Plugin tools: camofox_go_back, camofox_go_forward, camofox_refresh

New Environment Variables

Variable Default
CAMOFOX_MAX_SNAPSHOT_CHARS 80000
CAMOFOX_SNAPSHOT_TAIL_CHARS 5000
CAMOFOX_BUILDREFS_TIMEOUT_MS 12000
CAMOFOX_TAB_LOCK_TIMEOUT_MS 30000
CAMOFOX_HEALTH_PROBE_INTERVAL_MS 60000
CAMOFOX_FAILURE_THRESHOLD 3
CAMOFOX_YT_DLP_TIMEOUT_MS 30000
CAMOFOX_YT_BROWSER_TIMEOUT_MS 25000

Install

npm install camofox-browser@1.6.0

Full Changelog: https://github.com/redf0x1/camofox-browser/blob/main/CHANGELOG.md