forked from
tangled.org/core
Monorepo for Tangled — https://tangled.org
1# camo
2
3Camo is Tangled's "camouflage" service much like that of [GitHub's](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-anonymized-urls).
4
5Camo uses a shared secret `CAMO_SHARED_SECRET` to verify HMAC signatures. URLs are of the form:
6
7```
8https://camo.tangled.sh/<signature>/<hex-encoded-origin-url>
9```
10
11It's pretty barebones for the moment and doesn't support a whole lot of what the
12big G's does. Ours is a Cloudflare Worker, deployed using `wrangler` like so:
13
14```
15npx wrangler deploy
16npx wrangler secrets put CAMO_SHARED_SECRET
17```