Awesome
<!-- TODO: Use Boom for error handling -->workers
My Cloudflare Workers, for assorted purposes.
This is a Rush project that uses PNPM, none of these packages are published publicly.
Usage
You'll need credentials on hand in your pass
store, and Rush needs to be installed.
nvm use
rush update
rush build
Subsequent builds will be incremental, and won't run from changes to ignored files and external sources (secrets in pass
, files outside a project's folder). In this case, you can force a full rebuild of a project and its dependencies.
rush rebuild --to "@nchlswhttkr/template-worker"
Packages
belles
Records my transactions at Belles Hot Chicken.
esbuild-plugin-handlebars
An esbuild plugin to load and precompile Handlebars templates.
enforce-https
Enforces HTTPS for requests to my website and any subdomains.
hero-of-time-link
A shortcut service using Workers KV.
hugo-media-proxy
Serves media from third party sites for my personal website.
hugo-proxy
Transforms and caches responses from various sites (Bandcamp, YouTube, Twitter, etc...) for embedded content on my website.
nchlswhttkr-dot-com
Handles redirects from my old domain to various destinations.
newsletter-subscription-form
Manages requests to subscribe/unsubscribe from my newsletter.
terraform-registry
Mimics a Terraform registry to serve my custom providers.
bandcamp-embed-cors-proxy
[!WARNING] I've moved this worker in with the embed itself at https://github.com/nchlswhttkr/bandcamp-mini-embed. I don't maintain this anymore.
Proxies requests for my custom Bandcamp embed, adding CORS headers.
counter
[!WARNING] I've taken this down since I'm not actively using it at the moment. You can still view the source code.
Having some fun with isolate persistence in Cloudflare Workers.
experimental-golang-worker
[!WARNING] I've taken this down since I'm not actively using it at the moment. You can still view the source code.
Running Golang as WASM inside Cloudflare Workers.
inject-env-loader
[!WARNING] I wrote this before you were able to include secrets/environment variables with your Workers. I've since migrated, and I don't maintain this anymore.
A Webpack loader to inject environment variables as a part of builds.
markdown-reader
[!WARNING] I've since taken this down, as I'm not using it anymore. Consider a service like nicedoc.io if you're looking for a markdown viewer of GitHub-hosted files.
A reader for web-hosted markdown files.
rss-feeds
[!WARNING] I've taken this down since I'm not actively using it at the moment. You can still view the source code.
Generates RSS feeds for a few websites I browse.