exposy v2.2.1
exposy-cli
CLI tool to expose localhost port to internet via exposy server
Installation
npm install -g exposy
Usage
Run
exposy configto configure exposy-server settings
exposy start -p <any local app's port>Run
exposy -hfor help menu
What is Exposy ?
Exposy is a solution for exposing developer's local HTTP APIs over Internet using a single command.
How does Exposy work?
Exposy system has 2 components:
- exposy-server
exposy-server is a web socket server & http server,that needs to be hosted & made available over internet. This proxies http requests coming over internet to exposy-cli socket client via a unique http end point specific to developer's machine & specified port. See design diagrams to know more.
- exposy-cli
exposy-client is npm based CLI that needs to be installed on developer's system. It connects to exposy-server via web sockets & interchanges data to & from localhost web apps by calling localhost & sending response back to exposy-server over socket.See design diagrams to know more.
Design Diagrams
Overall Design

Exposy CLI Design

Exposy Server Design
