{"id":25003538,"url":"https://github.com/alphanecron/cf_devmode_toggler","last_synced_at":"2025-03-29T22:12:07.920Z","repository":{"id":112232267,"uuid":"397170569","full_name":"AlphaNecron/cf_devmode_toggler","owner":"AlphaNecron","description":"A simple C++ program that lets you toggle your Cloudflare domain development mode with one command.","archived":false,"fork":false,"pushed_at":"2021-08-17T10:26:37.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-04T22:33:50.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlphaNecron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-08-17T08:26:34.000Z","updated_at":"2021-08-17T10:26:40.000Z","dependencies_parsed_at":"2023-05-11T18:30:20.017Z","dependency_job_id":null,"html_url":"https://github.com/AlphaNecron/cf_devmode_toggler","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlphaNecron%2Fcf_devmode_toggler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlphaNecron%2Fcf_devmode_toggler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlphaNecron%2Fcf_devmode_toggler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlphaNecron%2Fcf_devmode_toggler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlphaNecron","download_url":"https://codeload.github.com/AlphaNecron/cf_devmode_toggler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246249232,"owners_count":20747168,"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":[],"created_at":"2025-02-04T22:31:02.867Z","updated_at":"2025-03-29T22:12:07.871Z","avatar_url":"https://github.com/AlphaNecron.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cf_devmode_toggler\nA simple C++ program that lets you toggle your Cloudflare domain development mode with one command.\n\n### Installation guide\n- Download [devmode-toggle](https://github.com/AlphaNecron/cf_devmode_toggler/releases/latest/download/devmode-toggle) to somewhere.\n- Execute `chmod +x devmode-toggle`.\n- Set 3 variables: `ZONE_ID`, `API_TOKEN`, `EMAIL` in your terminal using `export` command.  \n  `EMAIL`: The email associated with your Cloudflare account.  \n  `ZONE_ID`: You can find one in your domain's dashboard.  \n  `API_TOKEN`: Navigate to [here](https://dash.cloudflare.com/profile/api-tokens) and grab Global API Key.  \n- To turn off development mode, use `./devmode-toggle off`.\n- To turn on development mode, use `./devmode-toggle on`.\n\n### Building from source\n```bash\ngit clone https://github.com/AlphaNecron/cf_devmode_toggler.git\ncd cf_devmode_toggler\nmkdir build\ncd build\ncmake ..\nmake\n```\n\n***\n#### Fix for `error while loading shared libraries: libcpr.so.1: cannot open shared object file: No such file or directory`\n```bash\ngit clone https://github.com/whoshuu/cpr.git --branch 1.6.2 --single-branch # replace 1.6.2 with the latest tag.\ncd cpr\ncmake -DCMAKE_BUILD_TYPE=Release -DCPR_BUILD_TESTS=OFF -DCPR_FORCE_USE_SYSTEM_CURL=ON .\nmake\nmkdir -p /usr/lib\ncp -r lib/libcpr* /usr/lib\nmkdir -p /usr/include\ncp -r include/cpr /usr/include\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphanecron%2Fcf_devmode_toggler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falphanecron%2Fcf_devmode_toggler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphanecron%2Fcf_devmode_toggler/lists"}