lukasbestle / kirby-versions

Keep track of content changes and switch between different versions from the Kirby 3 Panel
MIT License
77 stars 4 forks source link

Versions for Kirby

Kirby 3.7.0+ MIT license Release CI Status Coverage Status

Keep track of content changes and switch between different versions from the Kirby Panel

Screenshot of the Versions view in the Kirby Panel

Support my work

The Versions plugin is completely free and published under the terms of the MIT license. I do not sell licenses or accept donations, but I'm available for contract work regarding feature development for this plugin.
Read more…

About this plugin

The Versions plugin was built with three use cases in mind:

  1. By version controlling the entire contents of your Kirby site, you can go back in time whenever something is changed by accident. You can also find out when the change was made and who made it for which reason.
  2. The content and its history should be backed up externally in case the data center burns down or the server is attacked. This backup should always be consistent and atomic so an accurate restore can be guaranteed.
  3. In a Kirby site with multiple instances (e.g. staging and production), it should be possible to deploy a new content version to another instance. This deployment should again be consistent.

The Git version control system is very well suited for all of these tasks as it is remarkably robust and provides a lot of useful features out of the box that help with all of these goals. This is why the Versions plugin is built on top of Git.

This plugin is made for you if you have one or multiple of the use cases described above. What they have in common is that the content primarily "lives" on the server and is edited from the Kirby Panel. If you instead want to edit the content locally and push it to the server using Git, other plugins will be better suited for your use case.

Features

Requirements

Support for older Kirby versions is provided by previous versions of this plugin. I recommend to update your Kirby installation to benefit from fixes and improvements both in Kirby and in this plugin.

Documentation

The plugin documentation will show you how to set up the plugin initially, how to configure common and advanced features and how to use the plugin.

License

The MIT License

Contributing & Monetary Support

See CONTRIBUTING.md.

Credits