Gostamp
Timestamp and colorize the stdout and stderr streams of CLI programs.
Install / Use
/learn @spytheman/GostampREADME
gostamp
Timestamp and colorize the stdout and stderr streams of CLI programs.
(based on an idea by HN user chrismorgan here: https://news.ycombinator.com/item?id=18898764)
Examples:
This example shows a default invokation of 'gostamp', running 'make', which produces both stdout and stderr lines:

As you can see, it is easy to distinguish between stderr (red timestamps) and stdout (green timestamps).
The example below shows the effect of the -absolute option:

Installation:
go install github.com/spytheman/gostamp@latest
Usage:
gostamp - Timestamp and colorize the stdout and stderr streams of CLI programs.
Usage: gostamp [options] program [programoptions]
The options are:
-absolute
use absolute timestamps
-color
colorize the output (default true)
-csv
do not format the output at all, just show the time in ns, followed by ',' then the output
-elapsed
use timestamps, showing the elapsed time from the start of the program. Can not be used with -absolute
-end
timestamp the end of the execution (default true)
-merge
merge stderr to stdout. Useful for later filtering with grep.
-micro
round timestamps to microseconds, instead of milliseconds. Can not be used with -absolute
-nobuf
run the program with stdbuf -i0 -oL -eL, i.e. with *buffering off* for the std streams
-start
timestamp the start of the execution (default true)
-version
show the tool version
Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
