← 返回
效率工具 中文

Surge Download Manager

Blazing fast TUI download manager with multi-connection, queue management, server mode, multiple mirrors, and a beautiful terminal interface.
极速TUI下载管理器,支持多连接、队列管理、服务器模式、多镜像和精美终端界面
kexu9
效率工具 clawhub v1.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 562
下载
💾 9
安装
1
版本
#latest

概述

Surge

Blazing fast TUI download manager with multi-connection downloads.

When This Skill Activates

This skill triggers when user wants to download files fast with parallel connections or manage downloads via TUI.

Reasoning Framework

StepActionWhy
-------------------
1INSTALLInstall surge binary (brew/go/binary)
2STARTLaunch server mode or TUI
3ADDAdd URLs to download queue
4MANAGEMonitor, pause, resume, or remove downloads
5RETRIEVEGet completed files from output directory

Install

# macOS
brew install surge-downloader/tap/surge

# Go
go install github.com/surge-downloader/surge@latest

# Or download binary from releases

Decision Tree

What are you trying to do?

├── Quick single download
│   └── Use: surge add "URL" -o ./folder
│
├── Multiple files (batch)
│   └── Use: surge add -b urls.txt -o ./folder
│
├── Headless/daemon downloads
│   └── Use: surge server + surge add
│
├── Beautiful TUI interface
│   └── Use: surge (no args, starts TUI)
│
└── Manage running downloads
    └── Use: surge ls/pause/resume/rm

Basic Usage

Start TUI Mode

surge

Start Server Mode (Headless)

# Start server daemon
surge server

# Add download via CLI
surge add "https://example.com/file.zip"

# List downloads
surge ls

Commands

CommandDescription
----------------------
surge serverStart headless daemon
surge add Add download to queue
surge lsList downloads
surge pause Pause download
surge resume Resume download
surge rm Remove download
surge tokenGet API token

Options

FlagDescriptionDefault
----------------------------
-o, --output PATHOutput directory./downloads
-b, --batch FILEBatch file with URLs-
--exit-when-doneExit when completefalse
--host HOSTTarget serverlocalhost:9090
--token TOKENAPI token-

Common Examples

# Download single file
surge add "https://example.com/file.zip" -o ~/Downloads

# Batch download from file
surge add -b urls.txt -o ./downloads

# Start server with output folder
surge server -o /tmp/downloads

# Add to running server
surge add "https://url.com/file.zip"

# Pause/Resume
surge pause 1
surge resume 1

# Remove from queue
surge rm 1

Server Mode

Workflow

# Terminal 1: Start server
surge server

# Terminal 2: Add downloads
surge add "https://file1.zip"
surge add "https://file2.zip" -o /other/folder

# Check status
surge ls

# Server runs in background, downloads continue

API Token

# Get token for remote control
surge token

# Use token to connect
surge add "URL" --token YOUR_TOKEN --host remote:9090

Troubleshooting

Problem: surge: command not found

  • Cause: Surge not installed
  • Fix: brew install surge-downloader/tap/surge or go install github.com/surge-downloader/surge@latest

Problem: Connection refused

  • Cause: Server not running
  • Fix: Start server first: surge server

Problem: Permission denied

  • Cause: Output folder not writable
  • Fix: Check folder permissions or use -o with writable path

Problem: Download failed

  • Cause: URL invalid or network issue
  • Fix: Verify URL, check network connectivity

Problem: Too many connections

  • Cause: Server limit reached
  • Fix: Wait for current downloads or pause some

Self-Check

  • [ ] Surge installed: surge --version
  • [ ] Output directory exists and is writable
  • [ ] For server mode: server is running (surge ls to check)
  • [ ] For remote: token and host correct

Notes

  • Multi-connection downloads up to 32 parallel connections
  • TUI mode for interactive downloads
  • Server mode for headless/daemon operation
  • Batch file support for bulk downloads
  • Automatic retry on failure
  • Benchmarks: 1.38× faster than aria2, 2× faster than curl/wget

Quick Reference

TaskCommand
---------------
Start TUIsurge
Start serversurge server
Add downloadsurge add "URL" -o ./folder
Batch downloadsurge add -b urls.txt
List downloadssurge ls
Pause/Resumesurge pause / surge resume
Removesurge rm

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-30 06:56 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 438 📥 147,478
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,802
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,230