localhoster
v0.0.0
Published
A minimal-configuration localhost port-forwarding system.
Downloads
6
Readme
Localhoster
A port-forwarding system for local web apps. Allows you to easily access localhost
with custom domains under the .dev
TLD. For example, you can forward
mytestsite.dev
=> localhost:3000
.
Heavily inspired by pow and local-tld.
Easy setup
- Install localhoster with
npm install -g localhoster
- Create a
~/.localhoster
file -- something like this:
{
"http://mytestsite.dev": "3000",
"https://mytestsite.dev": "4000"
}
- There is no step 3.
http://mytestsite.dev
now forwards tolocalhost:3000
, andhttps://mytestsite.dev
forwards tolocalhost:4000
.