Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

mangofetch

> 开发工具
Open source

tui/cli tool for fetch everythin' in internet

180 stars0 likes1 views
WebsiteGitHub

About

tui/cli tool for fetch everythin' in internet

mangofetch (TUI / Core)

Fast, Tropical, Pure Rust.

  The core engine SDK and interactive Terminal User Interface (TUI) frontend of the mangoSuite.


  • Overview
  • The mangoSuite
  • Cross-Platform Compatibility
  • Using as a Rust Library (mangofetch-core)
  • TUI Installation & Run
    • Via Cargo (Recommended)
    • From Source
    • Running the TUI
  • Technical Architecture
  • How the Engine Works
  • Command Reference
  • Acknowledgments
  • Contributing
  • License

Overview

MangoFetch downloads media quickly across multiple platforms. It provides granular control over video and audio formats without complex configuration.

The mangofetch-core engine uses Tokio and Reqwest to handle YouTube, Torrents, SoundCloud, and Instagram. It wraps yt-dlp and ffmpeg to support over 1000 platforms.

This repository contains:

  1. mangofetch (TUI): The interactive terminal frontend built with ratatui. Launches by default and supports mouse interaction, modal dialogs, and multiple color palettes.
  2. mangofetch-core: The headless download engine.
  3. mangofetch-plugin-sdk: The plugin SDK for extending the engine's capabilities.

The mangoSuite

MangoFetch has been modularized into separate repositories for maximum flexibility:

  • mangofetch (This repo): Core engine SDK and interactive Ratatui TUI.
  • mangofetch-cli: Scriptable, pure CLI frontend for headless execution and server batch jobs.
  • mangofetch-gui: Hardware-accelerated desktop GUI built with egui & eframe.

Cross-Platform Compatibility

MangoFetch runs natively on multiple architectures and operating systems.

  • Operating Systems: Windows (10/11), macOS (Intel and Apple Silicon), GNU/Linux, and BSD.
  • Architectures: AMD64, ARM64, and ARMv7. It operates on desktops, MacBooks, and Raspberry Pi.
  • Dependency Management: The engine detects missing binaries like yt-dlp, ffmpeg, or aria2c. It automatically downloads the correct standalone version for your OS.


Using as a Rust Library (mangofetch-core)

Integrate mangofetch-core directly into Discord bots, web servers, or custom applications.

Add it to Cargo.toml:

toml
[dependencies]
mangofetch-core = ""

Engine Capabilities:

  • Simple Telemetry: Track progress via tokio::sync::mpsc channels.
  • Unified Traits: Use the PlatformDownloader trait for links, torrents, and videos.
  • Dependency Automation: The engine manages yt-dlp and ffmpeg binaries.
  • Recovery: The download manager handles retries and network interruptions.

TUI Installation & Run

Via Cargo (Recommended)

Install the TUI to your system path:

bash
cargo install mangofetch

From Source

bash
git clone https://github.com/julesklord/mangofetch.git
cd mangofetch
cargo build --release

Running the TUI

Simply run the binary without any arguments to launch the interactive TUI directly:

bash
mangofetch

[!NOTE] You can still pass traditional CLI commands to this binary (e.g., mangofetch check, mangofetch info ), but executing it empty launches the TUI immediately.

Set MANGOFETCH_OFFLINE=1 to run tests without downloading external tools:

bash
export MANGOFETCH_OFFLINE=1
cargo test -p mangofetch-core

Technical Architecture

The modular design separates the core engine from the user interfaces.

…

Core Components

  • mangofetch-core: Manages the download queue and platform extractors. It handles binary dependencies automatically.
  • mangofetch (TUI): The interactive terminal frontend using ratatui.
  • mangofetch-plugin-sdk: A toolkit for extending features at runtime.

How the Engine Works

The queue processes multiple items concurrently. It isolates failures and triggers automatic retries.

…

Internal Features

  • Progress Reporting: Background channels provide updates without blocking the UI.
  • Binary Provisioning: Locates and configures ffmpeg and yt-dlp.
  • Smart Parsing: Prioritizes native extraction over external wrappers.

Command Reference

View the Official Wiki for details.

  • Installation Guide
  • CLI Command Reference
  • TUI Interactive Guide
  • Technical Architecture
Command Alias Description
mangofetch download mango d Download a single link.
mangofetch download-multiple mango dm Process links from a file.
mangofetch info mango i View metadata without downloading.
mangofetch list mango ls View current queue.
mangofetch clean mango c Clear history and cache.
mangofetch config mango cfg Modify limits and paths.
mangofetch check mango ch Verify external tool status.
mangofetch update mango up Update external binaries.
mangofetch logs mango log View debug logs.
mangofetch about mango a Show version and license.

Acknowledgments

  • OmniGet — Inspired the original engine logic.
  • yt-dlp — Handles core extraction.

Contributing

Submit pull requests for features or fixes. Open an issue first for major changes. See CONTRIBUTING.md for details.

License

Built by Jules, tonhowtf (omniget) and Agy.

Released under the GPL-3.0 License.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustclidownload-tooldownloaderfetcher

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具