10 minutes of work tweaking a preexisting program and I now have a functional archive file browser in the terminal
Stuff like this is what makes working with Python (and especially Textual https://textual.textualize.io/) enjoyable!
@diazona Handy UI library…
Last time I did a TUI I used urwid … which got the job done. The application was a test harness for an OpenThread-based device for production testing of hardware…
A bare board gets plugged into a Raspberry Pi… the Python application flashes a firmware image onto it (using a ROM bootloader built into the MCU) then puts the device through its paces.
This looks a lot more powerful though.
@stuartl Oh neat, I never heard of urwid, but judging by the screenshots it does seem to fit the theme of hardware testing
I would say programming with Textual feels a lot like programming with Qt. So there's probably something to the idea that Textual deliberately tries to emulate some of the higher-level abstractions in modern GUI toolkits (and Javascript frameworks), which probably makes it feel more powerful, even if I'd imagine you can do a lot of the same things in both.
@diazona I'll bet dollars for donuts that @willmcgugan would enjoy seeing this given all the work he and his peeps put into Textual :)
@willmcgugan @feoh Oh well that's fantastic! I really appreciate all the work you and the team did to make Textual a reality. It's definitely one of the most intuitive libraries I've ever used - honestly I'm surprised you're not overwhelmed with too many admirers to care about this little thing I'm doing
I was going to wait to share until I turn this into a proper TUI archive manager... it's going to be a little while though, there's a good chunk of work to go and this is just a nights-and-weekends project for me at the moment.
@willmcgugan @feoh oh I didn't realize there was one! I'll check it out.