localhost-run-spring-boot-starter

localhost.run Spring Boot Starter

GitHub last commit Maven Central

Spring Boot Starter to share your localhost Spring Application with an external url.

What is localhost.run?

localhost.run is an SSH server just for remote port forwarding. When a user connects to localhost.run, they get a public URL that anybody can use to connect to their localhost server.

How works this starter?

When you add this dependency to your pom.xml and configure it, you’ll automatically get a public url to your local server in application logs:

Remote access to application with url https://abcd1234.lhr.life

## Dependency

Actual version is 3.0

com.github.migangqui localhost-run-spring-boot-starter 3.0

* Gradle:
 ```groovy
implementation 'com.github.migangqui:localhost-run-spring-boot-starter:3.0'

https://mvnrepository.com/artifact/com.github.migangqui/localhost-run-spring-boot-starter

Configuration

You must enable localhost.com runner adding the following property:

localhost-run:
    enabled: true

By default, the subdomain to generate URL is lhr.life. If localhost.run changes its subdomain, we can set by property:

localhost-run:
    subdomain: lhr.life

References