{"repo":"kilmajster/ngrok-spring-boot-starter","free":true,"listed":false,"github":"https://github.com/kilmajster/ngrok-spring-boot-starter","clone":"git clone https://github.com/kilmajster/ngrok-spring-boot-starter.git","description":"🚀 Spring Boot tunneling with Ngrok made easy! No matter if you are using Windows, Mac OS X, Linux or even Docker - ngrok binary will be chosen automatically 🤖 so you don't need to care about environment changing etc. auto-configuration magic 🧙‍♂️","language":"Java","stars":135,"topics":["ngrok","spring-boot","tunneling","port-forwarding","java","springboot","spring","springboot-starter","linux","http-tunnel"],"license":"MIT","category":"networking-infra","readme_excerpt":"Ngrok Spring Boot Starter What is Ngrok? tldr; Ngrok can create a http tunnel and give you a public URL with redirection to specified port on your local machine, which in our case will be a standard springs http://localhost:8080 or whatever you set as server.port springs property. Tunnels created with free version will be available for 2 hours, so it is a great tool for development and testing purposes! For more details you can check out their site. What this starter gives to you? This starter will automatically download Ngrok binary corresponding to your operating system (Windows, Linux, OSX or even Docker) and then cache it into home directory/.ngrok3 . If Ngrok binary is already present in the PATH, download will be skipped. Then every time you will run your Spring Boot application, Ngrok will automatically build http tunnel pointing to your springs web server, and you will get pretty logs with the remote links, just like it's done below 👇 Code of demo application is available here for spring-boot v2 and here for v3. Dependency - maven: - or gradle: Configuration 🚀 Minimal configuration ngrok.enabled To enable this starter, add following property: ngrok.authToken Ngrok requires authToken to be defined, to obtain one visit https://dashboard.ngrok.com/get-started/your-authtoken and then add it like below: If you got already configured auth token in your ngrok config file there is no need to define this property. ✅ All done, configuration is ready! What will happen now? If ","default_branch":null,"files":null,"tree":[],"storefront":"/r/kilmajster","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kilmajster/ngrok-spring-boot-starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}