https://github.com/fabiandev/mylt
A wrapper for custom localtunnel servers.
https://github.com/fabiandev/mylt
javascript localtunnel localtunnel-server
Last synced: about 2 months ago
JSON representation
A wrapper for custom localtunnel servers.
- Host: GitHub
- URL: https://github.com/fabiandev/mylt
- Owner: fabiandev
- License: mit
- Created: 2016-12-20T14:08:22.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-13T16:42:01.000Z (over 8 years ago)
- Last Synced: 2025-01-31T03:05:24.095Z (8 months ago)
- Topics: javascript, localtunnel, localtunnel-server
- Language: JavaScript
- Size: 14.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mylt
A simple [localtunnel](https://github.com/localtunnel/localtunnel) client helper to make it easier to use with a custom [localtunnel server](https://github.com/localtunnel/server).
## Quick Start
```sh
$ npm install -g localtunnel mylt
$ mylt set port 5000
$ mylt set host https://tunnel.example.tld:1234
$ mylt list
$ mylt run --open
```
## Commands### set
You can set any localtunnel option, to pass it on as default value when running `mylt run`.
If no value is passed, `true` will be used.```sh
$ mylt set [value]
```### unset
Removes a previously set default value.
```sh
$ mylt unset
```### trust
This accepts self-signed certificates from the server. It is an alias for `mylt set trust`
and can be removed with `mylt unset trust`. There is a native command, because it is not
part of the localtunnel options.```sh
$ mylt trust
```### list
Lists all previously set default values.
```sh
$ mylt list
```### run
Executes `lt` with the set default options. To override defaults, just specify them,
e.g. `mylt run --port 8080`. This will use port `8080` even if `5000` was set as default,
as shown in the example below.```sh
$ mylt run --port 8080 --open
```## Options
### --help
Shows a help message, listing all commands and options.
```sh
$ mylt --help
```### --version
Shows the `mylt` version.
```sh
$ mylt --version
```