task icon indicating copy to clipboard operation
task copied to clipboard

Add a interactive TUI powered by Bubbletea

Open andreynering opened this issue 9 months ago • 5 comments

Use Bubbletea to have a fancy TUI to see a list of tasks, and optionally run then interactively. Would probably be accessible via a --tui flag.

I plan to implement this myself.

andreynering avatar Feb 20 '25 14:02 andreynering

there is a TUI for task already

works really well too.

Have you seen it ?

joeblew999 avatar Apr 16 '25 09:04 joeblew999

@joeblew999 Which one do you mean, specifically? People have linked a couple of them to me in the past years, but I honestly haven't paid much attention to them.

In Google I could find these:

  • https://github.com/aleksandersh/task-tui
  • https://github.com/HeyMegabyte/task-dash

Good point that I should take a look at them! Even then, having an official one integrated into the main binary would be nice. Also, I work for Charm now, so I have a personal interest in building it.

andreynering avatar Apr 16 '25 12:04 andreynering

Have you considered wrapping shell scripts in https://github.com/charmbracelet/gum to gather inputs? instead of a full bubbletea input?

austintalbot avatar Jun 03 '25 18:06 austintalbot

For those interested, I started a branch recently, but it has only the foundations for now, and doesn't do anything useful yet. I plan to work on it slowly.

https://github.com/go-task/task/compare/main...tui


@austintalbot Gum is a good easy way to have some interactivity via scripts (and I work for Charm, by the way!). I think a full featured and polished TUI makes sense, though. It'd be very easy to access via task --tui, without the need of any extra scripts or tools.

andreynering avatar Jun 03 '25 19:06 andreynering

@andreynering I will watch the tui branch. love task.

joeblew999 avatar Jun 04 '25 06:06 joeblew999

Hello, I have opened a draft MR that adds a TUI for interactive input of variables. Is this something that might interest you ?

https://github.com/go-task/task/pull/2379

sashokbg avatar Aug 14 '25 17:08 sashokbg