Sounds like a good idea. You probably want to ask on pgsql-www. I imagine it would have to be coded against this:
https://git.postgresql.org/gitweb/?p=pgweb.git A working patch would probably be nice to get things started. but I recognize it's a little bit of chicken-and-egg. Cheers, Greg