Skip to content

Releases

v1.5.2

Choose a tag to compare

@igect igect released this 25 Nov 11:49

Security & Fixes

  • Browser Cookie Isolation & Lazy Extraction:
    • Required non-empty targetDomain, path matching, secure attribute checks, and expiry filtering in parseNetscapeCookieContent so unrelated browser cookies are not sent to Instagram or cross-origin redirects.
    • Moved default {browser: 'auto'} extraction out of CLI startup so Instagram is not contacted before a login-wall recovery, extracted offline (--ignore-config), isolated cookie jars and yt-dlp probe info.json files inside 0o700 temp directories with 0o600 exclusive files, and enforced 0o700/0o600 permissions on config, history, and ledger paths.
  • Proxy Routing & Origin Allowlists:
    • Added HTTPS/HTTP CONNECT proxy helper (src/lib/proxy-fetch.ts) with manual redirect validation and cross-origin Cookie/Authorization stripping; forwarded --proxy across native Instagram, Bluesky, and cookie extraction flows while passing child proxy settings via environment variables instead of process argv.
    • Restricted Instagram Cookie transmission strictly to official Instagram HTTPS domains, tightened Bluesky CDN host suffix matching and ffmpeg protocol whitelists, and failed closed when proxying .m3u8 streams with unsupported proxy schemes.
  • Path, Template & Terminal Sanitization:
    • Enforced destination containment (assertContainedPath) and extension sanitization across yt-dlp, gallery-dl, Bluesky, Instagram, and batch downloads; escaped {/} in gallery-dl -f and % in yt-dlp -o.
    • Removed OPEN_OMNI_DIR binary lookup fallback in gallerydl.ts (OPEN_OMNI_BIN_DIR only), hardened --watch against multi-line inputs, loopback/private hosts, and generic URLs, and stripped C0/C1/ANSI terminal control sequences across UI/CLI outputs.
  • Updaters, Packaging & CI Hardening:
    • Added HTTPS host allowlists and optional SHA2-256SUMS verification to yt-dlp updates, strict codeberg.org host and version validation to gallery-dl updates, MSVC argument quoting to scripts/shim.cs, HTTPS/header hardening to install.sh and workers/installer.js, and YAML/semver validation plus scoped WINGET_TOKEN usage to release packaging workflows.

Full Changelog: v1.5.1...v1.5.2

v1.5.1

Choose a tag to compare

@igect igect released this 01 Nov 13:22

What's Changed

Universal Multi-Browser Cookie Extraction

  • XDG & Flatpak Discovery: Automatically resolves browser profiles across Linux XDG config directories (~/.config/mozilla/firefox), Flatpak sandboxes (org.mozilla.firefox, app.zen_browser.zen, one.ablaze.floorp, io.gitlab.librewolf-community, net.waterfox.waterfox), Snap packages, macOS, and Windows.
  • Active Profile Priority: Automatically sorts candidate browser profiles across engines by database mtime to target the active, running browser session.
  • Ephemeral Cookie Security: Restrictive 0o600 permissions on temporary Netscape cookie files exported to /tmp, with cleanup handlers on process exit.

HTTP 403 Forbidden & Auth Wall Recovery

  • Automatic Session Recovery: Transparently catches HTTP 403 Forbidden, 401 Unauthorized, login checkpoints, and bot verification challenges on Instagram, YouTube, and gallery-dl.
  • Dynamic Retry: Extracts cookies from the running browser on demand and retries media extraction automatically without requiring manual flags.

Codebase Audit Remediation

  • Bluesky HLS Streams: Falls back to PATH-based ffmpeg for transcoding HLS streams when custom location is omitted, preventing corrupted .m3u8 playlist text from being written directly to .mp4.
  • Complete Shell Completions: Added parity across Bash, Zsh, Fish, and PowerShell scripts for all modern CLI options.
  • Lifecycle Cleanup: Forwarded abort signals to background watcher downloads and safely unlinked probe temporary JSON files in /tmp.

Full Changelog: v1.5.0...v1.5.1

v1.5.0

Choose a tag to compare

@igect igect released this 23 Oct 01:49
v1.5.0
cca6974

What's Changed

Features & Capabilities

  • Background Clipboard Watcher Daemon (--watch / -w): Automatically polls clipboard for media URLs with LRU cache and ledger.json deduplication (ADR 0017).
  • Native Bluesky AT Protocol Resolver: Zero-dependency resolution of original images and HLS video playlists via public AT Protocol AppView endpoints (ADR 0018).

Architecture & Refactoring

  • App Component Decomposition: Decomposed monolithic Ink component down from 1,194 lines to 778 lines using custom React hooks (useSingleDownload, useBatchQueue, useEngineProbe).

