Skip to content

This plugin generates content with the help of artificial intelligence. It is based on the CKEditor 4. It uses the OpenAI API to generate text.

Notifications You must be signed in to change notification settings

netresearch/ckeditor-cowriter

Repository files navigation

CKEditor 4 Plugin - Cowriter 🤖

Release

This plugin generates content with the help of artificial intelligence. It is based on the CKEditor 4. It uses the OpenAI API to generate text. You can use it to generate text for your blog posts, emails, or any other content.

Cowriter with TYPO3 CMS

Give it a try and let the AI write for you: Demo

Installation

You can find the plugin in the CKEditor plugin directory

Installation with npm

  1. Install the plugin with npm:

    npm install @netresearch/ckeditor-cowriter --save
  2. Enable the plugin by using the extraPlugins configuration setting. For example:

    CKEDITOR.plugins.addExternal('cowriter', '/node_modules/@netresearch/ckeditor-cowriter/dist/', 'plugin.js')
    CKEDITOR.config.extraPlugins = 'cowriter';

Installation from source

  1. Download the latest release of the plugin.

  2. Extract the contents of the archive into a directory. For example: /plugins/cowriter/

  3. Enable the plugin by using the addExternaland extraPlugins configuration setting. For example:

    CKEDITOR.plugins.addExternal('cowriter', '/plugins/cowriter/', 'plugin.js')
    CKEDITOR.config.extraPlugins = 'cowriter';

Configuration

You need to define your OpenAI credentials. Do this above the CKEDITOR.replace call. For example:

const OPENAI_KEY = 'YOUR-KEY'
const OPENAI_ORG = 'org-YOUR-ORG-KEY'

Usage

  1. Click on the Cowriter button in the toolbar.
  2. Enter a prompt.
  3. Click on the Generate button.
  4. The generated text will be inserted into the editor.

License

Licensed under the terms of the GNU General Public License, version 3 or later.

Credits

Contributing

We welcome contributions to this project. Please see our contribution guidelines for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker!

Contact

Netresearch, the company behind this plugin, is a leading European provider of digital solutions and services for the eCommerce industry. We are a team of eCommerce experts, developers, designers, project managers, and consultants. We are passionate about eCommerce and we love to share our knowledge with the community.

Twitter | LinkedIn | Facebook | Xing | YouTube

About

This plugin generates content with the help of artificial intelligence. It is based on the CKEditor 4. It uses the OpenAI API to generate text.

Topics

Resources

Stars

Watchers

Forks