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.

  • LainOfTheWired@lemy.lol
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    That looks epic!

    Please add the ability to view images with an external image viewer as I find a lot of social TUI apps seem to lack that.

    Add that and you’re making my ideal Lemmy client

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

      Thank you, that’s so kind! I’ll probably try to tackle the comments first as they come quite messy from the api, then I’ll probably give the images a go.

      To be honest, I’m hoping this project doesn’t get out of my league too quickly as a have almost no experience with working with apis.

  • Truck_kun@beehaw.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    I would not recommend working on two GUI’s at once, but if you build it in a way you can use different frameworks for it, the maker of Rich also makes a nice TUI framework API called Textual.

    Here’s some projects made with it for a sample of what it’s usage can look like: https://www.textualize.io/projects/

    I believe it does not use curses at all.

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

      Link returns “This site can’t be reachedThe webpage at https://files.catbox.moe/8g7agm.mp4 might be temporarily down or it may have moved permanently to a new web address.”.

      It seems to be working for me.

      Do you have a github or codeberg link?

      I didn’t think anyone would have interest in it so i haven’t uploaded it. After new year’s I could clean it up a bit and host it on github.

      Maybe we should add it to awesome-lemmy?.

      I think it may be e a bit too early for that. At the current state it supports dynamic fetching of the feed in the background (quite buggy), paginating and displaying long posts and displaying top level comments only. At the current state it’s quite enough for me to enjoy a few (more like a few dozen) posts, but definitely not anywhere close to “awesome”.

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

      While complex tuis are definitely not my cup of tea (I prefer cli tools to be simple, otherwise I would probably use a proper gui), I’m really happy that I’m not the only one wishing for a way to access lemmy from the terminal.