An open-source alternative to Retool is Budibase - https://www.budibase.com/

Edit: It was apparently already on there.

well, the Github link is broken. For viewers, it should point to:

https://github.com/Budibase/budibase