MCPcopy
hub / github.com/shobrook/rebound

github.com/shobrook/rebound @v2.0.0 sqlite

repository ↗ · DeepWiki ↗ · release v2.0.0 ↗
53 symbols 126 edges 6 files 16 documented · 30%
README

rebound

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.

Placeholder Demo

Featured in: 50 Most Popular Python Projects in 2018, the top of r/Python, awesome-cli-apps, awesome-shell, terminals-are-sexy, and awesome-mac.

Installation

Requires Python 3.0 or higher.

Rebound works on MacOS, Linux, and Windows (if you use Cygwin), with binary downloads available for every release. You can also install it with pip:

$ pip install rebound-cli

or apt-get if you're using Linux:

$ sudo apt-get install rebound-cli

Usage

Running a file with rebound is just as easy as compiling it normally:

$ rebound [file_path]

This will execute the file, pull the error message, and let you browse related Stack Overflow questions and answers without leaving the terminal.

Supported file types: Python, Node.js, Ruby, Golang, and Java.

Contributing

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 and I'll take care of it!

Pending Features: * Improved text formatting (i.e. for duplicate questions, markdown, blockquotes, clickable links, etc.) * Improved search result accuracy by extracting potential search terms from the stack trace * Support for more languages

Technologies

Rebound is written in Python and built on Urwid. Beautiful Soup is used to scrape Stack Overflow content and subprocess for catching compiler errors.

Acknowledgements

Special thanks to @rndusr for helping with the scrollbar.

Core symbols most depended-on inside this repo

_get_original_widget_size
called by 4
rebound/rebound.py
set_scrollpos
called by 4
rebound/rebound.py
get_scrollpos
called by 3
rebound/rebound.py
stylize_code
called by 2
rebound/rebound.py
souper
called by 2
rebound/rebound.py
search_stackoverflow
called by 2
rebound/rebound.py
sizing
called by 2
rebound/rebound.py
_get_selected_link
called by 2
rebound/rebound.py

Shape

Method 32
Function 17
Class 4

Languages

Python100%

Modules by API surface

rebound/rebound.py50 symbols
tests/python_test.py3 symbols

For agents

$ claude mcp add rebound \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact