mlava / random-quote

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New:

  • import a random Shakespeare Quote
  • import a random Inspirational Quote
  • import a random Movie Quote
  • import a joke from JokeAPI
  • import a quote from Monty Python's Flying Circus from monty-pythons-flying-api.fly.dev
  • import a quote from Futurama from futurama-api.fly.dev
  • import a quote from your own collection within your graph. Simply set the page title where you store your quotes in the settings in Roam Depot.
    • quotes are pulled from the first child blocks, and the author/speaker from the first child of the quote block (shown below)

image

Import a random quote from the collections at

  • quotable.io
  • stoic-quotes.com
  • Ron Swanson quotes
  • The One API - Lord of the Rings quotes
  • Game of Thrones quotes
  • anime quotes from Animechan
  • Dad jokes from icanhazdadjoke.com
  • Quotes on Design quotesondesign.com
  • API Ninja Quotes api-ninjas.com/api/quotes
  • Jokes from JokeAPI
  • Monty Python's Flying Circus from monty-pythons-flying-api.fly.dev
  • movie quotes from npmjs.com/package/popular-movie-quotes
  • inspirational quotes from npmjs.com/package/@divyanshu013/inspirational-quotes
  • Shakespeare quotes at https://shakespeare-quote.glitch.me/

The extension formats the quote as a blockquote with a link to the name of the author.

image

Random Quotes from Quotable can be triggered from the Command Palette command Random Quote or via the SmartBlock command <%RANDOMQUOTE%>.

Stoicism Quotes from stoic-quotes.com can be triggered from the Command Palette command Stoic Quote or via the SmartBlock command <%STOICQUOTE%>.

Ron Swanson quotes can be triggered from the Command Palette command Ron Swanson Quote or via the SmartBlock command <%SWANSONQUOTE%>.

Lord of the Rings quotes can be triggered from the Command Palette command Tolkien Quote or via the SmartBlock command <%TOLKIENQUOTE%>. This requires a free API key from https://the-one-api.dev/account.

Game of Thrones quotes can be triggered from the Command Palette command Game of Thrones Quote or via the SmartBlock command <%GOTQUOTE%>.

Animechan quotes can be triggered from the Command Palette command Animechan Quote or via the SmartBlock command <%ANIMEQUOTE%>.

Dad Jokes can be triggered from the Command Palette command Random Dad Joke or via the SmartBlock command <%DADJOKE%>.

Quotes on Design can be triggered from the Command Palette command Random Quote from Quotes on Design or via the SmartBlock command <%QUOTESONDESIGN%>.

The API Ninja quotes API requires a free account at https://api-ninjas.com/api/quotes. You then need to add your API key in the Roam Depot Settings. You can optionally select from a dropdown menu with a series of quotation categories or leave as "None" for a purely random quote. The API Ninjas Quotes API can be triggered from the Command Palette command Random Quote from API Ninjas or via the SmartBlock command <%NINJAQUOTE%>.

Monty Python's Flying Circus quotes can be triggered from the Command Palette command Random Quote from Monty Python's Flying Circus or via the SmartBlock command <%PYTHONQUOTE%>.

Jokes from JokeAPI can be imported using the Command Palette command Random Joke from JokeAPI or via the SmartBlock command <%JOKEAPI%>.

Movie Quotes can be imported using the Command Palette command Random Movie Quote or via the SmartBlock command <%MOVIEQUOTE%>.

Inspirational Quotes can be imported using the Command Palette command Random Inspirational Quote or via the SmartBlock command <%INSPQUOTE%>.

Shakespeare Quotes can be imported using the Command Palette command Random Shakespeare Quote or via the SmartBlock command <%SHAKESPEAREQUOTE%>.

Note:

  • Quote Garden API is no longer available and this source has therefore been removed
  • Tolkien Quotes API is also no longer available, and has been replaced by The One API instead
  • Futurama Quotes are no longer available and this source has therefore been removed
  • Ted Lasso Quotes are no longer available this source has therefore been removed

About


Languages

Language:JavaScript 99.9%Language:Shell 0.1%