Posts to GitHub
Exports published posts as Markdown files, with YAML front matter, to a GitHub repository.
Posts to GitHub exports published posts as Markdown files complete with YAML front matter and pushes them to a GitHub repository, keeping a version-controlled mirror of your content outside WordPress.
Key features
- ●Exports published posts as Markdown with YAML front matter.
- ●Pushes exported files directly to a GitHub repository.
- ●Keeps a version-controlled mirror of your content.
You can install this plugin manually over SSH — connect to your server and run these commands inside your wp-content/plugins directory:
Alternatively, download the ZIP above and upload it from Plugins → Add New → Upload Plugin in your WordPress dashboard, or via FTP/SFTP.
Fixed
- Posts cloned with Yoast Duplicate Post (or any plugin that copies post meta) inherited the original post's
_potogh_path/_potogh_sha, so exporting the copy silently overwrote the original's Markdown file on GitHub, and "Delete from GitHub" on the copy could remove it. The recorded path is now trusted only when no older post owns the same path; otherwise the copy gets its own path from its slug. - Test suite:
tests/bootstrap.phpnow definesABSPATH, so requiring plugin files no longer ends the PHPUnit run early with a success exit code;SettingsTeststubssanitize_text_field().
Added
_potogh_*is added to Yoast Duplicate Post's meta exclude list (duplicate_post_excludelist_filter), so new copies no longer carry export meta.
For the full version history, see CHANGELOG.md.
Other plugins
A widget that displays your latest Disqus comments, powered by the Disqus API.
Export, review and delete WordPress users by email — including duplicate detection.
Embed GitHub Gists with a block, the [gist] shortcode or a pasted URL — cached, sanitized, with dark mode.