2.0.0 • Published 1 year ago
pubhtmlhere v2.0.0
pubhtmlhere
what is this?
for the target DIR. (Recursion)
where u exe. the command
rnu a static http server
and give a index.html for all the content in DIR.
as following
Index of /
Name Last modified Size
Parent Directory
x.txt 2022-09-20 at 07:29:27.704 2
y.txt 2022-09-20 at 07:29:27.708 2
z.txt 2022-09-20 at 07:29:27.700 2
install
sudo npm i -g pubhtmlhere
IDK how 2 install if u don't have sudo (lol)
how 2 use
just type
pubhtmlhere
in bash
and it will work!
default port
48489
use ur own port
run
pubhtml up -p=12345
where 12345 is the port u want
help
type
pubhtml up -h
if u need any help
USE PYTHON
node index.js up -t -p 8000
TODO
- check if usr installed python
- python & python3 let usr can change
test ok on
os
ubuntu22
x86_64
node version
v16.18.0