TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Great examples of terminal output or logging

4 点作者 farski超过 1 年前
There are many examples of terminal programs that do a good job displaying logs or activity while a process runs. Through deliberate use of things like color, spacing, clever ASCII characters for formatting, etc, when you see them they make you think something like, &quot;ooh, that&#x27;s pretty!&quot;<p>I see them all the time, but it&#x27;s always while I&#x27;m trying to get something done, so I never make note of noteworthy examples. Then, later, when I&#x27;m writing a script of my own I often feel like I&#x27;m reinventing wheels because I can&#x27;t just go look at something that already does a good job. Or sometimes I do remember which program I thought looked nice, but I just don&#x27;t need a new cloud database right now, so it&#x27;s not very convenient to recreate the example to look at.<p>So I want to start collecting some good examples of terminal output. I think ergonomics for these sorts of things are very helpful, and usually not very hard&#x2F;expensive to implement <i>if</i> you don&#x27;t have to start from scratch. A resource with a handful of good examples would go a long way for me, and I imagine others as well.<p>Which programs log their activity in a way that you find particularly appealing or easy to work with?<p>(And just to clarify, this isn&#x27;t great interfaces in terminals that I&#x27;m talking about (shell prompts, TUIs, etc), or even return values (like the output of a `dig` command). This is when you press Enter, and the program starts to spit out a bunch of text while it works, and that text looks very nice. Examples (not necessarily great examples) would be: running `update` in most package managers, a deployment process like Heroku or Terraform, or a build process like make.)

2 条评论

verdverm超过 1 年前
The Dagger CLI has 2 amazing visuals<p>1. Normal mode, a DAG graph that displays as your builds run 2. Experimental UI on top of the DAG, allowing you to navigate and expand build step logs<p>We are working on something similar based on Vito&#x27;s amazing work for hof&#x2F;flow<p>We just put out an infinite nested panel implementation for a terminal UI, not necessarily output or logging, but allows one to create custom dashboards of widgets in a TUI<p><a href="https:&#x2F;&#x2F;github.com&#x2F;hofstadter-io&#x2F;hof&#x2F;tree&#x2F;_dev&#x2F;lib&#x2F;tui&#x2F;modules&#x2F;eval">https:&#x2F;&#x2F;github.com&#x2F;hofstadter-io&#x2F;hof&#x2F;tree&#x2F;_dev&#x2F;lib&#x2F;tui&#x2F;modul...</a><p>There are screenshots on my X profile, @verdverm
johng超过 1 年前
Great idea. I’d be interested in the list you put together.