Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

prusalink-cli

bởi donsqualo

Coding Agents & IDEs
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: upload and start printing mypart.gcode

AGENT
  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

ĐẦU RA

Print job starts on the Prusa printer

Yêu cầu

  • 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

Cài đặt

clawhub install donsqualo/prusalink-cli

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết