Skip to content

loophole/cli

Repository files navigation

Loophole CLI

https://loophole.cloud

Loophole CLI is one of the available loophole clients.

Loophole - Instant hosting, right from your local machine | Product Hunt

Installation

Head over to the releases page 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.

Development

Testing

$ go test -v ./...

Running

# go run cli.go

Building

# go build -o loophole cli.go