Project

wq

0.0
No release in over 3 years
A command-line tool (wq) to help you learn 500+ words you should know but probably don't and find inspirational quotes.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

 Project Readme

Wq

wq is a CLI built with command_kit, to help you (me) learn ~500 words you should know but probably don't and find inspiration from a curated list of quotes.

Usage

Run gem install wq then wq for the CLI.

  • wq today shows the word and quote of the day
  • wq random shows a random word
  • wq inspire shows a random inspirational quote
  • wq list [A-Z] lists all or filtered words

Development

Run bundle install and then bundle exec rspec to run tests.

Only a list of words were extracted from the book "500 Words You Should Know" by Caroline Taggart. From there Google Gemini (2.5 Pro) was used to generate the meanings per word in JSON format.

This is an example of the Gemini prompt template used:

Generate a JSON array of objects that provide the meanings for the words listed below. A word can have multiple meanings. Each meaning should include the definition, part of speech, example, and synonyms.

bacchanalian, badinage, bathos, bellwether, benevolent, blatant, blighting, bombastic, boorish, bucolic, burgeoning, byzantine

The quotes data source is the dwyl/quotes repository. Run bin/update-quotes to update the data file and commit the changes.

Releases

To release a new version, update the version number in version.rb, and then run bundle exec rake release.

Resources

response = Net::HTTP.get_response(URI.parse("https://api.datamuse.com/words?rel_jjb=ocean&max=20"))
JSON.parse(response.body, symbolize_names: true)