[WordPress] 外掛分享: Posts to GitHub

首頁外掛目錄 › Posts to GitHub
WordPress 外掛 Posts to GitHub 的封面圖片
全新外掛
安裝啟用
尚無評分
2 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.5.15 上架:2026-07-27

內容簡介

Posts to GitHub 外掛可將已發佈的文章匯出為 Markdown 格式的檔案,並包含 YAML 前置資料,直接傳送至現有的 GitHub 儲存庫。此外掛旨在隨著時間累積您的寫作文本資料,對於訓練或指導一致的寫作風格十分有用。

【主要功能】
• 從編輯畫面匯出單篇文章,並提供即時狀態和追蹤日誌
• 從專用文章畫面批次匯出,支援篩選、分頁和多頁選擇
• 預設單次提交和推送整批匯出,支援自動重試
• 可選擇自動匯出新發佈文章及自動重新匯出更新文章
• 提供已匯出但不再發佈的文章的唯讀檢視
• 支援 WP-CLI 指令進行單篇或批次匯出

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.5.15) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Posts to GitHub」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Posts to GitHub exports your published posts as Markdown files, with YAML front matter, to an existing GitHub repository (public or private). The goal is to build, over time, a text corpus of your writing that’s useful for training or guiding a consistent writing style in tools like Claude.
Features:
* Export a single post from its edit screen, with live status and trace log
* Bulk export from a dedicated Posts screen: filters, pagination, multi-page selection, stoppable progress
* Single commit and push for the whole bulk export batch by default (opt out for one commit per post), with automatic retry on GitHub rate limits either way
* Optional automatic export of newly published posts and automatic re-export of updated posts, both in the background via WP-Cron
* Read-only view of posts that were exported but are no longer published (draft, private, scheduled or trashed)
* Connection test and automatic branch detection against the configured GitHub repository
* WP-CLI commands for scripted single or bulk exports
* English by default, with an included Italian translation
* Git Updater compatible for seamless updates from GitHub
The plugin never creates the repository, never uploads binary images (they stay as absolute links to the source site), and only works on published post content.
External services
This plugin connects to GitHub’s REST API (api.github.com) to write your exported posts to a repository you own and configure. It is a core, opt-in part of the plugin’s function: nothing is sent until you set a Personal Access Token and target repository in Settings and trigger an export (manually, in bulk, or via the optional automatic-export setting).
On each export, the plugin sends the post title, content converted to Markdown, and basic metadata (date, categories, tags, slug) as the file content of a commit to the repository and branch you configured. It also calls the API to test the connection, detect the default branch, and read/create the file/commit needed for the export. No data is sent to any third party other than GitHub, and no data is sent unless you have explicitly configured the plugin.
This service is provided by GitHub, Inc.: GitHub Terms of Service and GitHub Privacy Statement.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon