This plugin uses Google artificial intelligence (GEMINI) and stability.AI to automate the creation of standard WordPress posts based on configurable parameters from the WordPress admin view. It can create posts from any topic you configure from the administrator view. To ensure quality content, this tool is integrated with several free-to-use APIs to fulfill its functionality.
https://developers.google.com/search/blog/2023/02/google-search-and-ai-content?hl=es-419
In order to follow they guidelines we are doing these processes:
we use this api to get real articles
We use this api to generate original content based in real one
https://ai.google.dev/gemini-api?hl=es-419
We use this api to generate post's featured imaged based on ai generated article's title .
https://wordpress.org/plugins/plugin-check/
You need to have a NEWS API's API KEY to use this plugin.
You can get one for free here : https://newsapi.org/docs
You need to have a GEMINI API KEY to use this plugin.
You can get one for free here : https://ai.google.dev/gemini-api/docs/api-key
You need to have a stability.ai API KEY to use this plugin.
You can get one for free here : https://platform.stability.ai/
You need to have installed first (we recomend run thi project in a linux debian based distribution):
- nodejs
- npm
- Docker
Clone the project
git clone https://github.com/berchj/AIEntries.git
Go to the project directory
cd AIEntries
Install dependencies
npm i
Start local environment (this install all dependencies including wordpress and composer /phpunit for unit tests)
make start
Run all unit test in ai-entries/tests directory (see makefile to the entire command config)
make test
Clean environments
make clear
Debug environment
make debug
Destroy environment
make destroy
Make .zip to upload to wordpress
make zip
Remove containers (Docker)
docker rm -f $(docker ps -a -q)
Remove images (Docker)
docker rmi -f $(docker images -q)
This project is configured to accept unit tests written in the ai-entries/tests directory
To know more about how phpunit works: https://phpunit.de/manual/6.5/en/textui.html
https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/
https://wp-mock.gitbook.io/documentation
https://www.npmjs.com/package/@wordpress/env
For support, email [email protected] .