Cloudflare Plugin Frontend
Description
A React/Redux front-end for Cloudflare's WordPress, Magento2, and cPanel plugins.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Build using [Yarn](https://yarnpkg.com/en/docs/install)
yarn installyarn run build
Development Tasks
$ yarn run build
$ OUTPUT_PATH=custom-path.js yarn run build
$ yarn run build:production
$ yarn run lint
$ yarn run format
$ yarn run test
Production
For production run `yarn run build:production` to get a minified version of compiled.js
Building Your Own Backend
This repository serves as the front end for all of our 3rd party integrations. It is intended to be backend agnostic with the intention of making it as easy as possible to port it to new backends. If you would like to build a custom backend just follow these steps:
- Implement RestProxyCallback()
/*
* A callback for cf-util-http to proxy all calls to our backend
*
* @param {Object} [opts]
* @param {String} [opts.method] - GET/POST/PUT/PATCH/DELETE
* @param {String} [opts.url]
* @param {Object} [opts.parameters]
* @param {Object} [opts.headers]
* @param {Object} [opts.body]
* @param {Function} [opts.onSuccess]
* @param {Function} [opts.onError]
*/
function RestProxyCallback(opts) {}
This method is called on every request before it is sent. It should route all absolute URLs to the endpoint for your backend. Requests with relative URLs for things like localization (./lang/*.js) and config (./config.json) should remain unchanged.
Build your backend data store Your backend needs to store the following information about each user:
- Cloudflare Client V4 API Key
- Cloudflare Client V4 API Email
- Cloudflare Host API Key
In `index.html` create a variable in local storage called `cfEmail` which contains Cloudflare Client V4 API Email of the current user.
Build an API Client for the Cloudflare V4 API which adds the necessary headers to each request.
Build an API Client for the Cloudflare Host API which adds t
Related Skills
Docker
---
DevOps Kubernetes
---
DevOps AWS Skills
AWS development with CDK best practices, cost optimization MCP servers, and serverless/event-driven architectu
DevOps Composio Split
Manage Split feature flags and experiments
DevOps **claude-code-router**
(25.3k ⭐) - Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interac
DevOps CLAUDE.md CI/CD Wiki
Community patterns for CLAUDE.md configuration in CI/CD pipelines.
DevOps