RubyGems Navigation menu

whatsa 0.3.1

Whatsa is a CLI app that allows you to search a word or phrase and receive a quick summary about that subject. It searches your query on Wikipedia and finds the page you're most likely looking for. If you've been somewhat vague, or your search term could refer to multiple things, it will ask you to select from a disambiguation of topics. Usually, however, your term will go straight to an article. Whatsa then gives you the first paragraph of that article (often a surprisingly decent summary). If you're not super satisfied with that bit of information (and you need to know a little more) you can type `more` to get a better picture of that subject. If you're _still_ not satisfied, and you want to know something _specific_ about the thing you've searched, type `other`, and it will list the categories of information Wikipedia knows about the subject (its "History", "Early Life", "Uses", etc.). You can select one of those sections, if you'd like, and it will give you the first paragraph of that section, too (which you can extend similarly with another `more` command). You can make a new query with `new`, ask for help at any time with `help`, or exit the application with `exit`.

Gemfile:
= Copy to clipboard Copied!

Installeer:
=

Versies:

  1. 0.4.1 - October 07, 2018 (12 KB)
  2. 0.4.0 - October 06, 2018 (12,5 KB)
  3. 0.3.2 - December 01, 2016 (12 KB)
  4. 0.3.1 - December 01, 2016 (12 KB)
  5. 0.3.0 - December 01, 2016 (12 KB)
Toon alle versies (15 totaal)

Development afhankelijkheden (4):

bundler ~> 1.13
nokogiri >= 0
pry >= 0
rake ~> 10.0

Eigenaren:

Authors:

  • Keegan Leitz

SHA 256 checksum:

1f86b6270393ec2ba6e40eb6eda25230cdd847cdc2c93c0bdcf774d7fc151d1d

Total downloads 25.667

Voor deze versie 1.671

Licentie:

MIT

Required Ruby Version: >= 0

Links: