https://github.com/niklasf/cloudflare-camo
A Cloudflare worker to proxy images for privacy, to avoid mixed content, and to add headers
https://github.com/niklasf/cloudflare-camo
Last synced: 19 days ago
JSON representation
A Cloudflare worker to proxy images for privacy, to avoid mixed content, and to add headers
- Host: GitHub
- URL: https://github.com/niklasf/cloudflare-camo
- Owner: niklasf
- License: agpl-3.0
- Created: 2021-09-06T15:45:07.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-07T10:06:39.000Z (over 4 years ago)
- Last Synced: 2025-01-28T20:12:47.835Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 33.2 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# camo
A Cloudflare worker to proxy images for privacy, to avoid mixed content,
and to add headers.
## Usage
```
https://camo.lichess.workers.dev//
https://camo.lichess.workers.dev/?url=
```
## Setup
1. `npm exec wrangler secret put CAMO_KEY`
2. Define `CAMO_HEADER_VIA` environment variable in worker settings
3. `npm run prod`
## Alternatives
- https://github.com/atmos/camo
- https://github.com/cactus/go-camo