meld-cli/README.md

2.3 KiB

meld-cli

A command line interface for Meld Studio WebChannel API

Code Style


Requirements

  • Meld Studio
  • I'm not sure which versions of node this works with but it was created with v24.3.0

Installation

npm i -g @onyx-and-iris/meld-cli

Configuration

Flags

  • --host/-H: Host address for the Meld server
  • --port/-P: Port number for the Meld server

Environment Variables

Load the following values from your environment:

MELD_CLI_HOST=localhost
MELD_CLI_PORT=13376

Commands

Scene

  • list: List all scenes
    • flags:
      • --id: Display scene IDs
meld-cli scene list

meld-cli scene list --id
  • switch: Switch to a scene by name
    • args: sceneName
meld-cli scene switch "My Scene"
  • current: Show the current scene
    • flags:
      • --id: Display scene ID
meld-cli scene current

meld-cli scene current --id

Audio

  • mute: Mute the audio
    • args: audioName
meld-cli audio mute "Mic"
  • unmute: Unmute the audio
    • args: audioName
meld-cli audio unmute "Mic"
  • toggle: Toggle audio mute state
    • args: audioName
meld-cli audio toggle "Mic"
  • status: Show current audio status
    • args: audioName
meld-cli audio status "Mic"

Stream

  • start: Start streaming
meld-cli stream start
  • stop: Stop streaming
meld-cli stream stop
  • status: Show the current streaming status
meld-cli stream status

Record

  • start: Start recording
meld-cli record start
  • stop: Stop recording
meld-cli record stop
  • status: Show the current recording status
meld-cli record status

Clip

Save a clip

meld-cli clip

Screenshot

Take a screenshot

meld-cli screenshot

Special Thanks

  • Meld team for providing the WebChannel API on which this CLI depends.

License

meld-cli is distributed under the terms of the MIT license.