Skip to content
dok4everak47Public

About

A pure menu-bar macOS app for downloading video and audio from YouTube and more. Built on yt-dlp and ffmpeg, with a Nix flake dev environment.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

42 Commits

Folders and files

Repository files navigation

Hiko (ひこ) - Menu Bar Video Downloader for macOS

Hiko is a lightweight, native macOS app that lets you download videos or audio from YouTube and more with just a few clicks. It lives entirely in your menu bar - no Dock icon, no main window. Click the menu bar icon to reveal a full-featured popover, click anywhere outside to dismiss it.

Hiko (ひこ) comes from hiku (引く, "to pull/draw") - a little helper that pulls media down for you.

✨ Features

  • Pure menu bar app - no Dock icon, no main window (uses LSUIElement)
  • Download video + audio, audio-only, or video-only
  • Choose from popular resolutions, containers, and audio formats
  • Pick your destination folder per download
  • Settings window for tool paths, proxy, and cookies
  • Minimal, clean native macOS UI with red-accent styling and dark mode support

🎛 How It Works

Action Result
Left-click menu bar icon Toggle the popover (full download UI)
Click outside the popover Dismiss the popover
Right-click menu bar icon Context menu: Settings… / Quit
Gear button (in popover) Open the Settings window
Done (in Settings) Close Settings and reopen the popover

🚀 Usage

  1. Launch the app - a chevron icon appears in the menu bar
  2. Click the icon to open the popover
  3. Paste a video URL
  4. Choose download type, resolution, format, and destination folder
  5. Press Download and watch status updates in real time
  6. Click outside the popover to dismiss it, or right-click the icon for Settings/Quit

All preferences are persisted across launches via @AppStorage.

💽 Installation

Download a Release

Head over to the GitHub Releases page and download the latest .dmg file.

  • Open the .dmg and drag the app into your /Applications folder.
  • Make sure yt-dlp and ffmpeg are installed. If not, install with brew install yt-dlp ffmpeg.

Allow the App to Run

macOS might block the app from launching because it isn't signed with a paid Apple Developer account. Allow it manually:

# Ad-hoc sign the app locally
codesign --force --deep --sign - /Applications/Hiko.app

# Remove the quarantine flag
xattr -dr com.apple.quarantine /Applications/Hiko.app

🔧 Building from Source

This project supports two development environments: Nix flake (recommended for reproducible builds) and plain Xcode.

Option A: Nix Flake (recommended)

The flake.nix provides a complete dev shell with yt-dlp, ffmpeg, and ffprobe on PATH, while carefully isolating Nix's toolchain from Xcode so xcodebuild links correctly.

Requirements: Nix with flakes enabled, direnv, and Xcode.

git clone https://github.com/dok4everak47/Hiko.git
cd Hiko

# direnv auto-activates the Nix dev shell (via .envrc)
# or manually:
nix develop

# build
xcodebuild -project Hiko.xcodeproj -scheme Hiko \
  -configuration Release -destination "platform=macOS" \
  CODE_SIGNING_ALLOWED=NO build

Nix + Xcode note: The flake.nix shellHook sets DEVELOPER_DIR to the real Xcode, filters Nix's cctools/binutils/clang-wrapper from PATH, and unsets CC/CXX/SDKROOT etc. This prevents the link failures caused by Nix's toolchain shadowing Xcode's linker. Nix provides only the runtime binaries (yt-dlp/ffmpeg/ffprobe); Xcode handles all compilation.

Deploy to /Applications:

APP="$(find ~/Library/Developer/Xcode/DerivedData/Hiko-* \
  -name Hiko.app -path '*Release*' | head -1)"
rm -rf /Applications/Hiko.app
cp -R "$APP" /Applications/Hiko.app
codesign --force --deep --sign - /Applications/Hiko.app

Option B: Plain Xcode

Requirements: macOS 14+, Xcode, yt-dlp/ffmpeg/ffprobe on PATH (e.g. brew install yt-dlp ffmpeg).

  1. Clone the repository

    git clone https://github.com/dok4everak47/Hiko.git
    cd Hiko
  2. Open Hiko.xcodeproj in Xcode

  3. Set your personal signing team (Signing & Capabilities -> Team)

  4. Build and run (⌘R)

  5. On first run, open Settings (right-click the menu bar icon -> Settings…) and verify the tool paths

⚙️ Settings

Open Settings via the gear button in the popover or right-click the menu bar icon -> Settings….

  • Tool Paths - absolute paths to yt-dlp, ffmpeg, ffprobe
  • Proxy - route downloads through an HTTP proxy
  • Cookies - pass cookies from a browser or a cookies.txt file for age-restricted / private videos

Click Done to close Settings and return to the popover.

⚠️ Disclaimer

This tool is intended solely for personal use and educational or research purposes.

Downloading videos from YouTube may violate their Terms of Service unless the video has an explicit download button or the content is licensed in a way that permits downloading.

By using this app, you assume full responsibility for any content you download and how you use it. The developer does not condone or support any misuse of this tool to infringe upon copyrights or violate platform rules.

🙏 Credits & Shout-out

Hiko builds on Downer, originally created by Dumindu Sameendra. 🙇 Credit for the original app's architecture, red-accent UI, and the yt-dlp + ffmpeg integration goes to the original author.

This project carries those foundations forward with substantial changes of its own: a fully menu-bar-only architecture (no main window, LSUIElement), a .applicationDefined popover with click-outside-to-dismiss, a restyled Settings window, and a reproducible Nix flake development environment that isolates its toolchain from Xcode.


Built with ❤️ using yt-dlp and ffmpeg. Huge credit to the amazing developers behind these tools.

About

A pure menu-bar macOS app for downloading video and audio from YouTube and more. Built on yt-dlp and ffmpeg, with a Nix flake dev environment.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages