tui/cli 工具用于从互联网中获取一切
mangofetch (TUI / Core)
Fast, Tropical, Pure Rust.
The core engine SDK and interactive Terminal User Interface (TUI) frontend of the mangoSuite.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:
mangofetch (TUI): The interactive terminal frontend built with ratatui. Launches by default and supports mouse interaction, modal dialogs, and multiple color palettes.mangofetch-core: The headless download engine.mangofetch-plugin-sdk: The plugin SDK for extending the engine's capabilities.MangoFetch has been modularized into separate repositories for maximum flexibility:
egui & eframe.MangoFetch runs natively on multiple architectures and operating systems.
yt-dlp, ffmpeg, or aria2c. It automatically downloads the correct standalone version for your OS.Integrate mangofetch-core directly into Discord bots, web servers, or custom applications.
Add it to Cargo.toml:
[dependencies]
mangofetch-core = ""Engine Capabilities:
tokio::sync::mpsc channels.PlatformDownloader trait for links, torrents, and videos.yt-dlp and ffmpeg binaries.Install the TUI to your system path:
cargo install mangofetchgit clone https://github.com/julesklord/mangofetch.git
cd mangofetch
cargo build --releaseSimply run the binary without any arguments to launch the interactive TUI directly:
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:
export MANGOFETCH_OFFLINE=1
cargo test -p mangofetch-coreThe modular design separates the core engine from the user interfaces.
…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.The queue processes multiple items concurrently. It isolates failures and triggers automatic retries.
…ffmpeg and yt-dlp.View the Official Wiki for details.
| 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. |
Submit pull requests for features or fixes. Open an issue first for major changes. See CONTRIBUTING.md for details.
Built by Jules, tonhowtf (omniget) and Agy.
Released under the GPL-3.0 License.
暂无开放 Issues,或尚未同步最近议题。