Перейти к содержимому
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

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки