Giter VIP home page Giter VIP logo

getme's Introduction

getme

CLI utility for everyday tasks

With getme you can get weather, forecast, currency rate, upload files, IP address, word definitions, text translations, internet speed, do google searches and get inspirational quotes.

✨ All from the terminal ✨

NPM

npm Travis npm Coverage Status

Install it globally

npm i getme -g

Getme Options

command definition
-h, --help Output usage information
s, search [query] Search in Google
w, weather [unit] Get weather, default unit is Celsius, can be celsius, fahrenheit, or kelvin
f, forecast [unit] Get weather forecast of 5 days ahead, default unit is Celsius
cur, currency [base] [currs] Get currency rates against a base currency (default base USD, default currencies All)
ip Get public and network IP addresses
speed Get internet speed based on speedtest
d, definition [word] Get word definitions (Only works for english words)
d, definition -s [word] Get synonyms of a specific word (Only works for english words)
t, translation [options] Get translations of text from a language to another
q, quote Displays an inspirational quote and its author
u, upload [filepath][options] Uploads a file to file.io and generates a link for you to share that file

Search on Google

getme search dogs and cats Opens browser, searching for "dogs and cats"

getme-search

Get Weather

getme weather Weather in celsius

getme weather -f Weather in fahrenheit

getme forecast Forecast of five days ahead in celsius

getme forecast -f Forecast of five days ahead in fahrenheit

getme-weather

Get Currency

getme currency -s JPY,BRL,CAD Get JPY, BRL and CAD currencies where base currency is USD (USD is default if no base currency is set)

getme currency -b EUR -s USD,BRL Get USD and BRL currency where base currency is EUR

getme-currency

Currency options

Most common base currencies to be passed as parameter:

  • USD (Dollar) Default
  • EUR (Euro)

For entire list of possible currency initials: European Central Bank

Get you public and network IP addresses

getme ip

getme-ip

Get your internet download/upload speed, and your ping

getme speed

getme-speed

Get word definitions (Only works for english words)

getme definition chair Get definitions for the word chair

getme-definition

Get word synonyms

getme definition -s teacher Get synonyms for the word teacher

Get text translations

getme translation --fromto en-pt --text The book is on the table Translate from English to Portuguese "the book is on the table" becomes "O livro está sobre a mesa"

getme translation --fromto es-en --text El libro está sobre la mesa Translate from Spanish to English "El libro está sobre la mesa" becomes "The book is on the table"

All text after the --text flag will be interpreted as text to be translated

--fromto works as a pair of language codes separated by a hyphen ("from"-"to"). For example, en-ru indicates translating from English to Russian.

To get a list of all the possible --fromto combinations, type

getme translation --list or getme translation -l

getme-translation

Get inspirational quotes

getme quote getme q

getme-quote

Upload files and generate links

Usage: getme upload 'path/to/file' Example: getme upload ~/Desktop/test.txt

Setting custom link expiration

Example: getme upload ~/Desktop/test.txt -e 1w

File is uploaded and link will expire in one week

If no expiration is declared, default link expiration is 14 days

Expiration can be in

  • days. Example: '1d', '10d'
  • weeks. Example: '1w', '5w'
  • months. Example: '1m', '5m'
  • years. Example: '1y', '5y'

getme-upload

Important:

After the file is downloaded from the generated link, just once, this link will no longer work, it will be destroyed. They call file.io the snapchat for files

File is anonymous and is erased after link expires also, and cannot be retrieved later by accesing the generated link

Read more in file.io

Contributing

We'd love to have your helping hand on getme!

See CONTRIBUTING.md for more information on what we're looking for and how to get started.

License

MIT License @ Gabriel Godoy

getme's People

Contributors

gabrielgodoy-zz avatar olegon avatar

Watchers

James Cloos avatar Ayoub Dardory avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.