gum icon indicating copy to clipboard operation
gum copied to clipboard

huh forms using gum ?

Open lgersman opened this issue 1 year ago • 2 comments

I really love gum. But i also love huh forms (https://github.com/charmbracelet/huh) 😅 !

Are there any plans to integrate huh forms int gum ?

I would really love to just use gum to huh render terminal forms.

One idea to provide a declarative form description to gum/hue would be using a provided JSON Schema (just like https://rjsf-team.github.io/react-jsonschema-form/ does for rendering JSON Schema forms to HTML).

Just an idea...

lgersman avatar Jan 27 '24 15:01 lgersman

Hey @lgersman, we love huh forms and gum as well! We definitely want to integrate huh and gum together. First, we will swap out gum internals to use huh inputs:

  • https://github.com/charmbracelet/gum/pull/484

And, then we will likely also provide some way to build forms using gum as well!

maaslalani avatar Jan 27 '24 19:01 maaslalani

Huh ( :joy_cat: ) - sound promising !

Can't wait for it :heart:

lgersman avatar Jan 28 '24 09:01 lgersman