Skip to content

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

License

Notifications You must be signed in to change notification settings

noelukwa/localbase

Repository files navigation

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

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published