https://github.com/knappek/lmgtfy
Let me google that for you CLI tool to easily create and share lmgtfy links
https://github.com/knappek/lmgtfy
cli-tool clipboard golang lmgtfy
Last synced: 3 months ago
JSON representation
Let me google that for you CLI tool to easily create and share lmgtfy links
- Host: GitHub
- URL: https://github.com/knappek/lmgtfy
- Owner: Knappek
- License: mit
- Created: 2018-02-26T21:33:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-24T22:21:00.000Z (over 6 years ago)
- Last Synced: 2025-01-29T22:46:53.305Z (5 months ago)
- Topics: cli-tool, clipboard, golang, lmgtfy
- Language: Go
- Homepage:
- Size: 342 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Let me google that for you CLI
[](https://github.com/Knappek/lmgtfy/releases/latest)
[](https://travis-ci.org/Knappek/lmgtfy)
[](https://goreportcard.com/report/Knappek/lmgtfy)
[](LICENSE.md)
[](https://github.com/goreleaser)This is a [lmgtfy](https://github.com/pykler/lmgtfy) CLI written in Go which makes it easy to create Let me google that for you links.
## Install
### MacOS
```shell
brew install Knappek/tap/lmgtfy
```### Other OS with Go installed
Download with
```shell
go get github.com/Knappek/lmgtfy
```and install `lmgtfy` CLI by navigating to `$GOPATH/src/github.com/Knappek/lmgtfy/` and run
```shell
go install
```In order to use `lmgtfy` make sure `$GOPATH/bin` is in your PATH.
### Without Go installed
You can simply download the latest release from the [release](https://github.com/Knappek/lmgtfy/releases) page, extract it and move the binary to your path.
## Usage
![]()
In a shell, simply type
```shell
lmgtfy -g "What is Let me google that for you?"
```which will print http://lmgtfy.com/?q=What+is+Let+me+google+that+for+you%3F and, if you are on Linux or MacOS, will directly copy it to your clipboard.
### Shorten Url
The lmgtfy-Url is very obvious and you may want to hide this. Simply add a `-s` or `-shorten`, i.e.
```shell
lmgtfy -g "What is Let me google that for you?" -s
```which will print http://tinyurl.com/3so56ko and, if you are on Linux or MacOS, will directly copy it to your clipboard.
# Next Steps
* code lint
* code coverage