Spring Web Console: Execute Groovy scripts directly in your browser with access to the Spring context

Hey folks! I built a small library that lets you execute Groovy scripts right from your browser inside a running Spring Boot app — with full access to your Spring beans. It’s super easy to set up: just add the dependency and run your app. You’ll get a web-based console where you can explore, debug, and experiment with your application using Groovy scripts. Some features: Plug in your own script storage Optional interceptors Spring Security integration Compiler customization ...and more This idea came from a past job, where we used something similar for applying dynamic hot-fixes and experimenting with complex logic. It turned out to be incredibly useful for debugging and testing — so I decided to open-source my own version. It’s probably not something you'd want to run in production — but for development and internal use, it can be a great tool. If that sounds interesting, I’d love to hear your feedback! Github

Apr 1, 2025 - 16:02
 0
Spring Web Console: Execute Groovy scripts directly in your browser with access to the Spring context

Hey folks!

I built a small library that lets you execute Groovy scripts right from your browser inside a running Spring Boot app — with full access to your Spring beans.

It’s super easy to set up: just add the dependency and run your app. You’ll get a web-based console where you can explore, debug, and experiment with your application using Groovy scripts.

Some features:

  • Plug in your own script storage
  • Optional interceptors
  • Spring Security integration
  • Compiler customization
  • ...and more

This idea came from a past job, where we used something similar for applying dynamic hot-fixes and experimenting with complex logic. It turned out to be incredibly useful for debugging and testing — so I decided to open-source my own version.

It’s probably not something you'd want to run in production — but for development and internal use, it can be a great tool.

If that sounds interesting, I’d love to hear your feedback! Github