Browse, install, and update plugins/themes hosted on GitHub, directly from your WordPress dashboard. Works with public and private repositories.
Find a file
2026-02-28 01:45:55 +01:00
assets Tab to browse private themes 2026-02-28 01:29:08 +01:00
includes Add Plugins screen filter link 2026-02-28 01:41:22 +01:00
languages Name change 2024-12-31 04:25:26 +01:00
vendor Name change 2024-12-31 04:25:26 +01:00
.gitignore Updater functionality 2024-12-26 04:43:00 +01:00
composer.json Name change 2024-12-31 04:25:26 +01:00
composer.lock Updater functionality 2024-12-26 04:43:00 +01:00
hub2wp.php Update docs & bump version 2026-02-28 00:47:58 +01:00
readme.md Update readme.md 2026-02-28 01:45:55 +01:00
readme.txt Update readme 2026-02-28 01:44:37 +01:00

hub2wp

hub2wp is a WordPress plugin that lets you discover, install, and update plugins and themes hosted on GitHub directly from your WordPress dashboard. By leveraging GitHub's ecosystem, it provides a straightforward way to extend your WordPress site beyond the resources available on WordPress.org.

hub2wp does not require any changes to existing plugins or approvals from a central authority to make themes and plugins discoverable or updatable. All it takes is for developers to add the wordpress-plugin/wordpress-theme tag to their public GitHub repository. hub2wp automatically verifies that a repository is a valid WordPress extension. Thousands of valid plugins and themes are already available on GitHub, ready to be installed right away!

Private repositories are also supported, and you can manually set up update monitoring for themes and plugins installed outside hub2wp.

GitHub Plugin Browsing

Also check out the hub2wp Plugin Repository a public website to browse, search, and explore WordPress plugins hosted on GitHub.


Features

  • Search GitHub Plugins and Themes: Browse and search repositories on GitHub to find plugins and themes that meet your needs.
  • Install with One Click: Easily add GitHub-hosted plugins and themes to your site.
  • Update Management: Receive notifications and perform updates for GitHub plugins and themes directly from your admin panel, like you would for WordPress.org plugins.
  • Optional GitHub Token Support: Increase the GitHub API rate limit by adding a personal access token. Normal usage does not require a token, thanks to GitHub's generous API limits for unauthenticated requests.
  • Caching: Built-in caching minimizes API requests for faster performance and reduced API quota usage.
  • Manual Update Monitoring: Set up update monitoring for plugins and themes installed outside hub2wp.
  • Private Repository Support: Browse, install, and update plugins and themes from private GitHub repositories.

How It Works

  1. Plugin and Theme Eligibility: To appear in hub2wp, a repository must have the wordpress-plugin or wordpress-theme GitHub topic. Plugins also need a Stable tag: header in their readme.txt or readme.md, and themes need a Version: header in style.css. These version headers are used for update monitoring.

  2. Update Mechanism: Currently, hub2wp checks the Stable tag: or Version: header in the default branch of the repository to manage updates. In the future, support for GitHub releases will be added, prioritizing them for update monitoring if the repository uses the releases feature.

  3. Installation:

    • Download the latest release from the Releases page.
    • Upload the ZIP file via the 'Plugins' screen in WordPress or extract it to the /wp-content/plugins/ directory.
    • Activate hub2wp from the 'Plugins' menu.
    • Start exploring GitHub plugins under “Plugins > Add GitHub Plugin”. Themes will be available under “Appearance > Themes > GitHub Themes”.
  4. Configuration (Optional):

    • Add a personal GitHub token in “Settings > GitHub Plugins” to increase API limits and access private repositories.
    • Adjust caching settings for optimized performance.
    • Set up update monitoring for manually installed plugins and themes.

Roadmap

hub2wp will continue to evolve with the following planned features:

  • Release Tracking: Monitor GitHub releases for updates instead of just the default branch.
  • Custom Branch Monitoring: Enable update tracking for specific branches other than the main branch.
  • Full WP-CLI Integration: Provide WP-CLI commands for managing GitHub plugins via the command line.

Screenshots

GitHub Plugin Browsing

GitHub Plugin Browsing

Plugin Details Popup

Plugin Details Popup

Set up Update Monitoring for Plugins on the Settings Page

Set up Update Monitoring for Plugins on the Settings Page

Update Processing via GitHub API

Update Processing via GitHub API


FAQs

Do I need a GitHub token?
No, but adding one increases the API request limit, which may be useful for high usage scenarios. Without a token, you can make up to 60 API requests per hour, which is sufficient for most users. You only need a token if you have a large number of plugins or if you want to use private repositories.

Will this plugin interfere with WordPress.org plugins?
No, hub2wp operates independently of WordPress.org and only manages plugins sourced from GitHub.

What happens if a plugin is updated on GitHub?
hub2wp will check for updates based on the Stable tag: version in the default branch. If a new version is detected, you will receive an update notification in your WordPress dashboard, allowing you to update the plugin directly from there.

Can I use hub2wp for private repositories?
Yes, you can add private repositories to hub2wp by providing a GitHub token with the appropriate permissions. Private repositories will be listed in a separate tab in the plugin browser.


Contribution

hub2wp is open source and welcomes contributions. If you encounter issues or have suggestions, please create an issue or pull request in the GitHub repository.


Changelog

1.2.0

  • New: Added support for themes in addition to plugins.
  • New: Added filter link for GitHub plugins on the Plugins page.
  • Fix: Use repo name as the plugin or theme slug on installation.

1.1.0

  • New: Added support for private GitHub repositories.
  • New: Private repositories tab in plugin browser.
  • New: Settings page UI for managing repositories / monitored plugins.

1.0.1

  • Fix: Update plugin data saved in the activation hook.
  • Fix: Use the last commit date from the default branch as the plugin's last updated date.

1.0.0

  • Initial release