Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-24T22:21:00.000Z (about 6 years ago)
- Last Synced: 2024-06-21T13:49:33.354Z (7 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
[![Release](https://img.shields.io/github/release/Knappek/lmgtfy.svg?style=flat-square)](https://github.com/Knappek/lmgtfy/releases/latest)
[![Travis](https://img.shields.io/travis/Knappek/lmgtfy.svg?style=flat-square)](https://travis-ci.org/Knappek/lmgtfy)
[![Go Report Card](https://goreportcard.com/badge/Knappek/lmgtfy "Go Report Card")](https://goreportcard.com/report/Knappek/lmgtfy)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![Powered By: GoReleaser](https://img.shields.io/badge/powered%20by-goreleaser-green.svg?style=flat-square)](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