No description
- Rust 100%
|
|
||
|---|---|---|
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
| wrangler.toml | ||
wellknown-worker-rs
⚠️ Horrible code quality ahead, this is just a small project written to get me back into Rust that gets the job done well-enough for my personal site. Not production-ready.
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 onwkdbranch, 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
- Install the WASM rust target
rustup target add wasm32-unknown-unknown
- Install NPM
- Build + start
npx wrangler dev
Publishing to Cloudflare
npx wrangler deploy