globalcitizen/taoup
소개
유닉스 프로그래밍의 도(루비로 구현한 ANSI 컬러 fortune 문구)
기타 프로젝트측정된 스타 증가
- in 24h
- +1
- in 7 days
- +2
- in 15 days
- +6
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTAO (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
- MacOS:
brew install taoup - Arch Linux:
yay -S taoup-git(replaceyaywith your favorite AUR helper) - Nix:
nix-env -iA nixos.taoup(ornix-env -iA nixpkgs.taoupwith nixpkgs on a non-Nix OS) - Other unix-like: Make sure you have
rubyandgeminstalled, rungem install ansithen./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:
--helpor--hshows brief command line help on invocation syntax--whitetrashconverts the otherwise attractive color scheme to be legible on light or white terminals--machinedrops any ANSI colors from the output (also respectsNO_COLORenvironment variable, see no-color.org)--fortuneconverts the wisdom to an assumed imitation of the fortune format. To make the resulting fortune format file available to the classicfortuneprogram (loses ANSI colors in output) you can runstrfileas 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!
관련 프로젝트 살펴보기
불러오는 중…