Skip to content

One liner servers in different languages .Expose your local directory to 127.0.0.1 instantly.

Notifications You must be signed in to change notification settings

W1LDN16H7/Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What's New

All one line server script

This bash script can save a lot of time for you

Just execute it on your system and run a local server

Install

Clone the repo

And mv server to a local bin so you can access it from anywhere

Change the permission to executable

git clone https://github.com/W1LDN16H7/Server.git
cd Server && sudo mv server /usr/local/bin
sudo chmod +x /usr/local/bin/server

Now you are ready to fire

Usage

For Listing The Servers run

sudo server list

For running a server run

sudo server <server> <port>

without these < > sign

Examples

  • Starting a python server
server python3 8000

This will start a server on localhost


  • Starting a php server
server php 8000

And a server will start on localhost

  • Starting a Golang server
server go 8000

And so on

Add more

Add more one line server in the list or suggest me I will come with updated version

License

This is free to use and modify all you have to do is to give a star to the script

Also you can Follow me

About

One liner servers in different languages .Expose your local directory to 127.0.0.1 instantly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages