Join Zoom Meeting from Command Line
TIL that we can join zoom meeting from command-line by opening the url with zoommtg
protocol:
open "zoommtg://zoom.us/join?confno=<zoom-id>&pwd=<passcode>"
Using above I wrote a bash
function to fuzzy search over Zoom Meeting IDs and join a selected meeting from the command line.
How to setup?
Put frequently used zoom IDs in ~/.zoom-ids.json
:
[
{
"name": "My Meeting",
"id": "<zoom-id>",
"pwd": "<passcode>"
},
{
"name": "Arun",
"id": "<zoom-id>",
"pwd": "<passcode>"
}
]
Use below function to fuzzy search and join a meeting:
zoom-join() {
name=$(cat $HOME/.zoom-ids.json | jq -r ".[] | .name" | fzf --height=10 --ansi --reverse)
qparams=$(cat .zoom-ids.json | jq -r ".[] | select(.name == \"$name\") | \"confno=\" + .id + \"&pwd=\" + .pwd ")
open "zoommtg://zoom.us/join?$qparams"
}
Refer the function here in my dotfiles repo as well.