office-quotes-cli
v1.1.0
Published
> The Office quotes CLI — offline mode (326 quotes) or online mode with SVG cards, character avatars & episode data. Node.js version supports PNG/JPG/WebP conversion.
Maintainers
Readme
🎬 office-quotes
"Dunder Mifflin, this is Pam." 📞
A simple CLI for The Office fans. Get instant access to 326 curated quotes offline, or hit the live API for beautiful SVG cards and metadata.
🚀 Get Started
Recommended (Node.js):
npm install -g office-quotes-cliFastest (Bash/Zsh One-liner):
curl -sSL https://raw.githubusercontent.com/gumadeiras/office-quotes-cli/master/install.sh | bash📠 Usage
⚡ The Basics (Offline)
office-quotes # Random local quote
office-quotes search "bears" # Search for specific wisdom
office-quotes characters # Who said what?🌐 The "Fancy" Mode (API)
Connect to the Dunder Mifflin cloud for cards and metadata. Note: Image generation is only available for random quotes sourced from the API.
office-quotes --source api # Fresh quote from the cloud
office-quotes --format png # Boom! PNG card (saved to /tmp/)
office-quotes --format jpg --theme light # For those who like the light mode📊 Which one should I use?
| | Node.js (mapped to office-quotes) | Shell Script |
| --- | --- | --- |
| Why? | Images, JSON, API Power | Speed, Simplicity |
| Output | JSON | Plain Text |
| Needs | Node.js, playwright-chromium | jq, curl |
Credits
- Offline quotes: Raycast Office Quotes
- Online API: the-office-api by Akash Rajpurohit
MIT License.
🐧
