WP Manifestindependent plugin directory
manifest / ai / content-generator

Sfera Content Generator

WordPress plugin for generative AI content generation.

by Sfera Interactive · github.com/sferawebnyc/content-generator · website

1stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/sferawebnyc/content-generator/archive/refs/heads/main.zip

Readme

Sfera Content Generator

A powerful WordPress plugin that leverages AI to generate and suggest content for your WordPress website. Built with modern web technologies and OpenAI's API, this plugin helps content creators streamline their workflow and enhance their content creation process.

Features

  • 🤖 AI-powered content generation using OpenAI's API
  • 📝 Gutenberg block integration for seamless content creation
  • 📝 Classic editor support with TinyMCE integration
  • ⚙️ Easy API configuration through WordPress settings
  • 🎯 Smart content suggestions
  • 🔄 Real-time content generation
  • 🎨 Customizable output formatting
  • 🔒 Secure API key management

Requirements

  • WordPress 5.8 or higher
  • PHP 7.4 or higher
  • OpenAI API key
  • Modern web browser with JavaScript enabled

Installation

  1. Download the plugin zip file
  2. Go to your WordPress admin panel
  3. Navigate to Plugins > Add New
  4. Click "Upload Plugin" and select the downloaded zip file
  5. Click "Install Now" and then "Activate"
  6. Go to Settings > Sfera Content Generator to configure your OpenAI API key

Configuration

  1. Obtain an API key from OpenAI
  2. In WordPress admin, go to Settings > Sfera Content Generator
  3. Enter your OpenAI API key
  4. Save the settings

Usage

Using the Gutenberg Block

  1. Create a new post or page
  2. Add a new block and search for "Sfera Content Generator"
  3. Use the block interface to:
    • Generate new content
    • Get content suggestions
    • Customize output parameters

Using the Classic Editor

  1. Create a new post or page using the classic editor
  2. Click the lightbulb icon in the editor toolbar
  3. Use the modal interface to:
    • Generate new content
    • Get content suggestions
    • Preview and insert content
  4. The generated content will be inserted at your cursor position

Using the Settings Page

  1. Navigate to Settings > Sfera Content Generator
  2. Configure global settings
  3. Set default parameters for content generation
  4. Manage API settings

Development

Prerequisites

  • Node.js 16.x or higher
  • npm or yarn
  • Composer (for PHP dependencies)

Setup Development Environment

  1. Clone the repository:

    git clone https://github.com/sferainteractive/content-generator.git
    cd content-generator
  2. Install dependencies:

    npm install
    composer install
  3. Copy the environment file:

    cp .env.example .env
  4. Update the .env file with your development settings

Building

# Build assets
npm run build

# Watch for changes
npm run dev

Testing

# Run PHP tests
composer test

# Run JavaScript tests
npm test

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Security

  • All API keys are stored securely in the WordPress options table
  • API requests are made server-side to protect your API key
  • Input validation and sanitization on all user inputs
  • Regular security updates and maintenance

Support

For support, please:

  1. Open an issue
  2. Contact support at support@sferainteractive.com

License

This project is licensed under the GPL v2 or later - see the LICENSE file for details.

Credits

Changelog

See CHANGELOG.md for a list of changes.


Made with ❤️ by Sfera Interactive

Read the full README on GitHub →