Skip to content

Instantly share code, notes, and snippets.

View Lazrius's full-sized avatar
🦊
Foxes go skreeeee

Laz Lazrius

🦊
Foxes go skreeeee
View GitHub Profile
@Lazrius
Lazrius / cloudflare.ts
Last active June 15, 2022 09:58
Simple Cloudflare Dynamic IP Updating Service (using Deno)
/*
This is a fairly simple script that simply grabs your public IP then sends it on to a cloudflare zone to update a particular DNS reccord.
I wrote this for keeping my Raspberry Pi always connected as my public IP changed frequently.
*/
// Run with `deno run --allow-net cloudflare.ts`
// Empty declaration to make it a module
export { };