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.

  • crunchpasteOPEnglish
    arrow-up
    6
    arrow-down
    0
    ·
    10 months ago
    link
    fedilink

    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.

      • crunchpasteOPEnglish
        arrow-up
        2
        arrow-down
        0
        ·
        10 months ago
        link
        fedilink

        Thanks, I’ve only heard of sixel, but never really read into it. Sounds promising.

        • kariboka
          arrow-up
          1
          arrow-down
          0
          ·
          10 months ago
          link
          fedilink

          A suggestion is do it like neofetch and let the user choose. Amazing work.