News for hackers. Stuff that matters.
Re:Dlvhdr/gh-dash: A beautiful CLI dashboard for GitHub by oefrha on Tuesday May 28, 2024 @04:33AM (#40498667)
I’ve used it twice, both times regretted and rewrote in Wails (that is, back to a web view for UI). Problems not limited to:

- (Last I checked, which is <1yr ago) Text rendering is fundamentally done wrong, it can’t access any system font, can only use the built-in font, or exactly one custom font you bundle. Good luck supporting any user-generated or web content from people who don’t use the Latin script.

- Very limited selection of widgets, a problem common to all but a few native frameworks.

- Very limited styling options for the small selection of widgets.

- Looks terrible. Okay for personal/internal stuff, definitely don’t want to ship to end users. (Obviously subjective.)

Re:Dlvhdr/gh-dash: A beautiful CLI dashboard for GitHub by theshrike79 on Tuesday May 28, 2024 @06:45AM (#40499334)
I need to look into Wails, thanks for the tip.

My use-cases would be perfect for a TUI, but I need to be able to display pictures and videos, so I'm stuck with a GUI :)

Tried to do a web ui + local backend setup, but that didn't go too well.

Re:Dlvhdr/gh-dash: A beautiful CLI dashboard for GitHub by withinboredom on Tuesday May 28, 2024 @08:06AM (#40499861)
You can display videos and pictures in the terminal...

mpv --no-config --vo=tct /my/video.mp4

Re:Dlvhdr/gh-dash: A beautiful CLI dashboard for GitHub by oefrha on Tuesday May 28, 2024 @12:28PM (#40502505)
If you want to play videos at 32p…

High resolution images on the other hand is supported natively in many terminals (sixel protocol, iTerm 2 protocol, etc.).