Host your directory on your private IP and the port number of your choice in a single command from your terminal.
First cd to your directory which you want to host.
Open the terminal and type :
dirhoster
NOTE : To host on a specific port use dirhoster port_number.
Open your terminal and type :
git clone https://github.com/Pranav-Bhaskar/DirHoster.git
to download the files necessory.
Type :
cd DirHoster
to change the current directory.
chmod 755 install
to give executable permitions to the install file.
Run :
./install
to install the software.