akshayKMR / hogwatch
- воскресенье, 1 мая 2016 г. в 03:11:31
JavaScript
find out what's hogging your internet connection.
I built this project for my college assignment. It's my first python project/package for that matter. I am really overwhelmed by the response. However the project is still very much unifinished.
Here are somethings that need to be fixed/added for eg.
pip install hogwatch
As hogwatch runs a light web server. you can view using either
sudo hogwatch
sudo is needed for nethogs. Its a bad idea to run the whole process as root. need to fix this.Web browser: sudo hogwatch server
view at localhost:6432
default port. for custom port specify port egsudo hogwatch server 8010
. You can see this output from other devices on the network by specifying ip
in place of localhost.
Menubar: currently just for testing. got to menubar folder for instructions
git clone https://github.com/akshayKMR/hogwatch.git
cd hogwatch
pip install -r requirements.txt
sudo python setup.py install
sudo ./hogwatch
sudo ./hogwatch server
for only server accessible at localhost:6432Hogwatch uses a light python webserver(bottle) feeding nethogs trace mode output to the frontend (Vue.js) using websockets. You can contribute in Python/C++/Javascript.
Copyright Akshay Kumar akshay.kmr4321@gmail.com
MIT