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

v2rayn

بواسطة qiangwang375-wq

iOS & macOS Development
298التنزيلات وفق ما يذكره clawskills.sh
2النجوم
2المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Manage V2RayN proxy client on macOS with auto-failover.

الوصف

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

Manages a V2RayN proxy client on macOS by monitoring node health, testing connections, and reading configuration files. Includes a cron-based script that checks every 30 minutes whether the current node is reachable and logs the result. Subscription updates and node switching still require manual action in the V2RayN GUI.

Scheduled health checks catch failing nodes automatically instead of requiring manual spot-checks every time a connection seems slow.

متى تستخدمها

  • Checking which proxy ports V2RayN is listening on
  • Testing if the active node can reach the internet
  • Listing all configured nodes from the local config file
  • Running automated 30-minute health checks via cron
  • Diagnosing connection failures using V2RayN log files

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

الإدخال

User asks: Is my current V2RayN node working?

الوكيل
  1. 1

    Check if the V2RayN process is running with ps aux

  2. 2

    Verify port 10808 is listening using lsof

  3. 3

    Send a test request through socks5://127.0.0.1:10808 to google.com

  4. 4

    Read guiNConfig.json to identify the current node name

  5. 5

    Report the node name and whether the connection returned HTTP 200

الإخراج

Current node is 'HK-Node-3' and is working (HTTP 200)

المتطلبات

  • V2RayN macOS application installed

التثبيت

clawhub install qiangwang375-wq/v2rayn

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

الروابط