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

prusalink-cli

بواسطة donsqualo

Coding Agents & IDEs
—لم يُقيَّم بعد
تقييمك

موجز

OpenClaw skill: local PrusaLink CLI (curl wrapper) for status/upload/print using Digest auth (user/password)

الوصف

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

A curl-based CLI wrapper for PrusaLink, the local API on Prusa 3D printers. Supports Digest auth or X-Api-Key and exposes fixed endpoints for status, job info, file upload, print start, and cancel.

Gives shell and script access to PrusaLink without a browser or third-party app, using only curl against your local network.

متى تستخدمها

  • Check print job status from the terminal
  • Upload a G-code file to the printer over local network
  • Start or cancel a print job without opening the web UI
  • Monitor printer state in a shell script
  • Automate print workflows on a home server

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

الإدخال

User asks: upload and start printing mypart.gcode

الوكيل
  1. 1

    Set PRUSALINK_HOST to the printer IP

  2. 2

    Run run.sh upload mypart.gcode to transfer the file

  3. 3

    Run run.sh status to confirm the printer is idle

  4. 4

    Run run.sh start mypart.gcode to begin the print

الإخراج

Print job starts on the Prusa printer

المتطلبات

  • PRUSALINK_HOST environment variable (printer IP or hostname)
  • PRUSALINK_USER and PRUSALINK_PASSWORD for Digest auth, or PRUSALINK_API_KEY if using API key auth

التثبيت

clawhub install donsqualo/prusalink-cli

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

الروابط