https://github.com/loophole/cli
Loophole. Instant hosting, right from your local machine. CLI.
https://github.com/loophole/cli
expose-localhost secure ssh tunnel
Last synced: 5 months ago
JSON representation
Loophole. Instant hosting, right from your local machine. CLI.
- Host: GitHub
- URL: https://github.com/loophole/cli
- Owner: loophole
- License: mit
- Created: 2020-05-27T08:16:48.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-18T07:21:57.000Z (over 2 years ago)
- Last Synced: 2024-06-19T00:21:28.526Z (almost 2 years ago)
- Topics: expose-localhost, secure, ssh, tunnel
- Language: Go
- Homepage: https://loophole.cloud
- Size: 10.6 MB
- Stars: 150
- Watchers: 7
- Forks: 15
- Open Issues: 61
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Loophole CLI
https://loophole.cloud
Loophole CLI is one of the available loophole clients.
## Installation
Head over to [the releases page](https://github.com/loophole/cli/releases/latest) and get binary which is suitable for you.
## Quick start
First create an account by executing
```
$ ./loophole account login
```
and following the instructions there, then execute
```
# Forward application running on local port 3000 to the world
$ ./loophole http 3000
```
```
# Forward local directory to the world
$ ./loophole path ./my-directory
```
```
# Forward local directory to the world using WebDAV
$ ./loophole webdav ./my-directory
```
Congrats, you can now share the presented link to the world.
For more information head over to [docs](https://loophole.cloud/docs/).
## Development
### Testing
```
$ go test -v ./...
```
### Running
```
# go run cli.go
```
### Building
```
# go build -o loophole cli.go
```