noelukwa / localbase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

installation

go install github.com/noelukwa/localbase@latest
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:

localbase start

start the localbase service in detached mode:

localbase start -d

add a new domain:

localbase add hello --port 3000

✨ now visit https://hello.local

remove a domain:

localbase remove hello

list all configured domains:

localbase list

stop the localbase service:

localbase stop

About

License:MIT License


Languages

Language:Go 87.1%Language:Shell 12.9%