I think it would be a neat idea to utilize a plugin and the GitHub API to synchronize a GitHub repo with WordPress. Posts in WordPress (or a CPT) would correlate to files in the GitHub repo. Saving in the WP editor would trigger a commit in GitHub using the API. Similarly, changes made to [more…]
These posts are meant to be quick ideas that I may want to explore later, whether as a blog post or a project.
With Valet+, it’s possible to define a custom set of environment variables for a site. This could conceivably make it possible to have a single set of files run multiple sites. One obstacle to overcome would be using WP CLI with such a setup.