https://github.com/heikkivihersalo/gutenberg-native-ai
A plugin that extends the Gutenberg editor with AI features designed to work natively with WordPress.
https://github.com/heikkivihersalo/gutenberg-native-ai
ai chatgpt gutenberg gutenberg-editor gutenberg-plugin wordpress wordpress-plugin
Last synced: 5 months ago
JSON representation
A plugin that extends the Gutenberg editor with AI features designed to work natively with WordPress.
- Host: GitHub
- URL: https://github.com/heikkivihersalo/gutenberg-native-ai
- Owner: heikkivihersalo
- License: gpl-2.0
- Created: 2024-10-09T13:22:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-24T07:24:36.000Z (over 1 year ago)
- Last Synced: 2024-10-25T17:29:33.508Z (over 1 year ago)
- Topics: ai, chatgpt, gutenberg, gutenberg-editor, gutenberg-plugin, wordpress, wordpress-plugin
- Language: TypeScript
- Homepage:
- Size: 781 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Gutenberg Native AI
Experimental plugin that extends the Gutenberg editor with AI features designed to work natively with WordPress. Written in Typescript, React and PHP.
> [!NOTE]
> Please do note that this project is still in its early stages and is not yet ready for serious production use. It basically works but use it at your own risk.
## API Keys
ChatGPT requires an API key to work. You can get one by accessing Open AI dashboard at [https://platform.openai.com/api-keys](https://platform.openai.com/api-keys). Once you have your API key, you can save it to the database from WordPress admin panel.
It should also be noted that API requires credits to work. These can be purchased from the Open AI dashboard.
Pricing information can be found at [https://platform.openai.com/pricing](https://platform.openai.com/pricing), but to give you a rough estimate, the cost to generate text is basically free (it so little it doesn't really matter). Images ranges between 0.02€ to 0.06€ per images. These prices are subject to change, so please refer to the Open AI website for the most up-to-date information.
## Installation
To install the plugin, you can download the latest release from the [releases page](https://github.com/heikkivihersalo/gutenberg-native-ai/tags). Download the file named `gutenberg-native-ai.zip` and upload it to your WordPress site by going to the admin panel and selecting `Plugins > Add New > Upload Plugin`.
You can also download the source but remember to run `yarn install` to install the required dependencies.
## Basic Usage
To access the AI features, you can use the following shortcuts in the Gutenberg editor:
- `CMD + .` to open the AI modal. (Windows equivalent: `CTRL + .`)