Sen descrición

Thomas Dy 042db3f4b9 Make port configurable in node server %!s(int64=8) %!d(string=hai) anos
lib 03f8056f91 Fix casing of App.jsx %!s(int64=10) %!d(string=hai) anos
rust-server 448c9e0ea6 Forward headers when proxying zone_load_multi %!s(int64=8) %!d(string=hai) anos
.gitignore 493685e510 Initial commit %!s(int64=10) %!d(string=hai) anos
README.md 26b4e18669 Update readme %!s(int64=8) %!d(string=hai) anos
config.json.example ee6581f9c1 Make port configurable %!s(int64=8) %!d(string=hai) anos
index.html 493685e510 Initial commit %!s(int64=10) %!d(string=hai) anos
main.css 493685e510 Initial commit %!s(int64=10) %!d(string=hai) anos
package.json fd82aa68b0 Force cortex version to 0.6.2 %!s(int64=8) %!d(string=hai) anos
server.js 042db3f4b9 Make port configurable in node server %!s(int64=8) %!d(string=hai) anos
webpack.config.js 84a1b0cff5 Add woff2 in loader config %!s(int64=8) %!d(string=hai) anos

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

Download the binary (only Linux x86_64 for now). Get a copy of config.json.example and name it config.json. Place it in the same directory as the binary. Fill in your account details and the domains to be whitelisted. Afterwards, run the binary and you should be able to manage your domains at localhost:8000.

Security

The server only listens at 127.0.0.1. It 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.