تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

aria2-json-rpc

بواسطة azzgo

CLI Utilities
1.3kالتنزيلات وفق ما يذكره clawskills.sh
1النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Interact with aria2 download manager via JSON-RPC 2.0.

الوصف

ما الذي تفعله هذه المهارة

Controls aria2 download manager through natural language commands via JSON-RPC 2.0. Supports HTTP, HTTPS, FTP, Magnet, Torrent, and Metalink downloads. Agents can start, pause, resume, and monitor downloads without constructing raw RPC payloads.

aria2's JSON-RPC interface requires verbose manual request construction; this skill wraps it so agents handle download operations through simple commands.

متى تستخدمها

  • Queuing multiple file downloads to a remote server
  • Monitoring active torrent download progress
  • Pausing all downloads before a bandwidth-heavy task
  • Adding magnet links to an aria2 instance via natural language
  • Checking download statistics and clearing completed results

مثال على سير العمل

الإدخال

User asks: download http://example.com/file.zip

الوكيل
  1. 1

    Run config_loader.py test to verify aria2 connection

  2. 2

    If test fails, guide user to initialize config with config_loader.py init --user

  3. 3

    Once connection is confirmed, call rpc_client.py with aria2.addUri and the target URL

  4. 4

    Parse the response to extract the download GID

الإخراج

Download started. GID: 2089b05ecca3d829

المتطلبات

  • aria2 download manager installed and running with RPC enabled
  • aria2 RPC secret token (if your aria2 instance requires authentication)

التثبيت

clawhub install azzgo/aria2-json-rpc

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط