1
0
Fork 0
cloudflare worker that serves .well-known routes
This repository has been archived on 2026-05-23. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2026-05-23 03:21:08 +01:00
src update readme before archiving 2026-05-23 03:21:08 +01:00
.gitignore initial commit 2025-12-23 02:41:23 +00:00
Cargo.lock initial commit 2025-12-23 02:41:23 +00:00
Cargo.toml enable compiler optimisations 2025-12-23 03:26:28 +00:00
LICENSE initial commit 2025-12-23 02:41:23 +00:00
README.md update readme before archiving 2026-05-23 03:21:08 +01:00
wrangler.toml initial commit 2025-12-23 02:41:23 +00:00

wellknown-worker-rs

⚠️ This was just a small project written to get me back into Rust that got the job done at the time. Not production-ready.

Archiving since I don't use it any more and don't want to maintain it.

This is a Cloudflare Worker project that exists so that the .well-known services on my website remain accessible while my host server is down

Features

  • security.txt
  • webfinger (only with very basic OIDC discovery functionality)
  • OpenPGP Web Key Directory (only on wkd branch, and you should really stop and think about why you want this functionality)

Customisation

security.txt

Edit src/security.txt

webfinger

Edit src/webfinger_response.json and replace the default resource URI in src/handlers.rs

Building & running locally

  1. Install the WASM rust target
rustup target add wasm32-unknown-unknown
  1. Install NPM
  2. Build + start
npx wrangler dev

Publishing to Cloudflare

npx wrangler deploy