brettinternet / cloudflare

Cloudflare workers

Home Page:https://brett.pw/request

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Cloudflare workers

https://brett.pw/request


Languages

Language:TypeScript 93.0%Language:JavaScript 7.0%