Generates random quotes
npm install quotes-cli




_Your daily dose of wisdom and inspiration, right from the terminal_ š
Installation ⢠Features ⢠Usage ⢠Documentation ⢠Contributing
---
| Feature | Description |
| -------------------- | ------------------------------------- |
| š² Random Quotes | Get instant wisdom with random quotes |
| š·ļø Tagged Quotes | Find quotes by specific categories |
| š Smart Search | Search by author or book titles |
| š Bulk Fetch | Get multiple quotes at once |
| šÆ Filtered Bulk | Get multiple quotes by tag or search |
Prerequisites
- Node.js installed on your system
- npm or yarn package manager
- Active internet connection
``bash`Using npm
npm install -g quotes-cli
| Command | Description | Example |
|---|---|---|
quote | q | Get a random quote | quotes-cli q |
tag | t <name> | Get a quote by tag | quotes-cli t love |
search | s <query> | Search quotes | quotes-cli s "Einstein" |
bulk | b <number> | Get multiple quotes | quotes-cli b 5 |
bulk-tag | bt <name> <number> | Get multiple quotes by tag | quotes-cli bt inspiration 4 |
bulk-search | bs <query> <number> | Get multiple quotes by search | quotes-cli bs "Mark Twain" 3 |
#### Get a Random Quote
`bash`
$ quotes-cli quote
``
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā "Be yourself; everyone else is already taken." ā
ā - Oscar Wilde ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
#### Get Multiple Quotes by Tag
`bash`
$ quotes-cli bulk-tag humor 3
`
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā "Laughter is timeless, imagination has no age, ā
ā and dreams are forever." ā
ā - Walt Disney ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā "A day without laughter is a day wasted." ā
ā - Charlie Chaplin ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā "Life is short. Smile while you still have teeth." ā
ā - Unknown ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
`
| Category 1 | Category 2 | Category 3 | Category 4 |
| -------------- | ------------ | ------------- | ------------- |
| š love | š life | š” wisdom | š poetry |
| ⨠inspiration | š humor | š¤ philosophy | š romance |
| āŖ religion | šÆ success | š knowledge | š¤ friendship |
| šØ motivation | š happiness | š hope | āļø peace |
Command Options
`bash
Usage: quotes-cli [options] [command]
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
quote | q Get a random quote
tag | t
search | s
bulk | b
bulk-tag | bt
Get multiple quotes from a tag (max 10)
bulk-search | bs
Get multiple quotes from a search query (max 10)
``
Limitations
- Maximum 10 quotes per bulk request (applies to bulk, bulk-tag, and bulk-search)
- Requires active internet connection
- Real-time Goodreads scraping
- Random page selection for variety
We love contributions! š
1. š“ Fork the repository
2. šæ Create your feature branch
3. š« Make your changes
4. š Submit a pull request

This tool scrapes data from Goodreads for personal use. Please comply with Goodreads' Terms of Service.

Copyright Ā© 2024 anilpdv
---
Made with ā¤ļø by Anil Palli