Skip to content

mikefreemantn/SourceHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

186 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SourceHub - Hub & Spoke WordPress Plugin

A powerful content syndication plugin that enables centralized editorial teams to distribute content across multiple WordPress sites with full SEO integration, AI rewriting, and smart linking capabilities.

🎯 Overview

SourceHub transforms your WordPress network into a centralized content distribution system. Create content once on your hub site and automatically syndicate it to multiple spoke sites with intelligent processing, SEO optimization, and custom linking.

✨ Key Features

🏒 Hub & Spoke Architecture

  • Hub Mode: Central content creation and management
  • Spoke Mode: Automated content receiving and publishing
  • Dual Mode Plugin: Single plugin works in both modes

πŸ€– AI-Powered Content Rewriting

  • OpenAI Integration: GPT-4, GPT-4 Turbo, GPT-4o Mini support
  • Per-Spoke Customization: Different AI settings for each spoke site
  • Per-Post Control: Override AI settings on individual posts
  • Tone & Style: Customize rewriting tone and instructions

πŸ”— Smart Linking System

  • Smart Links: Automatic URL adaptation (/weather β†’ spoke1.com/weather)
  • Custom Smart Links: Unique URLs per spoke site for external links
  • Block Editor Integration: Visual formatting tools in WordPress editor
  • AI Compatible: Links preserved during AI rewriting

🎨 Modern Admin Interface

  • Google Material Design: Beautiful, responsive dashboard
  • Real-time Monitoring: Live syndication status and logs
  • Connection Management: Easy spoke site setup and testing
  • Activity Logging: Comprehensive audit trail

πŸ” SEO & Technical Features

  • Full Yoast SEO Integration: All meta fields sync automatically
  • Canonical URL Management: Proper SEO structure maintained
  • Featured Image Sync: Complete media handling
  • Category & Tag Mapping: Taxonomy synchronization
  • Site Wake-Up System: Handles sleeping/inactive sites

πŸš€ Quick Start

Installation

  1. Upload the plugin to /wp-content/plugins/sourcehub/
  2. Activate the plugin through WordPress admin
  3. Choose Hub or Spoke mode in SourceHub settings

Hub Site Setup

  1. Set mode to "Hub" in SourceHub β†’ Settings
  2. Add spoke connections in SourceHub β†’ Connections
  3. Configure AI settings (optional) in SourceHub β†’ Settings β†’ AI Integration
  4. Start creating and syndicating content!

Spoke Site Setup

  1. Set mode to "Spoke" in SourceHub β†’ Settings
  2. Copy the API key and provide it to your hub site
  3. Content will automatically appear when syndicated from hub

πŸ›  Technical Requirements

  • WordPress: 5.0 or higher
  • PHP: 7.4 or higher
  • MySQL: 5.6 or higher
  • Yoast SEO: Recommended for full SEO features
  • OpenAI API Key: Required for AI rewriting features

πŸ“‹ Use Cases

πŸ—žοΈ News Organizations

  • Central newsroom creates content
  • Automatic distribution to local market sites
  • AI adapts content for local audiences
  • Consistent SEO and branding

🏒 Multi-Location Businesses

  • Corporate content creation
  • Location-specific customization
  • Smart links adapt to local pages
  • Centralized content management

πŸ“± Digital Agencies

  • Manage multiple client sites
  • Efficient content distribution
  • Custom AI settings per client
  • Comprehensive reporting

πŸ”§ Advanced Features

Smart Links

<!-- In Editor -->
Visit our <smart-link>/weather</smart-link> section

<!-- On Spoke Sites -->
Visit our <a href="https://spoke1.com/weather">weather</a> section
Visit our <a href="https://spoke2.com/weather">weather</a> section

Custom Smart Links

<!-- Different URLs per spoke -->
Check your <custom-smart-link>county website</custom-smart-link>
<!-- spoke1.com β†’ links to dallascounty.org -->
<!-- spoke2.com β†’ links to harriscounty.org -->

AI Rewriting

  • Automatic: Content rewritten based on spoke settings
  • Per-Post Override: Disable AI for specific posts
  • Tone Control: Professional, casual, local, etc.
  • Custom Instructions: Specific rewriting guidelines

πŸ“Š Monitoring & Logs

  • Real-time Dashboard: Live syndication status
  • Activity Logs: Detailed operation history
  • Success Metrics: Syndication success rates
  • Error Tracking: Comprehensive error logging
  • Wake-up Monitoring: Site responsiveness tracking

πŸ” Security

  • API Key Authentication: Secure hub-spoke communication
  • Nonce Verification: CSRF protection
  • Permission Checks: Proper user capability validation
  • Input Sanitization: All data properly sanitized
  • Audit Logging: Complete activity tracking

🀝 Contributing

We welcome contributions! Please see our contributing guidelines and submit pull requests for any improvements.

πŸ“„ License

This plugin is licensed under the GPL v2 or later.

πŸ†˜ Support

For support, feature requests, or bug reports, please open an issue on GitHub.


Made with ❀️ for the WordPress community

About

Hub & Spoke WordPress Plugin for Centralized Content Distribution with AI Rewriting and Smart Links

Topics

Resources

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors