Skip to content

Repository files navigation

🎬 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 @gumadeiras/office-quotes

Homebrew:

brew tap gumadeiras/tap
brew install office-quotes

Fastest (Bash/Zsh One-liner):

curl -sSL https://github.com/raw/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. The first --format run installs Chromium automatically if it's missing.

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


"I'm not superstitious, but I am a little stitious." — Michael Scott

MIT License.

🐧

Release

Tag pushes like vX.Y.Z run the release workflow: tests, package tarball, GitHub release, npm publish to @gumadeiras/office-quotes, and gumadeiras/homebrew-tap update.

Release CI publishes to npm with trusted publishing.

About

The Office quotes CLI - offline + online mode with SVG cards

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages