0.3.2 • Published 12 months ago

tunnel-vision v0.3.2

Weekly downloads
-
License
-
Repository
-
Last release
12 months ago

tunnel-vision

An ngrok alternative backed by AWS Lambda, SQS, and serverless.

how to use

To use tunnel-vision you need to have an aws account, that has already set up the necessary prerequisite for this client to connect.

  • install from npm
npm i -g tunnel-vision
  • create your configuration file. A minimum configuration would look something like this
AWS_REGION="ap-southeast-1"

TARGET_HOST="https://example.com"
REMOTE_HOST="https://remoteproxy.myapigateway.com"
REQUEST_QUEUE="https://sqs.ap-southeast-1.amazonaws.com/0000000/request-queue"
RESPONSE_QUEUE="https://sqs.ap-southeast-1.amazonaws.com/000000/response-queue"
  • setup your aws credential in ~/.aws/credentials
[tunnelvision]
access_key_id: AKIAXXXXXXXXXXXX
secret_access_key: XXXXXXXXXXXXXXXXXXXXX
  • run the program
AWS_PROFILE="tunnelvision" tunnel-vision -c path/to/configuration-file

or you can put the configuration file to ~/.tunnelvision and run the program

AWS_PROFILE="tunnelvision" tunnel-vision
0.3.2

12 months ago

0.3.1

12 months ago

0.2.6

1 year ago

0.2.3

1 year ago

0.2.2

2 years ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago