- Windows users - please install WSL in order to be able to run this project, for more info click here.
-
Clone the repository via
git clone <www_repo_link> -
(Recommended) setup a Python virtual environment as follows:
python3 -m venv venv
. ./venv/bin/activate- Install the dependencies via
pip install -r requirements.txt - Make the shell script executable via
chmod +x ./www.sh
To see all available options for CLI, type ./www.sh --h
There are mainly 3 ways of running this tool:
-
Interactively, by running
./www.sh(no arguments) -
By supplying a query directly:
./www.sh --q <query to search>For example
./www.sh --q no such file -
By executing a terminal command:
./www.sh <command to run>This will execute the command and use the resulting stderr, along with the command itself as the query.
For example,
./www.sh python demo_error_1.py
Currently we support StackOverFlow Threads and GitHub Issues, adding support to new website can be done by implementing the Parser class (that can be found in site_parser.py) and adding the new implemented class to parsers list in main.py
- Fork this repo.
- Open a new branch (locally) and start working on it.
- Push it.
- Create a new pull request. (Thank you! ❤️)