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

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

© 版权声明
THE END
喜欢就支持一下吧
点赞5 分享
A good idea without action is worth nothing.
如果没有切实执行,再好的点子也是徒劳
评论 抢沙发

请登录后发表评论

    暂无评论内容