Local.dev Save

:package: Allow localhost:port to be renamed to any url possible a.k.a the port forwarding for local hosting

Project README

Local.dev NPM Package Downloads NPM Package Version

:bangbang: only works on Windows for multiple port forwarding :bangbang:

Mac users, please read the known issues part before installing the package.

Port forwarding and renaming on localhost made easy

Demo

Local.dev offers you a simple command line to improve your node workflow by providing easy and persistant port forwading on localhost.

Did you already struggled to remember all of those localhost:port that you juste create ? Or don't you want to rename the boring localhost:8080 to whatever.dev ? Because I did !

With local.dev, you can rename any localhost:port to any name possible, you don't even need to add a domain dot if you don't feel like it.

:cd: Installation

npm install -g local.dev

:zap: Usage

Every command can be made with localdev instead of local.dev.

Add a new local.dev url. You will need the root priviliges for this one

local.dev add 8080 this-cool-url

List all of your local.dev active

local.dev list

Remove a local.dev

local.dev rm this-cool-url

:calendar: Future updates

  • Windows compatibility
  • Linux compatibility
  • Remove command
  • Persistant host on Mac
  • Multiple port forward on Mac

:scream: Known issues

The local.dev is reset if the mac shutdown.

To set it again, you have to delete it first with local.dev rm your-site . It's a work in progress for this one, I have to find a good solution to edit the pf.conf file.

Mutliple local.dev doesn't work on mac, still a problem with pf.conf.

Renaming only one localhost at a time makes this package useless on Mac, I wouldn't recommend using it for the moment. Work in progress.

Open Source Agenda is not affiliated with "Local.dev" Project. README Source: bbeldame/local.dev
Stars
33
Open Issues
2
Last Commit
6 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating