Live data from Hacker News

Charm – Tools to make the command line glamorous

charm.sh

141–150 of 223 posts

Re: Charm – Tools to make the command line glamorous

#141

Really nice design. I like CLI and TUI, they can be both practical and aesthetically pleasing, in my opinion the "beauty" of tools is something that can improve the quality of life for the end-user. But I have a few negative remarks. - The glow.exe app on Windows is 19M, the launch is fast and I love that it is self contained and portable, but I think that even a pretty markdown viewer could be compiled to a much sma…

That binary size is due to the Go runtime also being compiled into it.

Re: Charm – Tools to make the command line glamorous

#143
I don't know. I'm very skeptical about the recent TUI approaches. At least that's NOT what the current infrastructure is designed for.

I personally believe we really should graduate from the terminal infrastructure that was designed in the ancient time. We can make a good use of stuffs like client-side UI rendering (fast & reactive), graphical boxes (more compact boxes), image embedding, native multiplexing, capability negotiation, etc. These might be still possible on the existing infrastructure, but a clean slate should provide more consistent experience for everyone involved.

Re: Charm – Tools to make the command line glamorous

#144
post #139
post #75

Earlier quoted context omitted.

You can configure kitty to open the entire scrollback buffer in an editor or a pager(less/nvim etc). https://github.com/kovidgoyal/kitty/issues/719

I wish there was something that have stdout in an env variable that is readily usable next time the prompt is available.

See https://sw.kovidgoyal.net/kitty/shell-integration in particular Open the output of the last command in a pager such as less

Re: Charm – Tools to make the command line glamorous

#145
post #52

I love the general renaissance of terminal UI tools we are seeing in the last few years. I can't quite put my finger on what I like about it so much. Something to do with the simplicity and directness of these UIs, guaranteed optimised for efficient keyboard nav, widespread adoption of vim-like navigation keys, and the fact that they link directly with my terminal shell so I can stay entirely in a stream of thought w…

You can use TMUX for copy or a terminal that support it. I use alacritty and it supports direct copy with a vi move that turn the whole scrollback buffer into a vim-like buffer.

Re: Charm – Tools to make the command line glamorous

#147

Earlier quoted context omitted.

What about 'glow' and 'glamour' components of the charm project? What is their difference from what you propose? Aside: I use glow to display help for special keybindings mode on sway.

Those are cool but they are still using just ANSI color codes and what not. I think it is great but not ideal or optimized than if terminals would implement a native markdown or markup renderer.

Wait, how would that even work? Do you want something like SIXL support but for markdown? Encode your markdown doc in an unholy escape sequence and throw it at the terminal?

Re: Charm – Tools to make the command line glamorous

#148

Is this like, a framework for making command line apps, the way Spring is a framework for making web apps? Is Soft Serve for people who don't want to use GitHub?

> Is Soft Serve for people who don't want to use GitHub? There's no web UI for soft serve, it's strictly a command line and config driven git repo manager. It's more of a direct comparison to look at gitolite (also a script/CLI driven repo manager). If you're looking for a run your own web UI for git, check out gitea.

You can even hack it so that both projects share the repo directory. Use Gitea for web and native SSH and this for a TUI.
Post reply on HN