trumpygrimm

markov chain with grimm & trump

Usage no npm install needed!

<script type="module">
  import trumpygrimm from 'https://cdn.skypack.dev/trumpygrimm';
</script>

README

trumpygrimm

making trump tweets less harmfull by injecting a bit of grimm fairytale powder or use your own .txt file and twitter params

Installation

npm install @deborger/trumpygrimm

Usage

rename 'config.js.example' to 'config.js' and add your twitter credentials

  1. createClient()
  2. createMarkov('fileurlstring', twittersearchparams.json);
  3. getNewSentece();