KasRoudra / httpserver

Create a http server in your pc to access files from any other devices under same Wi-Fi!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LocalHTTPServer

[+] Created By KasRoudra

[+] Description :

LocaLHTTPServer is a tool to create a simple http server in local network. Anyone under same wifi/router can access the folder you shared.

Share files under same Wi-Fi!

[+] Installation

git clone https://github.com/KasRoudra/httpserver

cd httpserver

chmod +x hs.py

python hs.py

Or

Download executable file from Releases

Or, Use Single Command

But before that you need to make sure that you have the prerequisites installed.

Install tkinter with your operating system package manager and using pip3 as a package (A package manager for Python packages)

For Debian/Ubuntu

sudo apt install python3-tk

For CentOs/RHEL

sudo yum install python3-tkinter

For MacOs

brew install python-tk

Then install it using pip3

pip3 install tk

Now you're ready, Run this single command to start the application.

git clone https://github.com/KasRoudra/httpserver && cd httpserver && chmod +x hs.py && python hs.py

You can change both port and shared folder. Without change default port will be 8000 and default folder will be the folder from which the file is executed!

[+]!Caution:

You must need "Python" installed in your operating system. And you also have to enable python from "Windows Firewall". If you can't enable python from firewall, you may need to disable firewall while using server!

Your sharing link will be like "http://192.168.0.105:8080". Make sure you are connected to router/Wi-Fi and you are not using "https"!

[+] Find Me on :

  • facebook
  • messenger
  • email

About

Create a http server in your pc to access files from any other devices under same Wi-Fi!

License:GNU General Public License v3.0


Languages

Language:Python 100.0%