Skip to content

maxkostow/inspier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inspirational Quote Generator

Generate inspirational quotes using a simple Markov chain

Installation

  1. npm install

Usage

Generate quotes.json

2 Chainz

Use the included quotes.json which constains some 2 Chainz lyrics

Provied your own

[
    {
        "quote": "This is a quote",
        "author": "Justin Long"
    }
]

Scrape the web

Run node scrape.js

This will scrape http://www.brainyquote.com and generate quotes.json

Generate some quotes

Run node generate.js

N.B. If you have a cycle in your chain or no diverging links, this may run forever or until your computer crashes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published