A minimal-configuration localhost port-forwarding system.


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.

  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.