Thomas Dy 56acbee340 Add unmaintained notice | hace 3 años | |
---|---|---|
lib | hace 8 años | |
rust-server | hace 8 años | |
.gitignore | hace 10 años | |
README.md | hace 3 años | |
config.json.example | hace 3 años | |
index.html | hace 10 años | |
main.css | hace 8 años | |
package.json | hace 8 años | |
server.js | hace 8 años | |
webpack.config.js | hace 8 años |
This project is no longer maintained. Cloudflare already supports multi-user for any account so there's not much need for this project anymore.
If you still absolutely need this for the whitelist functionality, you can try the api-token branch.
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 as well as changing the SSL mode.
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.
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
.
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.