Skip to content

s4heid/goom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Report Card Actions Status License

goom

A simple CLI application for opening url's in the web browser.

Installation

Download the binary from ttps://github.com/s4heid/goom/releases. Alternatively, you can

MacOS/Linux

Install goom via Homebrew/Linuxbrew package manager:

brew tap s4heid/homebrew-tap https://github.com/s4heid/homebrew-tap.git
brew install gozoom

Git

Build it from source:

git clone https://github.com/s4heid/goom.git
cd goom
make all
./goom

Configuration

Create a configuration file ~/.goom.yml. The following properties need to be specified:

  • url - the target url. Templating syntax can be used to build the target url with properties of a room.
  • rooms - list of rooms.
    • id - identifier of a room.
    • alias - alias for a room that should be unique.
    • name (optional) - descriptive name of a room.

Currently supported input source formats are YAML and JSON

Example Config:

---
url: https://zoom.us/j/{{.Id}}
rooms:
- id: 0123456789
  name: Team Standup
  alias: daily
- id: 9876543210
  name: John Doe
  alias: jd

If you want to open the url that is associated with the room of John Doe, use goom's open command and pass the alias jd as a command line argument:

$ goom open jd
Opening "https://zoom.us/j/9876543210" in the browser...

The interpolated url https://zoom.us/j/9876543210 will be opened in a new window of your default web browser.

License

Apache License, Version 2.0