localhoster

A minimal-configuration localhost port-forwarding system.

npm install localhoster
1 downloads in the last week
4 downloads in the last month

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

  1. Install localhoster with npm install -g localhoster
  2. Create a ~/.localhoster file -- something like this:
{
  "http://mytestsite.dev": "3000",
  "https://mytestsite.dev": "4000"
}
  1. There is no step 3. http://mytestsite.dev now forwards to localhost:3000, and https://mytestsite.dev forwards to localhost:4000.
npm loves you