Skip to content

joelalejandro/carmen

Repository files navigation

carmen

Carmen is a TypeScript-driven poetess, built using WordBot and rhymes.

How does she works?

  1. She gets inspired: Before starting to write, Carmen likes to recall words into her mind. So, she asks for the WordBot for seed words in groups of 100: nouns, verbs, adjectives, moods. She also has some interjections, rhetorical words and exclamations.
  2. She tries to write a line. If she can find a rhyme for it, she'll keep it. Otherwise, she'll keep trying until something comes up.
  3. She tries to write another line. Again, if she can find a rhyme for it, she'll keep it. Otherwise, she'll keep trying until something comes up.
  4. With the two previous rhymes, she'll complete a ballad stanza with the form ABAB.

What's it like?

import Poetess from "carmen";

const carmen = new Poetess();

carmen.inspire().then(() => {
  const { lines } = carmen.writeStanza();
  console.log(lines);
});

Where I can see her work?

She's put up a website on her own. If you pay her a visit, she'll give away a unique poem just for you.

About

Carmen is a TypeScript-driven poetess.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published