百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
T

taoup

> 数据库
开源

《Unix 编程之道》(由 Ruby 驱动的 ANSI 彩色格言)

434 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

《Unix 编程之道》(由 Ruby 驱动的 ANSI 彩色格言)

TAO (The Art) of Unix Programming (and related systemic epiphanies)

This is a ruby-powered, ANSI colored, fortune-like program to espouse wisdom at opportune moments, such as when you log in.

In every culture, I come across a chapter headed Wisdom. And then I know exactly what is going to follow: Vanity of vanities, all is vanity. - Wittgenstein

It's mostly a personal collection, but contributions are welcome.

Installation

  • Arch Linux: yay -S taoup-git (replace yay with your favorite AUR helper)
  • Nix: nix-env -iA nixos.taoup (or nix-env -iA nixpkgs.taoup with nixpkgs on a non-Nix OS)
  • Other unix-like: Make sure you have ruby and gem installed, run gem install ansi then ./taoup.

Screenshots

Regular terminal (iTerm2).

Oldschool terminal

(cool-retro-term, or via homebrew: brew cask install cool-retro-term)

Getting wisdom at login

To display taoup output at login, use the taoup-fortune example script or try adding something similar in your .profile.

By default taoup assumes good taste and a black/dark terminal, for edge cases and lost causes use --whitetrash.

Special modes

There are four modes other than standard invocation:

  • --help or --h shows brief command line help on invocation syntax
  • --whitetrash converts the otherwise attractive color scheme to be legible on light or white terminals
  • --machine drops any ANSI colors from the output (also respects NO_COLOR environment variable, see no-color.org)
  • --fortune converts the wisdom to an assumed imitation of the fortune format. To make the resulting fortune format file available to the classic fortune program (loses ANSI colors in output) you can run strfile as follows:
taoup --fortune >taoup-fortunes
strfile taoup-fortunes taoup-fortunes.dat
fortune taoup-fortunes

Praise for taoup

  • "I'm honored. :)" @jacquesm, HN user with ~200K karma, after being quoted in taoup
  • "Taoup is in my zshrc startup, it's consistently fun/intelligent/thoughtful. Thanks for the continued maintenance , cheers." @ronjouch
  • We are now the top ranked fortune implementation on Github. Spread the word!

Issues· 1 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rubyansi-colorsarchitecturearchitecture-guidelinesbashrc

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库