Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/berchj/aientries
wordpress plugin to automatice creation of quality wordpress standard posts using NEWS API , GEMINI AI and Stable Diffusion API for free
https://github.com/berchj/aientries
ai artificial-intelligence automation composer gemini gemini-api google google-api newsapi php stability-ai tests unit-testing wordpress wordpress-plugin wp-env
Last synced: 4 months ago
JSON representation
wordpress plugin to automatice creation of quality wordpress standard posts using NEWS API , GEMINI AI and Stable Diffusion API for free
- Host: GitHub
- URL: https://github.com/berchj/aientries
- Owner: berchj
- License: other
- Created: 2024-07-12T22:35:01.000Z (6 months ago)
- Default Branch: release
- Last Pushed: 2024-07-20T21:31:34.000Z (6 months ago)
- Last Synced: 2024-09-23T16:08:12.711Z (4 months ago)
- Topics: ai, artificial-intelligence, automation, composer, gemini, gemini-api, google, google-api, newsapi, php, stability-ai, tests, unit-testing, wordpress, wordpress-plugin, wp-env
- Language: PHP
- Homepage:
- Size: 88.9 KB
- Stars: 48
- Watchers: 7
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# AIEntries Plugin
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.
## This plugin is aware of Google's advice on AI content:
https://developers.google.com/search/blog/2023/02/google-search-and-ai-content?hl=es-419In order to follow they guidelines we are doing these processes:
### News API:
we use this api to get real articles
https://newsapi.org/docs
### Google Gemini API:
We use this api to generate original content based in real one
https://ai.google.dev/gemini-api?hl=es-419
### Stability AI:
We use this api to generate post's featured imaged based on ai generated article's title .
https://stability.ai/
### this plugin uses PLUGIN CHECK in each release :
https://wordpress.org/plugins/plugin-check/
### DISCLAIMER : THIS IS AN IN PROGRESS PROJECT .
![Politics](https://github.com/user-attachments/assets/a2685618-be5f-4cc2-aec6-b96636914aae)
![Travels](https://github.com/user-attachments/assets/00aa2883-488f-4057-a05d-f6e464fe51de)
![Misteries](https://github.com/user-attachments/assets/70c06b1c-1d35-40cb-839f-9aee4e2c249d)
![Any theme](https://github.com/user-attachments/assets/2e0e0e7d-03ad-4c82-a26c-5579fcca4fac)
![admin view](https://github.com/user-attachments/assets/7d7b8f00-fe92-41e3-b86b-b1259ffbe519)
# Getting started! 💥 🚀
## Requirements ✅
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/
## Run this project locally 💻 💻
### pre-installs
You need to have installed first (we recomend run thi project in a linux debian based distribution):
* nodejs
* npm
* DockerClone the project
```bash
git clone https://github.com/berchj/AIEntries.git
```Go to the project directory
```bash
cd AIEntries
```### environment commands
Install dependencies
```bash
npm i
```Start local environment (this install all dependencies including wordpress and composer /phpunit for unit tests)
```bash
make start
```Run all unit test in ai-entries/tests directory (see makefile to the entire command config)
```bash
make test
```Clean environments
```bash
make clear
```Debug environment
```bash
make debug
```Destroy environment
```bash
make destroy
```Make .zip to upload to wordpress
```bash
make zip
```# Docker issues 🐳 :
Remove containers (Docker)
```bash
docker rm -f $(docker ps -a -q)
```Remove images (Docker)
```bash
docker rmi -f $(docker images -q)
```# Unit tests 💊 📄
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
### About wordpress/env :
https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/
### About WP_Mock :
https://wp-mock.gitbook.io/documentation
### npm package (installed as dependency in this project):
https://www.npmjs.com/package/@wordpress/env
## Support 📞 📬
For support, email [email protected] .