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

node-red-manager

بواسطة 1999azzar

DevOps & Cloud
559التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Manage Node-RED instances via Admin API or CLI.

الوصف

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

A CLI and API wrapper for managing Node-RED instances. Covers flow deployment, node module management, backups, runtime context, and diagnostics. Configured via environment variables pointing to a Node-RED Admin API endpoint.

Scripted CLI access lets you integrate Node-RED changes into automated pipelines without manually navigating the web UI each time.

متى تستخدمها

  • Deploying updated automation flows to a remote Node-RED instance
  • Installing third-party node modules without opening the Node-RED UI
  • Backing up all flows before a server migration or upgrade
  • Restoring a previous flow state after a failed deployment
  • Reading or writing global context values from a script or CI pipeline

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

الإدخال

User asks: Deploy the watchdog flow from assets/flows/watchdog.json

الوكيل
  1. 1

    Run scripts/nr list-flows to check existing flows

  2. 2

    Run scripts/nr deploy --file assets/flows/watchdog.json to push the flow

  3. 3

    Run scripts/nr get-flow-state to confirm the flow is running

  4. 4

    Run scripts/nr get-diagnostics if any errors appear

الإخراج

Flow deployed and confirmed active via runtime state check

المتطلبات

  • NODE_RED_URL environment variable (Node-RED Admin API endpoint)
  • NODE_RED_USERNAME environment variable
  • NODE_RED_PASSWORD environment variable
  • Docker (for container restart and log commands)
  • Running Node-RED instance with Admin API enabled

التثبيت

clawhub install 1999azzar/node-red-manager

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

الروابط