Hardening & Fixes

  • Instagram Meta CDN Cookie Isolation: Protected cookie headers from leaking to static CDN media domains (*.cdninstagram.com, *.fbcdn.net).
  • Gallery-dl Output Parsing: Ignored directory metadata and queue redirects.
  • Portable Package Packaging: Included required runtime node modules in the standalone Windows distribution bundle.

Documentation & Shell Completions

  • Added shell autocompletions for --watch flag across bash, zsh, fish, and PowerShell.
  • Updated CLI docs and architecture decision records.

v1.4.1

Choose a tag to compare

@igect igect released this 29 Sep 13:43
v1.4.1
ba9f254

Release v1.4.1

v1.4.0

Choose a tag to compare

@igect igect released this 19 Sep 13:01
v1.4.0
c207217

Open Omni v1.4.0

  • One-key file manager reveal with [o] key
  • Proxy gateway and geo-bypass (--proxy, --geo-bypass, --geo-country)
  • Bandwidth governor (--limit-rate)
  • Automated SponsorBlock filtering (--sponsorblock)
  • Dual-engine orchestration with yt-dlp and gallery-dl

v1.3.0

Choose a tag to compare

@igect igect released this 17 Sep 12:41
v1.3.0
2eab166

Diff: v1.2.0...v1.3.0

Added

  • Audio & Video Format Cycling in TUI:
    • Added interactive hotkeys 'a' to cycle audio formats (mp3 -> opus -> aac -> wav -> flac) and 'v' to cycle video containers (mp4 -> mkv -> webm) directly on the quality picker screen.
    • Active audio and video formats dynamically update across all choices, recalculating container arguments and output templates in real-time.
  • CLI Format & Metadata Options:
    • Added --audio-format <fmt> (mp3, opus, aac, m4a, wav, flac) and --video-format <fmt> (mp4, mkv, webm) with persistence in ~/.config/open-omni/config.json.
    • Added --metadata and --chapters options for embedding artist, title, album, cover art, and chapter markers into media files via yt-dlp.
  • oo Launcher Alias & Multi-Alias Shell Completions (ADR 0007):
    • Added ultra-fast two-letter binary alias oo alongside open-omni, openomni, and omni.
    • Updated completion generator with multi-alias tab completions for Bash, Zsh, and Fish.

Fixed

  • Real-Time Playlist Batch Progress Bar Sync & 100% Clamping:
    • Fixed scale normalization in ProgressBar (0..1 and 0..100 scales), eliminating the bug where small percentage values (e.g. 6% or 2%) clamped to a 100% filled bar.
    • Overall playlist progress bar now syncs continuously in real-time with both in-flight download stream bytes and post-processing muxing states.
    • Added showPercent: false prop to prevent line-wrapping overflow in bordered panels.

Distribution & Assets

  • Standalone Windows x64: open-omni-windows-x64.zip
    • SHA256: df3b3ef6c0f797bc092e55870a9ee22bc0a58e33d03e0ac5bae6361cf08b292f
  • npm Package: open-omni@1.3.0
    • Tarball SHA256: 3da335863fd5b5a740f8eeeee09bc65835e5e64c6bfc48b400e83f4fad6315b5
  • Homebrew Formula: OpenSelena/tap/open-omni (v1.3.0)
  • WinGet Identifier: OpenSelena.OpenOmni (v1.3.0)

v1.2.0

Choose a tag to compare

@igect igect released this 12 Sep 19:13
440d158

Diff: v1.1.0...v1.2.0

Added

  • Download Ledger & Resumable Batches (ADR 0015):
    • Persistent download ledger tracking completed media downloads with file size, metadata, and disk verification.
    • Automatic deduplication with --skip-existing flag across single downloads and batch playlists.
    • Interactive playlist item picker marks already completed downloads directly in the TUI.
  • Time Range Section Slicing:
    • Added --time <range> parameter to download specific portions of videos (formats: MM:SS-MM:SS, HH:MM:SS-HH:MM:SS, or raw seconds) via yt-dlp --download-sections.
  • macOS Package Manager Delegation for gallery-dl (ADR 0016):
    • Added multi-tier fallback installation (brew install gallery-dl -> pip install gallery-dl) when upstream binaries are missing on macOS Darwin.
    • Interactive TTY confirmation prompt [Y/n] with non-interactive headless rejection guard.
  • CI Smoke Tests & Broad Test Suite:
    • Added cross-platform CLI smoke testing and native macos-latest GitHub Actions runner.
    • Added dedicated unit test suites for click-map, clipboard, format, history, and platforms (183 passing tests).

v1.1.0

Choose a tag to compare

@igect igect released this 11 Sep 09:57
v1.1.0
dc96c91

Diff: v1.0.0...v1.1.0

