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
      ·
      1 year 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.

    • cally [he/they]@pawb.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      does this protocol work for other terminals? such as alacritty, foot, urxvt, or even st (with appropriate patch ofc)?

      • djtech@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 year 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.