Home

Awesome

stackit

stackit is a Stack Overflow query CLI built at SB Hacks 2015.

Features

Installation

There are two ways to install stackit. Both should have roughly the same outcome, but have their advantages/disadvantages.

1. PyPI/pip

This method will always produce some stable build, but may not be the most up to date version. New functionality will come slower than building from this repo.

$ pip install stackit

Note, depending on your computer's settings, you may need to sudo pip install stackit.

2. Build from this repo

This method will always include the latest features, but sometimes will not work at all. Oops!

Clone the repo, then use setup.py to install the package. Note, this process will differ only slightly in a non-bash shell.

$ git clone https://github.com/lukasschwab/stackit.git
$ cd stackit
$ python setup.py install

Note, depending on your computer's settings, you may need to sudo python setup.py install.

Usage

The install process establishes an alias, stackit, for stackit_core.py's functionality. Instead of using python stackit_core.py, you will always simply use stackit at the command prompt.

<p align="center"><img src="http://i.imgur.com/Y9hpErQ.gif"></p>

Command line arguments

Interface flow commands

Examples

To search Stack Overflow for "How do I create a bash alias" with the tags, "shell";

$ stackit -s "How do I create a bash alias?" -t "shell"

Thanks

stackit uses several pre-existing projects:

Contributing

If you want to write code:

  1. Fork the repository
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'add some feature')
  4. Push to your branch (git push origin my-new-feature)
  5. Create a new Pull Request

SB Hacks 2015 team