An simple HTTP Server in Node JS!
- Listing directory (to turn listing directory on, edit http.js, find
listingDir = false
and change it to true)
- To download this source, press code -> download as zip
- Extract the zip into Desktop
- Download and install Node JS = https://nodejs.org/en/download/
- After you download and install Node JS, do cd your location where you put the http.js first, and then do
node http.js
- Download and install termux in f-droid = https://f-droid.org/en/packages/com.termux/
- Do
pkg update
for update the termux packages - and then do
pkg install git nodejs nano -y
- and then do
https://github.com/GuckTubeYT/HTTPServer
and thencd HTTPServer
- before do
node http.js
you must change the port to 8080 or 8000 (For non root phone) - and then do
node http.js
- Add more mime type