Generate random quotes from The Office (US) TV show.
npm install -g @gumadeiras/office-quotes
# Random offline quote (text only)
office-quotes
# API quote with SVG card
office-quotes --source api
# PNG output (best for Telegram)
office-quotes --source api --format png
# Light theme
office-quotes --source api --theme light
| Option | Description |
|---|---|
| -------- | ------------- |
--source | Quote source: local (default), api |
--format | Output format: svg, png, jpg, webp (default: svg) |
--theme | SVG theme: dark, light (default: dark) |
--json | Output as JSON |
> "Would I rather be feared or loved? Easy. Both. I want people to be afraid of how much they love me." — Michael Scott
> "Bears. Beets. Battlestar Galactica." — Jim Halpert
> "Whenever I'm about to do something, I think, 'Would an idiot do that?' And if they would, I do not do that thing." — Dwight Schrute
https://github.com/gumadeiras/office-quotes-cli
共 2 个版本