PmWiki Export

Summary: Exports PmWiki pages to a Git-based repository
Version: 1.0.0
Prerequisites: Node.js
Status: New
Maintainer: RyanVarick
Categories: Administration
Users: (view? / edit)
Discussion: PmWikiExport-Talk?

Questions answered by this recipe

How do I export my pages, with complete version history, to a Git-based repository?


PmWiki Export works by using a Node script to communicate with a PmWiki cookbook recipe. The cookbook recipe exports PmWiki page history as a JSON object. The Node script retrieves the complete history for all pages, stores the history in a SQLite database, and "replays" each version chronologically in a new Git repository.


See on Github.

Important: This script calls ReadPage and RestorePage directly, bypassing security settings. I cannot get HandleAuth to work properly. For that reason, I am intentionally keeping the installation instructions vague. I recommend copying wiki.d/ locally to a clean installation of PmWiki, and running the export script against a development server.


  • TBD.

Change log / Release notes

  • 1.0.0 Initial Release


See discussion at PmWikiExport-Talk?

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.