Spring Boot Starter to share your localhost Spring Application with an external url.
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.
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
Actual version is 3.0
- Maven:
<dependency>
<groupId>com.github.migangqui</groupId>
<artifactId>localhost-run-spring-boot-starter</artifactId>
<version>3.0</version>
</dependency>
- Gradle:
implementation 'com.github.migangqui:localhost-run-spring-boot-starter:3.0'
https://mvnrepository.com/artifact/com.github.migangqui/localhost-run-spring-boot-starter
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
- Based in similar ngrok starter: https://github.com/kilmajster/ngrok-spring-boot-starter
- https://localhost.run/