Free Random Quote Generator That's Can Be Used Anywhere
Copy templates to use them anywhere:
Create a custom list of quotes and insert one randomly with a keyboard shortcut
With this feature, you can make your own collection of quotes and easily add one at random using a keyboard shortcut. Choose to insert a quote from the entire list or select one randomly based on its category.
Generate a random quote from our list of 50,000 famous quotes
We compiled a list of ~50,000 quotes in all sorts of topics.
Use the following snippet anywhere to randomly insert one anywhere.
Random Quote Generator
{note: preview=no}{urlload: https://data-api.blaze.today/api/database/4F6fPq4jo7ipWeSrOmmYrd/query/; done=(res)->["res": catch(fromjson(res)["results"], [["Quote":"Is anyone anywhere happy?","Author":"Sylvia Plath, The Unabridged Journals of Sylvia Plath"]]),"raw": res]; method=POST; headers=Authorization:Token slgOq3wlCbHAmoRC3NgLzzciLd0DQYOO, Content-Type:application/json; body={ "query": "SELECT Quote, Author FROM quotes ORDER BY Random LIMIT 1000" }}{n=max(1,round(random()*count(res)))}{endnote}{=res[n]["Quote"]} --{=res[n]["Author"]}
{=raw}
_
The next snippets generates a random quote in a selected topic:
Random Quote Generator By Topic
{note: preview=no}{urlload: https://data-api.blaze.today/api/database/4F6fPq4jo7ipWeSrOmmYrd/query/; done=(res)->["categories": catch(map(fromjson(res)["results"], (x) -> x["Category"]),"[life]"), "cat_done": yes]; method=POST; headers=Authorization:Token slgOq3wlCbHAmoRC3NgLzzciLd0DQYOO, Content-Type:application/json; body={ "query": "SELECT Category FROM quotes GROUP BY Category" }}{urlload: https://data-api.blaze.today/api/database/4F6fPq4jo7ipWeSrOmmYrd/query/; done=(res)->["res": catch(fromjson(res)["results"], [["Quote":"Is anyone anywhere happy?","Author":"Sylvia Plath, The Unabridged Journals of Sylvia Plath"]])]; method=POST; headers=Authorization:Token slgOq3wlCbHAmoRC3NgLzzciLd0DQYOO, Content-Type:application/json; body={ "query": "SELECT Quote, Author FROM quotes WHERE Category = \"{=cat}\" ORDER BY Random LIMIT 1000" }}{n=max(1,round(random()*count(res)))}{endnote}{note}{if: cat_done}{formmenu: default=life; name=cat; values={=categories}}{endif}{endnote}{=res[n]["Quote"]} --{=res[n]["Author"]}
_
Want to boost your productivity and automate repetitive typing for free?
Join over 500,000+ who are using Text Blaze templates.