| 1 | # rebound |
| 2 | |
| 3 | Rebound is a command-line tool that instantly fetches Stack Overflow results when you get a compiler error. Just use the `rebound` command to execute your file. |
| 4 | |
| 5 |  |
| 6 | |
| 7 | __Featured in:__ [50 Most Popular Python Projects in 2018](https://boostlog.io/@bily809/50-most-popular-python-projects-in-2018-5aea8e1c47018500491f4361), the top of [r/Python](https://www.reddit.com/r/Python/comments/8cwq72/i_made_a_commandline_tool_that_instantly_fetches/), [awesome-cli-apps](https://github.com/agarrharr/awesome-cli-apps), [awesome-shell](https://github.com/alebcay/awesome-shell), [terminals-are-sexy](https://github.com/k4m4/terminals-are-sexy), and [awesome-mac](https://github.com/jaywcjlove/awesome-mac). |
| 8 | |
| 9 | ## Installation |
| 10 | |
| 11 | >Requires Python 3.0 or higher. |
| 12 | |
| 13 | Rebound works on MacOS, Linux, and Windows (if you use Cygwin), with binary downloads available for [every release.](https://github.com/shobrook/rebound/releases) You can also install it with pip: |
| 14 | |
| 15 | `$ pip install rebound-cli` |
| 16 | |
| 17 | or apt-get if you're using Linux: |
| 18 | |
| 19 | `$ sudo apt-get install rebound-cli` |
| 20 | |
| 21 | ## Usage |
| 22 | |
| 23 | Running a file with `rebound` is just as easy as compiling it normally: |
| 24 | |
| 25 | `$ rebound [file_path]` |
| 26 | |
| 27 | This will execute the file, pull the error message, and let you browse related Stack Overflow questions and answers without leaving the terminal. |
| 28 | |
| 29 | __Supported file types:__ Python, Node.js, Ruby, Golang, and Java. |
| 30 | |
| 31 | ## Contributing |
| 32 | |
| 33 | To make a contribution, fork the repo, make your changes and then submit a pull request. Please try to adhere to the existing style. If you've discovered a bug or have a feature request, create an [issue](https://github.com/shobrook/rebound/issues/new) and I'll take care of it! |
| 34 | |
| 35 | __Pending Features:__ |
| 36 | * Improved text formatting (i.e. for duplicate questions, markdown, blockquotes, clickable links, etc.) |
| 37 | * Improved search result accuracy by extracting potential search terms from the stack trace |
| 38 | * Support for more languages |
| 39 | |
| 40 | ## Technologies |
| 41 | |
| 42 | Rebound is written in Python and built on Urwid. Beautiful Soup is used to scrape Stack Overflow content and subprocess for catching compiler errors. |
| 43 | |
| 44 | ## Acknowledgements |
| 45 | |
| 46 | Special thanks to [@rndusr](https://github.com/rndusr) for helping with the scrollbar. |