Ezlo.js is a simple to use CLI utility which interfaces with OpenAI APIs on your behalf to generate articles for your niche.
npm install -g ezlo.js
ezlo config
Make sure you have the following:
- Absolute path to your Hugo blog (if you don't have this, see below.
- OpenAI key on a credited developer account.
- A simple description of your niche (ie: A blog about... how AI can help digital marketers)
ezlo draft new
ezlo ideas gen
ezlo ideas
Ideas will be listed with a number. Take note of the [idea_index]
you want to generate a post for.
ezlo thesis [idea_index]
ezlo body
ezlo banner gen
ezlo publish
No problem. Your generated articles and banner images are stored on disk, an easy way to access them is by running:
ezlo draft
This will print the full file path of the draft markdown files. The articles and banner images share the same file name, just .md
or .png
.