PSLmodels / Tax-Brain

Tax-Brain is an integrator model for PSL tax models
http://taxbrain.pslmodels.org/
MIT License
8 stars 12 forks source link

Self-hosted GUI #169

Open jhpratt opened 3 years ago

jhpratt commented 3 years ago

While having a programmatic API is awesome (and very powerful), it's certainly not for everyone. Even as a programmer myself, I'd prefer to have a GUI. Would it be possible to share the code used on compute studio such that I could host it myself? This would allow me to run a large number of simulations without using up resources elsewhere.

hdoupe commented 3 years ago

Hi @jhpratt, I just wanted to say that you are welcome to use Compute Studio to run a large number of simulations. That's what it's built for!

The GUI is tightly coupled with the Compute Studio system, but you are welcome to run Compute Studio locally or deploy it yourself: https://github.com/compute-tooling/compute-studio#local-development-the-hard-way

Under the hood, Compute Studio uses ParamTools to build the inputs form and validate user inputs. A project that's been on the back-burner for a long time is to build a TypeScript version of ParamTools that would make it easier to build stand-alone GUI's with it. You can find some more info on that here: https://github.com/PSLmodels/ParamTools/issues/88

You might also find the Compute Studio rest API to be interesting: https://docs.compute.studio/api/guide.html

jhpratt commented 1 year ago

Given that Compute Studio is now offline (and has been for a little bit), it would be wonderful if the source code were released in a more general manner. I'd be open to hosting something, but not if the code isn't out there.