PraisonAI Git Posts
PraisonAI Git Posts is a revolutionary WordPress plugin that enables file-based content management with Git version control integration. Store your posts, pages, and custom post types as Markdown files while maintaining full WordPress compatibility.
Key Features
- File-Based Content Management – Store all content as Markdown files
- No Database Writes – Pure read-only approach for content
- Git Version Control – Track changes with full Git integration
- Dynamic Post Type Discovery – Automatically registers post types from directory structure
- Custom URL Routing – Beautiful URLs for any post type (e.g.,
/recipes/song-name) - YAML Front Matter – Rich metadata support
- Caching System – Built-in performance optimization
- Auto-Update Detection – Content updates automatically when files change
- WordPress Compatible – Works with themes, plugins, and filters
- Developer Friendly – Clean, extensible architecture
Perfect For
- Developers who prefer Git workflows
- Teams collaborating on content
- Sites requiring version control
- Static site generators transitioning to WordPress
- Content stored in version control repositories
How It Works
- Create a
content/directory at your WordPress root - Add Markdown files with YAML front matter
- Plugin automatically discovers and loads content
- Create new post types by simply adding directories
Example Post
`markdown
title: “My Post Title” slug: “my-post-slug” author: “admin” date: “2024-10-31 12:00:00” status: “publish” categories: – “General” tags:
– “example”
Your content here
Write your content in Markdown format. `
Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- Git (optional, for version control features)
External Services
This plugin connects to external services for certain features:
GitHub API
What it is: GitHub’s REST API (https://api.github.com) is used for version control and collaboration features.
When it’s used: The plugin connects to GitHub API when you: – Enable GitHub OAuth authentication – Create or manage pull requests – Sync content with a GitHub repository – View pull request details and changes
What data is sent: – Repository information (owner, name) – Authentication tokens (OAuth) – Commit messages and file changes – Pull request data
User consent: GitHub features are optional and only activated when you configure GitHub integration in the plugin settings. No data is sent to GitHub unless you explicitly enable and configure GitHub features.
Service information: – Service provider: GitHub, Inc. – Terms of service: https://docs.github.com/en/site-policy/github-terms/github-terms-of-service – Privacy policy: https://docs.github.com/en/site-policy/privacy-policies/github-privacy-statement
Development
- GitHub Repository: https://github.com/MervinPraison/PraisonAI-Git-Posts
- Report Issues: https://github.com/MervinPraison/PraisonAI-Git-Posts/issues
- Author Website: https://mer.vin
Credits
Developed by MervinPraison