GitHub Importer Filter

Last modified by Admin on 2022/02/28 00:05

pluginFilter to import GitHub Pages as wiki pages
Developed by

Hassan Ali

Active Installs5
0 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager


Provides the following features:

  • Ability to import GitHub wiki pages to XWiki.
  • Ability to convert GitHub pages content to Default syntax.
  • Ability to use Basic Authentication for GitHub page repositories that are not public.
  • Ability to create pages hierarchically in XWiki according to the sidebar (
  • Ability to import through file / directory.
  • Supports MediaWiki and Creole syntax files.
  • Fixes relative links (with limitations) while converting syntax from Markdown to XWiki.


GitHub Importer Application

It's recommended to use the GitHub Importer Application which provides the best user experience.

Filter Streams Converter Application

It's also possible to use the generic Filter Streams Converter Application.

Make sure you have installed it. Then go to Filter Stream Converter page and set INPUT TYPE to GitHub Importer input stream (github+wiki) then set the input parameters then set OUTPUT TYPE to XWiki instance output stream (xwiki+instance) and then click Convert button.

Step 1

Go to Filter Streams Converter page.


Step 2

Click on INPUT TYPE dropdown and select GitHub Importer input stream (githubimporter+wiki).


Step 3

Fill the INPUT CONFIGURATION parameters.

  • (Optional) Authentication Code: The oauth / token / username (with password) used to clone private repositories.
  • XWIKI SYNTAX CONVERSION: To convert the syntax to Default syntax (Chosen in Administration > Editing > Syntaxes).
  • CREATE HIERARCHY OF PAGES: Saves the pages hierarchically according to their level defined in Sidebar.
  • PARENT: The root of all pages to be imported. (e.g. GithubImporterTest)
  • SOURCE: The wiki repository URL in the format url:<WebURL>. If you provide main repository URL (*.git) then it will automatically modify the URL to reach the Wiki repository (*.wiki.git). (e.g. url:
  • (Optional) Username: This is actually the password of the username provided in the Authentication Code.
  • VERBOSE: Let it remain true if you want to see the log.

Step 4

Click on OUTPUT TYPE dropdown and select XWiki instance output stream (xwiki+instance). You can leave the OUTPUT CONFIGURATION as is.


Step 5

Scroll down and click on Convert button.


Step 6

Wait until the conversion is complete, click on Job log button to see the output of XWiki pages. Once they have been created, you can click on any of them to see the output XWiki page.


Awesome! You just got your GitHub wiki pages inside XWiki!

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).

You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.

Release Notes









Dependencies for this extension (org.xwiki.contrib.github-importer:github-importer-filter 1.6):

Get Connected