Skip to content

bots-gg/unfurrer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unfurrer

URL unfurling service that requires signed requests to function, running on Cloudflare Workers.

Setup

  1. Install Wrangler 2 (yarn global add wrangler or npm i -g wrangler) or install it through this projects dependencies.
  2. Generate a public Ed25519 key, exported under SPKI mode with PEM formatting. Should look like this:
-----BEGIN PUBLIC KEY-----
MCowBQYDK2VwAyEAzOWQ2fB4o1cNL8aBEz3EHdUQc9RlqVs+k4BMq/F5his=
-----END PUBLIC KEY-----
  1. Set the inside (MCowBQYDK2VwAyEAzOWQ2fB4o1cNL8aBEz3EHdUQc9RlqVs+k4BMq/F5his=) as the PUBLIC_KEY secret (yarn wrangler secret put PUBLIC_KEY or npx wrangler secret put PUBLIC_KEY), responding to the prompt with the public key.
  2. Edit wrangler.toml to have an up to date routes key.
  3. Deploy with yarn deploy (or npm run deploy)!

About

URL redirect unfurler for Cloudflare Workers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published