/cloudflare

Cloudflare workers

Primary LanguageTypeScript

Cloudflare

Deploy workers Test

Workers

tools combines all of the following workers:

  • short-urls: redirects for different places around the web from my own short URLs
  • dereferrer: redirects URLs while removing the referrer
  • proxy: a forward proxy that redirects requests from the Cloudflare worker
  • request-details: provide some details about the requesting client

Setup

Install dependencies.

npm install

Develop

See start commands associated with workers in package.json.

npm run start:short-urls

Test

Format, lint and test are set up as npm scripts.

Deploy

Deployments run on push to main.

Resources

CI/CD

Cloudflare wrangler action through GitHub actions