Command line Wikipedia searching!
Swift
Switch branches/tags
Nothing to show
Latest commit c0dc48f Mar 23, 2017 @chrishannah committed on GitHub Update README.md
Permalink
Failed to load latest commit information.
Command Wiki
cwiki.xcodeproj
README.md Update README.md Mar 23, 2017
Wiki.swift remove unneeded printing Mar 22, 2017
cwiki.gif gif Mar 22, 2017

README.md

cwiki

Wikipedia searching from the command line!

Installation

(This probably isn't the best way, but here it goes)

  1. Download the latest version of cwiki - https://github.com/chrishannah/cwiki/releases.
  2. Open up your terminal app of choice.
  3. Navigate to the folder containing the "cwiki" file.
  4. Add the executable permission to the file: chmod +x cwiki.
  5. Move the file to the usr/local/bin directory so it can be launched as a command: mv cwiki /usr/local/bin.

Then you can run a wikipedia search by typing cwiki followed by your query (If it's a multi-word query you'll need to use speech marks.).

Demo

Demo