Skip to content

Experiments with a declarative survey builder, using huh? and lipgloss.

Notifications You must be signed in to change notification settings

kristofferahl/dhuh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dhuh?

Declarative survey builder, using huh? and lipgloss.

Goal

  • Make it easy to collect user data without the need for complicated scripts
  • Data validation
  • Easy access to and formatting of collected data

Use cases

  • Collecting data for scaffolding
  • Collecting feedback without leaving the terminal

State

Currently it's more a proof of concept. Lot's of stuff missing

Roadmap

No real plan has formulated yet, but there are some key things missing

  • Support for password fields (input)
  • Command for reading (and formatting) answers
  • Validation
  • Dynamic options
  • Show/Hide groups and fields based on conditions
  • vhs demo

More ideas

  • More output options (call webhook, send email, ...)
  • Support for form groups (with custom actions running after each group)

Give it a spin

go mod download
go run . survey.yaml

About

Experiments with a declarative survey builder, using huh? and lipgloss.

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages