Green_ash - a keyboard-driven LiveView console to probe your Ash resources

green_ash is a keyboard-driven, green-screen LiveView console — reminiscent of AS/400-style terminal screens — generated entirely by introspection from your Ash resources. Zero UI code.

Install (discovers your Ash domains and patches your router automatically):

mix igniter.install green_ash

Or mount it manually:

import GreenAsh.Router

scope "/" do
  pipe_through :browser
  green_ash "/cli"
end

Any Ash resource in an exposed domain then shows up in the console: lists with filtering/sorting/pagination, create, business-action updates, confirmed destroy, resource inspection, actor & policies, and Vim-style commands to navigate.

The library is decoupled from the host app (own components, dynamic domain reads at runtime) and tested against the ETS data layer, so no Postgres is required to try it.

This is an early release (0.1.0), MIT licensed. Feedback and suggestions are very welcome.

Hex: green_ash | Hex
Docs: https://green-ash.hexdocs.pm/

4 Likes