Skip to content

Commit e18eb52

Browse files
committed
README
1 parent 1222400 commit e18eb52

File tree

2 files changed

+51
-1
lines changed

2 files changed

+51
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
APP_NAME = portsicle-client
1+
APP_NAME = portsicle
22
PKG_DIRS = ./cmd
33
OUTPUT_DIR = ./bin
44
GO_FILES = $(shell find $(PKG_DIRS) -type f -name '*.go')

README.md

+50
Original file line numberDiff line numberDiff line change
@@ -1 +1,51 @@
11
## Portscile Client
2+
3+
- Portsicle is a free and open-source Ngrok alternative to expose local servers online.
4+
5+
- Portsicle client allows you to use the <a href="github.com/portsicle/portsicle-server">Portsicle Server</a> via CLI.
6+
7+
## Installation guide
8+
9+
- Install the provided binary from latest release.
10+
11+
- Give executeable permission to the binary `chmod +x ./portsicle-client`.
12+
13+
- Use the CLI to run the client:
14+
15+
```
16+
./portsicle http -p 3000
17+
```
18+
19+
> note that `3000` is the port of your local server, which you want to expose on public network.
20+
21+
## CLI Usage
22+
23+
```
24+
./portsicle --help
25+
26+
Usage:
27+
portsicle [command]
28+
29+
Available Commands:
30+
completion Generate the autocompletion script for the specified shell
31+
help Help about any command
32+
http Expose local http port
33+
34+
Flags:
35+
-h, --help help for portsicle
36+
-t, --toggle Help message for toggle
37+
38+
Use "portsicle [command] --help" for more information about a command.
39+
```
40+
41+
```
42+
./portsicle http --help
43+
Expose local http port
44+
45+
Usage:
46+
portsicle http [flags]
47+
48+
Flags:
49+
-h, --help help for http
50+
-p, --port string Port on which your local server is listening. (default "8888")
51+
```

0 commit comments

Comments
 (0)