Repository navigation
Releases
Releases · OpenSelena/open-omni
v1.5.2
Security & Fixes
- Browser Cookie Isolation & Lazy Extraction:
- Required non-empty
targetDomain, path matching,secureattribute checks, and expiry filtering inparseNetscapeCookieContentso 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 andyt-dlpprobeinfo.jsonfiles inside0o700temp directories with0o600exclusive files, and enforced0o700/0o600permissions on config, history, and ledger paths.
- Required non-empty
- Proxy Routing & Origin Allowlists:
- Added HTTPS/HTTP
CONNECTproxy helper (src/lib/proxy-fetch.ts) with manual redirect validation and cross-originCookie/Authorizationstripping; forwarded--proxyacross native Instagram, Bluesky, and cookie extraction flows while passing child proxy settings via environment variables instead of processargv. - Restricted Instagram
Cookietransmission strictly to official Instagram HTTPS domains, tightened Bluesky CDN host suffix matching andffmpegprotocol whitelists, and failed closed when proxying.m3u8streams with unsupported proxy schemes.
- Added HTTPS/HTTP
- Path, Template & Terminal Sanitization:
- Enforced destination containment (
assertContainedPath) and extension sanitization acrossyt-dlp,gallery-dl, Bluesky, Instagram, and batch downloads; escaped{/}ingallery-dl -fand%inyt-dlp -o. - Removed
OPEN_OMNI_DIRbinary lookup fallback ingallerydl.ts(OPEN_OMNI_BIN_DIRonly), hardened--watchagainst multi-line inputs, loopback/private hosts, and generic URLs, and stripped C0/C1/ANSI terminal control sequences across UI/CLI outputs.
- Enforced destination containment (
- Updaters, Packaging & CI Hardening:
- Added HTTPS host allowlists and optional
SHA2-256SUMSverification toyt-dlpupdates, strictcodeberg.orghost and version validation togallery-dlupdates, MSVC argument quoting toscripts/shim.cs, HTTPS/header hardening toinstall.shandworkers/installer.js, and YAML/semver validation plus scopedWINGET_TOKENusage to release packaging workflows.
- Added HTTPS host allowlists and optional
Full Changelog: v1.5.1...v1.5.2
v1.5.1
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
mtimeto target the active, running browser session. - Ephemeral Cookie Security: Restrictive
0o600permissions 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
ffmpegfor transcoding HLS streams when custom location is omitted, preventing corrupted.m3u8playlist 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
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
v1.4.0
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
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.
- Added interactive hotkeys
- 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
--metadataand--chaptersoptions for embedding artist, title, album, cover art, and chapter markers into media files viayt-dlp.
- Added
ooLauncher Alias & Multi-Alias Shell Completions (ADR 0007):- Added ultra-fast two-letter binary alias
ooalongsideopen-omni,openomni, andomni. - Updated completion generator with multi-alias tab completions for Bash, Zsh, and Fish.
- Added ultra-fast two-letter binary alias
Fixed
- Real-Time Playlist Batch Progress Bar Sync & 100% Clamping:
- Fixed scale normalization in
ProgressBar(0..1and0..100scales), 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: falseprop to prevent line-wrapping overflow in bordered panels.
- Fixed scale normalization in
Distribution & Assets
- Standalone Windows x64:
open-omni-windows-x64.zip- SHA256:
df3b3ef6c0f797bc092e55870a9ee22bc0a58e33d03e0ac5bae6361cf08b292f
- SHA256:
- npm Package:
open-omni@1.3.0- Tarball SHA256:
3da335863fd5b5a740f8eeeee09bc65835e5e64c6bfc48b400e83f4fad6315b5
- Tarball SHA256:
- Homebrew Formula:
OpenSelena/tap/open-omni(v1.3.0) - WinGet Identifier:
OpenSelena.OpenOmni(v1.3.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-existingflag 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) viayt-dlp--download-sections.
- Added
- 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.
- Added multi-tier fallback installation (
- CI Smoke Tests & Broad Test Suite:
- Added cross-platform CLI smoke testing and native
macos-latestGitHub Actions runner. - Added dedicated unit test suites for
click-map,clipboard,format,history, andplatforms(183 passing tests).
- Added cross-platform CLI smoke testing and native
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 inprofiles.ini. - Fixes
yt-dlprejection error:unsupported browser specified for cookies: "zen".
- Resolves custom browser aliases (e.g.
- Login-Wall Auto-Recovery in Engine Dispatcher:
- Intercepts unauthenticated login redirect errors (
HTTP redirect to login page (https://www.instagram.com/accounts/login/)and401 Unauthorized). - Automatically invokes browser session extraction and retries media probe transparently.
- Intercepts unauthenticated login redirect errors (
- Native Instagram Embed Resolver (ADR 0014):
- Probes
/embed/captioned/endpoint for public Instagram posts, reels, and carousels before falling back togallery-dl. - Implements direct CDN streaming for image and video assets.
- Probes
- 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 withcsc.exefor Windows execution without console window flicker.
- Homebrew formula (
Changed
- Upstream Repository Migration for gallery-dl (ADR 0010):
- Migrated
gallery-dlbinary 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).
- Migrated
- CLI Default Authentication:
- Defaults
runtimeConfig.cookiesto{ browser: 'auto' }across headless and interactive CLI entrypoints.
- Defaults
Fixed
- Windows NTFS
MAX_PATH& Trailing Dot Crash:- Fixed
ENOENTfilesystem crash when downloading posts with long paragraph captions or titles ending with periods (...). sanitizeFilenamenow truncates title basenames to 100 characters and strips trailing dots and spaces via regex (/[.\s]+$/).
- Fixed
- Missing Ephemeral Cleanup:
- Fixed credential remnant risk by binding ephemeral cookie jars to process
exit,SIGINT, andSIGTERMhandlers with0o600file permissions.
- Fixed credential remnant risk by binding ephemeral cookie jars to process
Distribution & Assets
- Standalone Windows x64:
open-omni-windows-x64.zip- SHA256:
2c418070428527b5a886e2d28f6b4c5075fcf917deba326424dcb1569e1010d1
- SHA256:
- npm Package:
open-omni@1.1.0- Tarball SHA256:
3415f0c47a8f02e1589ab0170a5fcd5cba5d4403df977d98fc73f2e4f8dd013c
- Tarball SHA256:
- Homebrew Formula:
OpenSelena/tap/open-omni(v1.1.0) - WinGet Identifier:
OpenSelena.OpenOmni(v1.1.0)
v1.0.0
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 | shOr via npm:
npm install -g open-omni