暂无描述

Thomas Dy 84a1b0cff5 Add woff2 in loader config 8 年之前
lib 03f8056f91 Fix casing of App.jsx 9 年之前
.gitignore 493685e510 Initial commit 10 年之前
README.md 1c962cf5cb Add readme and sample config 8 年之前
config.json.example 1c962cf5cb Add readme and sample config 8 年之前
index.html 493685e510 Initial commit 10 年之前
main.css 493685e510 Initial commit 10 年之前
package.json a54cd2896c Move cortexjs to devDependencies 10 年之前
server.js ce23045879 Fix prod serving of index.html 10 年之前
webpack.config.js 84a1b0cff5 Add woff2 in loader config 8 年之前

README.md

Cloudflare WebUI

This is a web frontend to the Cloudflare API. It mainly lets you manage DNS records, but it also lets you toggle development mode and purge the cache.

This was mainly built to work around Cloudflare only having multi-user support for enterprise. It's a simple frontend for the DNS settings and a simple webserver that handles making the actual requests to Cloudflare.

Usage

After cloning the repository, copy config.json.example to config.json and fill it with your account details and put the domains you want to manage in the whitelist array. Afterwards, run npm install then npm start and you should be able to manage your domains in localhost:8000.

Security

The server does not provide any form of authentication. It is meant to be run behind a reverse proxy such as nginx with basic auth, or behind something like oauth2_proxy.

The server never exposes your username and token to the clients, all requests to Cloudflare are made from the server. The server will also only allow API requests to domains specified in the whitelist. Domains not listed will be blocked even if your account owns it.