Giter VIP home page Giter VIP logo

davedavis / cloudflare-zoneupdater-ui Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 894 KB

Desktop GUI written in Python that mass updates CloudFlare zone entries. Perfect for self hosting at home when your ISP changes your IP address frequently and you've too many domains to update manually.

Python 100.00%
cloudflare cloudflare-api cloudflare-ddns cloudflare-dns zone zone-files zone-update zones

cloudflare-zoneupdater-ui's Introduction

Cloudflare Zone Updater GUI

Mass update cloudflare domains/zones with your current IP address. As I host a lot of websites at home, Cloudflare Proxy is a great way to make sure my home IP address isn't exposed. But when my ISP rotates my IP, it means I have to update hundreds of Zone entries. This GUI tool is something I whipped together to update them all quickly in a user-friendly way. This is my first try at a desktop Graphical User Interface so buyer beware and all that.

demo2.pngdemo.png

Usage

To use, run zoneupdater.py. Make sure you click "options" then "set API token". Once set, you can get your zones and update them. Please note that this uses cloudflare API tokens, not API keys. You can get your API token from the profile section in your cloudflare account.

Notes

This is basically a scratch project. I wrote it in an evening, and it has only been tested on Ubuntu. If you use this and spot any bugs or have any feature requests, please let me know. I'd be happy to add fix any bugs and will definitely consider any feature requests. Also, feel free to fork and submit a PR if you prefer. I'm sure there's tonnes of bugs.

ToDo:

  • Add support for adding API key/token to keyring, env or config file.
  • Auto refresh domains list after update.
  • Add about section and licence.
  • Make executable.
  • Add support for enabling a service or auto updating on WAN change.
  • Add tests.

cloudflare-zoneupdater-ui's People

Contributors

davedavis avatar

Stargazers

 avatar

Watchers

 avatar

cloudflare-zoneupdater-ui's Issues

Handle Pagination

Since the latest release of the Cloudflare API, zone details are now paged in responses.
This has caused only the first page of zone details to be returned to the Zoneupdater UI.

Need to handle pagination to show all.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.