Skip to main content

BigBlueButton API command-line client

Project description

BigBlueButton REST API command-line client

This is a small but useful command-line client for controlling meetings and recordings on a BigBlueButton server or cluster directly via the REST API. It allows administrators to bypass front-end applications (greenlight, moodle or alternatives) and directly access the backing BBB servers for administrative tasks, monitoring or testing.

The module can also be imported as a python library, but please note that this project is not yet considered stable in any way. A stable and more usable API for python scripting might follow.

Install

You can install bbbctl the usual way with pip install bbbctl into a virtual environment. Sine bbbctl has no dependencies, you can also manually install it by downloading the python script and placing it into a bin folder:

curl -L --create-dirs -o ~/.local/bin/bbbctl https://raw.githubusercontent.com/defnull/bbbctl/master/src/bbbctl.py 
chmod +x ~/.local/bin/bbbctl

Tip: If you have uv/uvx installed, you can use this tool directly via uvx bbbctl ....

Usage

If run directly on a BBB server with sufficient permissions, server URL and secret will be fetched from local BBB config files automatically.

# Only required for external BBB servers:
export BBBCTL_SERVER="bbb.example.com"   # or --server as a parameter
export BBBCTL_SECRET="..."               # or --secret as a parameter

# Check if your secret works:
bbbctl meeting list

Command overview

You can get detailed help and a list of all parameters with bbbctl -h or bbbctl <command> -h.

  • meeting Create, list, join, inspect or end meetings
    • list List all meetings
    • info <meetingID> Show info about a meeting
    • create <meetingID> <title> Create a new meeting
    • join <meetingID> <displayName> Generate join links
    • end <meetingID> Forcefully end a meeting
    • chat <meetingID> <message> Send a chat message to a running meeting (BBB 3.0)
    • nuke Forcefully end ALL meetings (be careful)
  • record Work with recordings
    • list List all recordings
    • info <recordID> Show info about a recording
    • publish <recordID> Publish an unpublished recording
    • unpublish <recordID> Unpublish (hide) recording
    • delete <recordID> Delete a recording (be careful)
  • sign <action> <param*> Print a signed API URL

Output format

The default output format is a human readable plain text format. You can switch to a more compact version with --format=compact. Other formats that are better suited for scripted usage are also supported: json, jsonline or xml

License

Copyright (c) 2020-2062, Marcel Hellkamp.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bbbctl-0.4.1.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bbbctl-0.4.1-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file bbbctl-0.4.1.tar.gz.

File metadata

  • Download URL: bbbctl-0.4.1.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for bbbctl-0.4.1.tar.gz
Algorithm Hash digest
SHA256 e817a6de28abcee8362d0b1868b9c06e64dc8cd192820a14f6e32da259a127b7
MD5 e538096b5463d02010ba938d49da00d3
BLAKE2b-256 fdd33b561c2790f0852894a8591c95cfc6d273bebeadf9276d13c18cc0bed1de

See more details on using hashes here.

File details

Details for the file bbbctl-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: bbbctl-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for bbbctl-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb04099b0174ddbaf9a445898e47e9e0ef52eec9f71927ad2a8855e47dc0207e
MD5 9be5e8aa18e7185e7e55cfbaf4ee611c
BLAKE2b-256 ed53f7ed776f8da368495f3d90c132c15ae578c6b34eb2ed7bb3a25bb32c48b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page