Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A collection of baduk fortunes for the terminal

License

NotificationsYou must be signed in to change notification settings

gsobell/baduk-fortune

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

                         ____________                 < Go is hard >                 ------------                         \   ^__^                         \  (oo)\_______                            (__)\       )\/\                                ||----w |                -Cho U, 9d      ||     ||

A collection ofbaduk fortunes for the terminal

Usage

Installation

Installfortune orfortune-mod (or evenmisfortune).

fortune is a command line program that displays a quote or proverb when run. It is available on most operating systems:

# Archsudo pacman -S fortune-mod# Debian/Ubuntu (WSL)sudo apt install fortune-mod# openBSDdoas pkg_add fortune# nix-shellnix-shell -p fortune# Macbrew install fortune

Save the list of fortunes and the corresponding.dat file to/usr/share/fortune/ by running the following:

curl -LO https://github.com/gsobell/baduk-fortune/raw/shodan-branch/badukcurl -LO https://github.com/gsobell/baduk-fortune/raw/shodan-branch/baduk.datsudo mv baduk baduk.dat /usr/share/fortune

To install on Arch-based distros, use thePKGBUILD:

curl -O https://raw.githubusercontent.com/gsobell/baduk-fortune/shodan-branch/PKGBUILDmakepkg -i

To recieve a fortune, open a terminal, and run:

fortune baduk

For a new fortune every time you log on, add the above to your shell config (i.e..bashrc or.zshrc)For extra fun, use in conduction withcowsay orcowfortune!

Q&A

Q: Why isn't it called go-fortune?
A: Because italready exists, it's a fortune rewrite in GoLang.

Q: My favorite quote is missing. Can you add it?
A: Sure! Open a pull request! Since a new.dat file has to be generated each time, additions will be added in batches.

Fortunes sourced from:
Sensei's "Great Quotes" -Sensei's "Old Mottos" -Sensei's "Humour Q&A" -Sensei's "Almost Proverbs" -Kiseido Quotes -Wikiquote Go


List was scrubbed for uniformity, brevity, and duplicates.Any "rude" or "crude" items from the above lists were excluded, please open an issue if you find one.

Releases

No releases published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp