I’m not sure this is the right community.

I’ve been hoping for a TUI frontend for Lemmy for a while, but unfortunately none came out and I’ve decided to build a proof of concept on my own.

It’s written in python with pythorhead, blessed and chafa.py and it’s quite janky.

    • crunchpaste@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      10 months ago

      I went with chafa as it’s terminal agnostic and supports various modes.

      Then again, I’m not really sure a tui frontend needs high quality image rendering. Earlier I even considered going completely 1bit braille or just ASCII just so that the image doesn’t take all of the focus at the expense of the post body.

      As mentioned by another commenter, I believe opening the full image in an external viewer is a much better solution, not to mention easier to implement.

      • djtech@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        10 months ago

        A quick research tells me that there aren’t patches for other emulators, but the protocol seems well described, so making those patches is possible. I could also take a look at Alacritty source code and deicide if I could make this project work.