Skip to content

a1ecbr0wn/id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ID: External IP Address Cloudflare Worker

Crates.io CI Build dependency status

Site: id.a1ecbr0wn.com

A simple ip address webservice using Cloudflare's workers service. For use by r53-ddns.

This project uses the workers-rs crate to provide a simple rust WebAssembly binary that runs as a Cloudflare worker. This is based off the standard worker-rust template

Install Wrangler

npm install -g wrangler

Deployment

The project is built and deployed to the test environment every time it is pushed via the build.yml github worflow, but it can also be deployed manually to the dev environment if you have wrangler installed by running:

wrangler deploy --env=test

Testing

The project can be run locally in a test instance of wrangler by running:

npm run dev

Usage

curl https://id.a1ecbr0wn.com