1.1.2 • Published 5 years ago

httpsme v1.1.2

Weekly downloads
1
License
Apache-2.0
Repository
-
Last release
5 years ago

HTTPS Me

A simple Command Line tool to help your http endpoints look like https

Create https proxies on localhost to other ports, IP's and URLs

Prerequisite

mkcert is a tool for generating locally self-signed certificates, these will be needed to enable HTTPS

First, install mkcert from here

Usage

First install the package

npm i -g httpsme

You can view the help information with

httpsme --help

Then run the application with the list of ports or URLs you want to proxy

httpsme expects to be called with a list of ports/urls to proxy in the form of

httpsme HTTPSPort-ProxyEndpoint
httpsme 5501-40839
httpsme 5502-localhost:40839
httpsme 5503-192.168.99.100:32768
httpsme 5504-http://localhost:40839
httpsme 5505-https://www.google.com

Any from of the above Port-ProxyEndpoint combinations are acceptable

Multiple proxies may be started at once using:

httpsme HTTPPort1:ProxyEndpoint1 HTTPPort2:ProxyEndpoint2 ...etc
httpsme 5501-40839 5502-localhost:40839 5503-192.168.99.100:32768 http://www.google.com

You may also be able to transform a current HTTP port to HTTPS using the following, provided your server allows

httpsme HTTPPort
httpme 5500

And when combined with multiple other proxies

httpsme 5500 5501-40839 5502-localhost:40839

Running Dev

  1. Clone the repo
  2. Install dependencies
npm i
  1. Install the instance globally
npm i -g
  1. Link to your global NPM scope
npm link
  1. Use httpsme
httpsme --help