Added

  • Universal Zero-Config Browser Detection (--cookies-from-browser auto) (ADR 0011):
    • Probes installed browser profile directories on host machine without requiring flags.
    • Supported browsers: Firefox, Chrome, Brave, Edge, Safari, Zen, Helium, Floorp, Waterfox.
    • Windows prioritization: Prefers Gecko-family browsers (Firefox, Zen, Floorp, Waterfox) to bypass Windows Chromium 127+ App-Bound DPAPI encryption blocks by reading unencrypted cookies.sqlite.
    • Fallback: Gracefully falls back to unauthenticated public guest mode when no browser or profiles exist.
  • Browser Spec Normalization (normalizeBrowserSpec):
    • Resolves custom browser aliases (e.g. zen, floorp) to engine-compatible targets (firefox:<profile_dir>) by parsing active profile in profiles.ini.
    • Fixes yt-dlp rejection error: unsupported browser specified for cookies: "zen".
  • Login-Wall Auto-Recovery in Engine Dispatcher:
    • Intercepts unauthenticated login redirect errors (HTTP redirect to login page (https://www.instagram.com/accounts/login/) and 401 Unauthorized).
    • Automatically invokes browser session extraction and retries media probe transparently.
  • Native Instagram Embed Resolver (ADR 0014):
    • Probes /embed/captioned/ endpoint for public Instagram posts, reels, and carousels before falling back to gallery-dl.
    • Implements direct CDN streaming for image and video assets.
  • Session Delegation Flags:
    • --cookies <path>: Accepts user-exported Netscape/Mozilla formatted cookie jar.
    • --cookies-from-browser <browser[:profile]>: Extracts session directly from specified browser.
  • Package Distribution Infrastructure (ADR 0013):
    • Homebrew formula (Formula/open-omni.rb) and tap synchronization script (scripts/publish-tap.ps1).
    • WinGet package manifest generator (scripts/generate-winget-manifest.ts) and submission script (scripts/submit-winget-pr.ts).
    • C# native launcher shim (scripts/shim.cs) compiled with csc.exe for Windows execution without console window flicker.

Changed

  • Upstream Repository Migration for gallery-dl (ADR 0010):
    • Migrated gallery-dl binary releases and self-update endpoints from deprecated GitHub releases to Codeberg (https://codeberg.org/api/v1/repos/mikf/gallery-dl/releases/latest).
    • Eliminates GitHub unauthenticated API rate limits (403 Forbidden).
  • CLI Default Authentication:
    • Defaults runtimeConfig.cookies to { browser: 'auto' } across headless and interactive CLI entrypoints.

Fixed

  • Windows NTFS MAX_PATH & Trailing Dot Crash:
    • Fixed ENOENT filesystem crash when downloading posts with long paragraph captions or titles ending with periods (...).
    • sanitizeFilename now truncates title basenames to 100 characters and strips trailing dots and spaces via regex (/[.\s]+$/).
  • Missing Ephemeral Cleanup:
    • Fixed credential remnant risk by binding ephemeral cookie jars to process exit, SIGINT, and SIGTERM handlers with 0o600 file permissions.

Distribution & Assets

  • Standalone Windows x64: open-omni-windows-x64.zip
    • SHA256: 2c418070428527b5a886e2d28f6b4c5075fcf917deba326424dcb1569e1010d1
  • npm Package: open-omni@1.1.0
    • Tarball SHA256: 3415f0c47a8f02e1589ab0170a5fcd5cba5d4403df977d98fc73f2e4f8dd013c
  • Homebrew Formula: OpenSelena/tap/open-omni (v1.1.0)
  • WinGet Identifier: OpenSelena.OpenOmni (v1.1.0)

v1.0.0

Choose a tag to compare

@igect igect released this 08 Sep 20:09
v1.0.0
4b2e201

Open Omni is a terminal-first media downloader designed for speed and simplicity. Pass a URL or launch the interactive TUI, choose your quality, and download videos, playlists, audio, or image posts without fighting command-line flags.

Key Capabilities

  • Interactive TUI: Real-time progress bars, clipboard auto-detection, and theme options (--theme).
  • Universal Extraction: Dual-engine backend (yt-dlp + gallery-dl) handles videos, audio extraction (--mp3), photo galleries, and carousels across 1,800+ sites.
  • Batch & Playlist Selection: Inspect playlists or multi-item posts and pick specific items to download.
  • Subtitles & Thumbnails: Fetch or embed subtitles (--subs, --embed-subs) and cover artwork (--thumb, --embed-thumb).
  • Zero-Fuss Storage: Automatically routes downloads to your operating system's native Downloads directory or custom path (-o).
  • Engine Auto-Update: Keep extraction engines current directly with open-omni -U.
  • Shell Completions: First-class autocompletion for bash, zsh, fish, and PowerShell (--completion <shell>).

Installation

curl -fsSL https://mint.dev.cv | sh

Or via npm:

npm install -g open-omni