shartworx,

Have you looked at Textual? It probably has more functionality than blessed.

bloopernova,
@bloopernova@programming.dev avatar

+1 for Textual. It’s great stuff!

crunchpaste,
@crunchpaste@lemmy.dbzer0.com avatar

I did, but i was going for something really small and simple, more like an ebook reader than a webui.

krash,

Textual is great, and the community at discord is very helpful and welcoming.

nmtake,
wwwgem,
@wwwgem@lemmy.ml avatar

Wish someone would come with something like tut for mastodon.

crunchpaste,
@crunchpaste@lemmy.dbzer0.com avatar

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.

LainOfTheWired,
@LainOfTheWired@lemy.lol avatar

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,
@crunchpaste@lemmy.dbzer0.com avatar

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.

KiranWells,
@KiranWells@pawb.social avatar

You might look into displaying images in the terminal as well; many modern terminals support showing actual images natively

mesamunefire,

Something like rtv would be great!

circuitfarmer,
@circuitfarmer@lemmy.sdf.org avatar

I love this. Anything that keeps me in the terminal and out of the browser is a blessing from Tux himself.

nix,
@nix@merv.news avatar

How did you upload a video?

crunchpaste,
@crunchpaste@lemmy.dbzer0.com avatar

Uploaded it to catbox.moe and then just pasted the link in the url field when creating the post. Hope that helps :)

itsaj26744,
@itsaj26744@programming.dev avatar

There is one named neonmodem overdrive but it is buggy. It also support discourse forums any plan for this?

crunchpaste,
@crunchpaste@lemmy.dbzer0.com avatar

There is one named neonmodem overdrive but it is buggy.

It really is buggy, iirc I couldn’t even get it to run properly.

It also support discourse forums any plan for this?

I really don’t have any plans (or even a name) for the app, as I’ve just started playing around with pythorhead yesterday. I just hoped posting a prototype or a proof of concept might spark a discussion and maybe inspire someone much more competent than me.

itsaj26744,
@itsaj26744@programming.dev avatar

Fine I thought u were somewhere.🥲

noctisatrae,

I’m too working on a TUI to browse the-eye.eu, I’m still struggling with asynchronous render & Rust.

crunchpaste,
@crunchpaste@lemmy.dbzer0.com avatar

Async programming is really quite hard to wrap your head around. Currently I’m mostly struggling with excessive memory consumption.

noctisatrae, (edited )

Send help I’m struggling with lifetimes, unbounded channel & implementing EventHandler… <3

MonkderZweite,

One reason more to stop with the silly text-in-image posts. There’s a text-only post option, you know guys? Lemmy is not Instagram.

MonkderZweite, (edited )

There’s TIV/FIM/imgfb if you’re looking for ways to render images in terminal. Or convert them to sixel.

djtech,

For rendering high quality images in the terminal, check out the Kitty graphical protocol. I don’t know if they are any python libraries to use, but I think that they are. P.S. This seems to work well stackoverflow.com/…/how-to-display-graphical-imag…

callyral,
@callyral@pawb.social avatar

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

djtech,

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.

crunchpaste,
@crunchpaste@lemmy.dbzer0.com avatar

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.

jodanlime,
@jodanlime@midwest.social avatar

You could also look into using sixel. It’s kinda like the kitty protocol but older and terminal agnostic.

en.m.wikipedia.org/wiki/Sixel

crunchpaste,
@crunchpaste@lemmy.dbzer0.com avatar

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

kariboka,

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

isotope,

Looks good! You might want to join forces with github.com/LunaticHacker/lemmy-terminal-viewer

Secret300,

Finally a Lemmy client for Linux mobile

crunchpaste,
@crunchpaste@lemmy.dbzer0.com avatar

That made me laugh so hard. Are there really no clients for linux mobiles?

Secret300,

There wasn’t a few months back when I checked

Truck_kun,

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #