https://github.com/zakame/emacs-fortune-taoup
Show TAoUP fortune cookies in your Emacs!
https://github.com/zakame/emacs-fortune-taoup
emacs fortune-cookies hacktoberfest
Last synced: 6 months ago
JSON representation
Show TAoUP fortune cookies in your Emacs!
- Host: GitHub
- URL: https://github.com/zakame/emacs-fortune-taoup
- Owner: zakame
- License: mit
- Created: 2021-09-05T16:52:28.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-04T06:08:58.000Z (about 4 years ago)
- Last Synced: 2025-04-09T23:50:33.159Z (6 months ago)
- Topics: emacs, fortune-cookies, hacktoberfest
- Language: Emacs Lisp
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
#+TITLE: fortune-taoup --- Fortune cookies from The Art of Unix Programming and friends
#+CAPTION: Running =M-x fortune-taoup= to get a sample screenshot
[[./screenshot.png]]A simple Emacs extension to show words of wisdom from the =fortune=-like
tool, [[https://github.com/globalcitizen/taoup][taoup]].* Quick Start
#+begin_src emacs-lisp
(use-package fortune-taoup
:load-path "to/where/you/cloned/fortune-taoup"
:if (executable-find "taoup-fortune")
:custom
(fortune-taoup-text-scale 6 "Slightly larger text for my $WORK laptop.")
:config
(setq initial-buffer-choice
(lambda ()
(toggle-frame-fullscreen)
(fortune-taoup))))
#+end_src* Notes
** TODO Use =taoup= directly instead of =taoup-fortune=
The latter script is an example tool that gives single statements at
random - maybe let this extension manage all of them instead?** TODO Add a basic test and CI
Test is something simple enough like getting a random line, and CI is
likely GitHub Actions.
** TODO Publish to [[https://melpa.org][MELPA]], or not...This extension is simple enough to [[https://github.com/quelpa/quelpa][quelpa]] instead, but we'll see...