{"id":18250269,"url":"https://github.com/andp97/cloudflare-dynamic-ip","last_synced_at":"2025-04-04T16:31:10.434Z","repository":{"id":142738917,"uuid":"345157057","full_name":"andp97/cloudflare-dynamic-ip","owner":"andp97","description":"Cloudflare ☁️ DDNS script for Raspberry Pi 4 🍓 or RHEL/Debian/Ubuntu 🐧","archived":false,"fork":false,"pushed_at":"2024-01-11T22:43:31.000Z","size":18140,"stargazers_count":11,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T15:11:58.311Z","etag":null,"topics":["cloudflare","ddns","ddns-client","ddns-updater","raspberry-pi","raspberry-pi-3","raspberry-pi-4","raspberrypi"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andp97.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-06T17:43:40.000Z","updated_at":"2024-10-09T13:35:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"3d241c13-1bf7-45d6-ad3c-f63a479f9df7","html_url":"https://github.com/andp97/cloudflare-dynamic-ip","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andp97%2Fcloudflare-dynamic-ip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andp97%2Fcloudflare-dynamic-ip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andp97%2Fcloudflare-dynamic-ip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andp97%2Fcloudflare-dynamic-ip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andp97","download_url":"https://codeload.github.com/andp97/cloudflare-dynamic-ip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247209316,"owners_count":20901748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudflare","ddns","ddns-client","ddns-updater","raspberry-pi","raspberry-pi-3","raspberry-pi-4","raspberrypi"],"created_at":"2024-11-05T09:44:08.280Z","updated_at":"2025-04-04T16:31:10.195Z","avatar_url":"https://github.com/andp97.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloudflare ☁️ Dynamic DNS IP Updater\n\nThis tool allow you to have a specific DNS record such as `home.example.com` that point to your home IP\n\n\n#### Use Case\nI suggest you to install it on a Raspberry Pi!🍓\n\n### Requirements\n\n- Domain Name\n- [Cloudflare Account](https://www.cloudflare.com/) \n- Raspberry Pi4 or any other Linux Based OS\n- `composer`\n- `php-7.3`\n\n### Installation\n```\ngit clone https://github.com/andp97/cloudflare-dynamic-ip.git\ncd cloudflare-dynamic-ip\nINSTALL_PATH=$(pwd)\ncomposer install --no-dev\nnano .env\necho -e \"*/15 * * * * $INSTALL_PATH/cf-ip 2\u003e\u00261 \u003e /dev/null\\n\"\ncrontab -e\n```\n\nYou can also execute this script via bash\n```\n#Get dns record name from env and target ip from remote host (https://ip.andreapavone.com) \n./cf-ip\n#Passing parameters to the script\n./cf-ip \u003cdns_record_name\u003e \u003ctarget_ip\u003e\n```\n\nOn `.env` file you can set:\n- `CLOUDFLARE_TOKEN` (see how can you generate token here: https://support.cloudflare.com/hc/en-us/articles/200167836-Managing-API-Tokens-and-Keys)\n- `CLOUDFLARE_ZONE_NAME` or `CLOUDFLARE_ZONE_ID`\n- `DNS_RECORD_NAME` is the subdomain that you prefer to use (for example: **home**.example.com). If you prefer to be safer use a randomized token for the `DNS_RECORD_NAME`\n\n\n### Update\n```\ngit pull\ncomposer update\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandp97%2Fcloudflare-dynamic-ip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandp97%2Fcloudflare-dynamic-ip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandp97%2Fcloudflare-dynamic-ip/lists"}