Skip to content

CLI which generates LGTM image and copies to clipboard

License

Notifications You must be signed in to change notification settings

johnmanjiro13/lgotm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Workflow Status Release

lgotm

lgotm is a command for generation LGTM image and generated image is copied to clipboard.

Installation

Homebrew

# tap and install
brew tap johnmanjiro13/tap
brew install lgotm

# install directory
brew install johnmanjiro13/tap/lgotm

go get

go get github.com/johnmanjiro13/lgotm

go install (requires Go1.16+)

go install github.com/johnmanjiro13/lgotm@latest

Usage

With Google Custom Search

lgotm query <query>

lgotm query searches images by Google Custom Search API. Therefore, you need to get api key and engine id of custom search api.

Configuration

lgotm can be customized with a configuration file. The location of the file is $HOME/.config/lgotm/config by default.

A default configuration file can be created with the generate_config_file sub sommand.

lgotm generate_config_file

Also, lgotm can be customized with environment variables instead of the file like below.

API_KEY=<your-api-key> ENGINE_ID=<your-engine-id> lgotm query <query>

About

CLI which generates LGTM image and copies to clipboard

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages