This template can be used to create custom Lua plugins for Apache APISIX.
You can use this template by clicking the "Use this template" button on the top.
You can then clone the newly generated repository to your local machine and write your custom code.
The template contains the following files:
.
├── .github/ GitHub Actions workflows and Dependabot configuration files
├── apisix All files in this folder will be copied and will overwrite the original APISIX files
│ └── plugins/ Your custom plugin goes here
├── ci All files in this folder will be copied and will overwrite the original APISIX
│ └── utils/ CI utils script folder
├── t/ Test cases go here
├── LICENSE
├── Makefile
└── README.md
To test your custom plugin, you can write tests for it and run these tests in the CI.
The ci.yml workflow runs the tests cases in the t folder on push and pull_request events.