antonmedv / walk

Terminal file manager
MIT License
3.24k stars 88 forks source link

Terminal Picture Viewer #14

Closed habitualdev closed 1 year ago

habitualdev commented 2 years ago

Wanted to know your thoughts on the addition of functionality to "print" a picture to the terminal. Got it working with a modified version of https://github.com/ichinaski/pxl, and appears to work in the terminals I've tested it in.

On one hand, I've been getting actual use out of it (remote viewing of scraped webpages/assets and remote rapid forensics), but on the other understand it could be seen as feature creep. I have a working version on a seperate branch on my fork. In its current implementation it does add another key ("q" for quit).

antonmedv commented 2 years ago

I’m thinking of adding support for different file extension/program mapping via ~/.llama config in future.

But waiting on upstream dependency- bubbletea, to support sub process running.

habitualdev commented 2 years ago

Sounds good. For jpeg/png I actually just directly integrated the pxl code after I refactored it to be an importable module. And I can probably add support for more picture formats as well

antonmedv commented 1 year ago

Duplicate of #26