Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cloudflare/privacy-gateway-relay
A Oblivious HTTP ("OHTTP") Relay built on Cloudflare Workers.
https://github.com/cloudflare/privacy-gateway-relay
cloudflare ohttp workers
Last synced: 4 months ago
JSON representation
A Oblivious HTTP ("OHTTP") Relay built on Cloudflare Workers.
- Host: GitHub
- URL: https://github.com/cloudflare/privacy-gateway-relay
- Owner: cloudflare
- License: bsd-3-clause
- Created: 2022-06-17T20:47:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-27T17:20:44.000Z (4 months ago)
- Last Synced: 2024-10-04T21:41:45.532Z (4 months ago)
- Topics: cloudflare, ohttp, workers
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 21
- Watchers: 17
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# Privacy Gateway Relay
This Cloudflare Worker implements an [Oblivious HTTP](https://datatracker.ietf.org/doc/draft-ietf-ohai-ohttp/) relay. Usage of this relay adheres to the HTTP usage described [in the draft specification](https://datatracker.ietf.org/doc/html/draft-ietf-ohai-ohttp-01#section-6). The functionality here is subject to change.
## Configuration
The relay is configured to forward all requests to the URL identified by the `TARGET` environment variable, configured in the wrangler.toml file.
```
vars = { TARGET = "https://ohttp-echo.crypto-team.workers.dev/echo-bytes" }
```Currently, the default wrangler.toml file points to "https://ohttp-echo.crypto-team.workers.dev/echo-bytes", which means that all requests sent to this Worker will be forwarded to this endpoint.
## Deployment
Deployment is simple. Modify the wrangler.toml file to point to your account (and zone), and then publish.
```
$ wrangler publish
```