Simple project on Python that allow you to found solutions from codegrepper and display them in terminal.
output.mp4
P.S Why Youtube, everything is simple I am using music from there, so I should use this platform.
Project is not finished:
- Codegrepper parsing
- Linux support
- CI/CD on GitHub actions
- Linux .deb / .rpm packages
- Windows binaries
- Stackoverflow parsing.
The project uses selenium with Chrome driver this is because all content is generated by javascript , so there is hard to scrap website using only requests or bs4. As an cli part the argparse was choosen. The binary is build using pyinstaller and makefile. Enjoy it.
There are three ways todo it:
- download binary and copy it to /usr/bin and install config
mkdir tmp && cd tmp
wget https://github.com/alex5250/grepper_py/releases/download/v0.01-Linux/grepper_py
sudo cp grepper_py /usr/bin/grepper_py
wget https://raw.githubusercontent.com/alex5250/grepper_py/main/config_sample.ini
sudo mkdir /etc/grepper.py
sudo cp config_sample.ini /etc/grepper.py/config.ini
sudo chmod 777 /etc/grepper.py
cd ..
rm -rf tmp
- Clone this repo and just run:
git clone https://github.com/alex5250/grepper_py.git
cd grepper_py
make build
make install
- Use .deb /.rpm package (comming soon)
- Windows users download binaries froom release.
- Unstable and fresh binaries can be downloaded from your github actions.
Just run correct make command:
git clone https://github.com/alex5250/grepper_py.git
make develop