An open API service indexing awesome lists of open source software.

https://github.com/noelukwa/localbase

localbase is a lightweight tool for provisioning secure .local domains. It simplifies the process of setting up local development environments with HTTPS support.
https://github.com/noelukwa/localbase

golang localhost tunnel

Last synced: 10 months ago
JSON representation

localbase is a lightweight tool for provisioning secure .local domains. It simplifies the process of setting up local development environments with HTTPS support.

Awesome Lists containing this project

README

          

# localbase

localbase is a lightweight tool for provisioning secure .local domains. It simplifies the process of setting up local development environments with HTTPS support.

## requirements

- [caddy](https://caddyserver.com/)
- [go](https://golang.org/)

## installation

```go
go install github.com/noelukwa/localbase@latest
```

```sh
curl -sSL https://raw.githubusercontent.com/noelukwa/localbase/main/install.sh | sudo sh
```

## usage

✨ _ensure caddy is setup and running_

start the localbase service in foreground:

```sh
localbase start
```

start the localbase service in detached mode:

```sh
localbase start -d
```

add a new domain:

```sh
localbase add hello --port 3000
```

✨ now visit [https://hello.local](https://hello.local)

remove a domain:

```sh
localbase remove hello
```

list all configured domains:

```sh
localbase list
```

stop the localbase service:

```sh
localbase stop
```