luukholleman/WikiClone — reverse-engineered prompt
Reverse engineered prompt
Build me a small Laravel package that mirrors a GitHub wiki into my Laravel site so visitors can read the docs on my own domain instead of GitHub.
I want it to let me set the GitHub repository in a simple config file, fetch the wiki pages, and show them through one customizable documentation view. It should include routes for viewing any wiki page and a webhook endpoint that GitHub can call when the wiki changes, so the local copy updates automatically. Also add an artisan command so I can manually refresh the wiki when needed.
Please include clear setup steps for installing with Composer, registering the service provider, publishing the config and view, adding the routes, setting up the GitHub webhook secret, and any Laravel 5 CSRF warning needed for the webhook route. Keep the package simple and easy to customize.
Want more depth? Deep Reverse