Title: Gitdown: Git Repository to WordPress Blog Posts
Author: Maxim Maeder
Published: <strong>maart 4, 2023</strong>
Last modified: maart 24, 2024

---

Search plugins

![](https://ps.w.org/gitdown/assets/banner-772x250.png?rev=2905268)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/gitdown/assets/icon.svg?rev=2905274)

# Gitdown: Git Repository to WordPress Blog Posts

 By [Maxim Maeder](https://profiles.wordpress.org/maximmaeder/)

[Download](https://downloads.wordpress.org/plugin/gitdown.1.6.1.zip)

 * [Details](https://pap-aw.wordpress.org/plugins/gitdown/#description)
 * [Reviews](https://pap-aw.wordpress.org/plugins/gitdown/#reviews)
 * [Development](https://pap-aw.wordpress.org/plugins/gitdown/#developers)

 [Support](https://wordpress.org/support/plugin/gitdown/)

## Description

Gitdown: Git Repository to WordPress Blog Posts

_By [Maxim Maeder](https://www.maximmaeder.com)_

Gitdown lets you connect a Remote Repository to your Website and upload Markdown
articles to your WordPress Blog.

⚠️ This plugin is still in development. If you find any issues, don’t hesitate to
report them.

#### 🎈 Easy to use

Setting Gitdown up to work with your Repository and Glob Pattern takes no time and
can be easily changed anytime.

#### 🔨 Customization

The shape of your Repository does not matter, you can change the glob pattern to
your liking, and it will understand your repo correctly.

#### 🎁 100% Free

Gitdown is free, and you can use it for whatever you want. Of course, I would be
very grateful if you link back to me or the plugin so more people know about it 
😀.

#### 📚 Documentation

Once you activate Gitdown, it will take you to the documentation page, where you
should get all the necessary info.

You can also consult the following documents for Help.

 * [FAQ](https://github.com/Maximinodotpy/Gitdown/blob/master/docs/faq.md)
 * [Frontmatter Keys](https://github.com/Maximinodotpy/Gitdown/blob/master/docs/keys.md)
 * [Example File](https://github.com/Maximinodotpy/Gitdown/blob/master/docs/example.md)
 * [API Endpoint](https://github.com/Maximinodotpy/Gitdown/blob/master/docs/api-endpoint.md)
 * ([Changelog](https://github.com/Maximinodotpy/Gitdown/blob/master/docs/changelog.md))

You will also find helpful information in the _Reports_ section of the article overview.

⚠️ It may be outdated in some parts as I am somewhat unkeen writing documentation.
Please file an Issue so I know that I need to change it.

#### 👥 Contributing

All contributions are very welcome, so feel free to make [issues](https://github.com/Maximinodotpy/Gitdown/issues),
[proposals](https://github.com/Maximinodotpy/Gitdown/issues/proposals) and [pull requests](https://github.com/Maximinodotpy/Gitdown/pulls).

I’m building this Plugin by myself, and I made it for myself, but I think it could
also be helpful for others. So if you have any ideas on how to improve it, please
let me know.

####  Links

 * [Maximmaeder.com](https://maximmaeder.com/)
 * [My Profile on WordPress.org](https://profiles.wordpress.org/maximmaeder/)
 * [Plugin Page](https://wordpress.org/plugins/gitdown)
 * [SVN repository](https://plugins.svn.wordpress.org/gitdown/)
 * [My other projects](https://demos.maximmaeder.com/)

#### 🤙 Other Software that Gitdown uses.

This plugin uses the following third Party Services and Programs.

 * _[Globster.xyz](https://globster.xyz/)_ Is used in the how-to section for Gitdown
   to teach glob patterns. ([Privacy Policy](https://globster.xyz/privacy/))
 * _[Tailwindcss](https://tailwindcss.com/)_ Is used to style the main admin UI.
 * _[Vue.js](https://vuejs.org/)_ Is used for the main admin UI and its interactivity
   features.
 * _[mnapoli/FrontYAML](https://github.com/mnapoli/FrontYAML)_ Is used to get frontmatter
   information in markdown files.
 * _[git-php](https://github.com/czproject/git-php)_ Is used to clone and fetch 
   git repositories.

## Screenshots

 * [[
 * Dashboard User Interface (Normal)
 * [[
 * Dashboard User Interface (Empty)
 * [[
 * How to View Number One
 * [[
 * How to View Number Two
 * [[
 * Gitdown Reading Settings

## FAQ

### Can I supply multiple glob patterns?

Yes, you can! Simply separate them by commas.

### Does Gitdown read nested categories from the markdown file?

Yes, it does! Something like `Animals/Cats`, will create these two classes in a 
nested fashion and add the last one as the category.

### Does Gitdown read tags?

Yes, It does! You can supply either a list of tags or a single tag.

### Does Gitdown support thumbnails?

Yes, It does! You simply have to provide a file called ‘preview.png’ in the same
folder as your article and it will be added as the thumbnail. This means that you
should have a folder for each article.

### Which keys and values can I provide in the Frontmatter of my Articles?

You find the description for each key [here](https://pap-aw.wordpress.org/plugins/gitdown/keys.md?output_format=md).

### Can I also manage Pages with Gitdown

Yes, you can! simply add `post_type: page` to your frontmatter and this file will
be added as a page. You can then also define a parent page with `parent_page: <slug
of the parent page>`.

### Can Gitdown Automatically update/sync my articles?

Yes it can, simply go to the Settings and activate automatic updating there. Just
keep in mind that this could mean that you will create duplicate content by mistake
if you change the slug of your article.

### Can I connect Private Repositories?

Yes you can you will have to create an URL with the authentication. Consult the 
following links to set this up.

 * [Creating a URL to clone Private Github Repos](https://stackoverflow.com/questions/22755268/clone-a-private-repo-of-github-with-username-and-password)
 * [Creating a custom Personal Access Token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens)

Generally the URL will have to look something like this: `https://<Username_or_Company
>:<PAT_or_Password>@github.com/<Username_or_Company>/<Repository_name>.git`

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Gitdown: Git Repository to WordPress Blog Posts” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Maxim Maeder ](https://profiles.wordpress.org/maximmaeder/)

[Translate “Gitdown: Git Repository to WordPress Blog Posts” into your language.](https://translate.wordpress.org/projects/wp-plugins/gitdown)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/gitdown/), check out
the [SVN repository](https://plugins.svn.wordpress.org/gitdown/), or subscribe to
the [development log](https://plugins.trac.wordpress.org/log/gitdown/) by [RSS](https://plugins.trac.wordpress.org/log/gitdown/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * Small Bugfixes
 * Removed Pull Repo Button

#### 1.0.4

 * Added Tag Insertion
 * wp_generate_attachment_metadata() -> thumbnails will get regenerated if Image
   Editor is available.

#### 1.0.5

 * Added automated updating and posting of posts (Experimental)

#### 1.0.6

 * Fix: Error when trying to clone a private repository

#### 1.2.0

 * Ability to add Pages
 * Breaking Changes

#### 1.2.1

 * Added more Warnings to Report Section (Git Clone Issues)

#### 1.4.6

 * Post Revisions
 * Better Static Resource Caching

#### 1.4.7

 * Documentation Update

#### 1.4.8

 * Documentation Update

#### 1.4.9

 * Documentation Update

#### 1.4.11

 * Swapped `CommonMarkConverter` with `GithubFlavoredConverter`

#### 1.4.12

 * Added [Heading Permalink Extension](https://commonmark.thephpleague.com/2.4/extensions/heading-permalinks/)

#### 1.4.13

 * Catch Type Error when getting Outdated Articles. ([Issue](https://github.com/Maximinodotpy/Gitdown/issues/31))

#### 1.5.0

 * Heading Permalinks removed `content` before id

#### 1.6.0

 * Added API Endpoint for Automating Post Updating

## Meta

 *  Version **1.6.1**
 *  Last updated **2 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.1.0 or higher **
 *  Tested up to **6.4.0**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/gitdown/)
 * Tags
 * [cms](https://pap-aw.wordpress.org/plugins/tags/cms/)[Github](https://pap-aw.wordpress.org/plugins/tags/github/)
   [markdown](https://pap-aw.wordpress.org/plugins/tags/markdown/)[posts](https://pap-aw.wordpress.org/plugins/tags/posts/)
 *  [Advanced View](https://pap-aw.wordpress.org/plugins/gitdown/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/gitdown/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/gitdown/reviews/)

## Contributors

 *   [ Maxim Maeder ](https://profiles.wordpress.org/maximmaeder/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/gitdown/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://maximmaeder.com)