This is a brief description of the recently released openutils-mgnlgroovy module.
openutils-mgnlgroovy is an open source custom Magnolia module which adds a console for running groovy scripts inside the magnolia admin interface. Nothing fancy, but a very handy tool, which allows for leveraging all the power of Groovy+Java within Magnolia for all kinds of administrative tasks, without the need for precompiling and deploying any Java class just to accomplish a simple task.
After installation, you should see a new groovy menu item under tools, like in the picture below
You can upload your scripts or write them directly in the editor. In both cases you get 'real-time' syntax highlighting and line numbers which can be very useful to spot problematic instructions in case of errors during script compiling or execution.
In the upper right corner of the module you can see the groovy version detected in the classpath at module bootstrapping.
As an example of what you can do with Groovy+ Magnolia here is a small script to lexicographically sort some nodes in the jcr repository based on one of their properties.
Notice how the dynamic nature of Groovy and the syntactic sugar it adds to plain Java allows for a very compact, clean and readable code. This is just a trivial example but the facilities Groovy provides to easily carry out all sorts of tasks, from interacting with relational databases, to read and write xml, spreadsheets etc makes it, in my experience, an indispensable aid to working with Magnolia.