3,555 prompts from top AI collections
← Back to Market
[UNTESTED] [MohashN/privacy-proxy] 1 endpoint(s)
ChatGPT API Proxy/ChatGPT
2,122 characters
Status: [UNTESTED] Endpoints found: http://127.0.0.1:8787/v1/messages Source: https://github.com/MohashN/privacy-proxy # privacy-proxy A self-hosted proxy that sits between your AI tools and a cloud model API. It inspects every request and stops phone numbers, national IDs, card numbers, IBANs and your own listed identifiers from leaving. Each check is a **Detector**; a hit is a **Detection**, and by default it ends in a **Refusal**: the request is not sent, and the caller gets an error naming the kind of data found, never the data. The **Operator** (whoever runs the proxy) sets what it does in one **Policy file**. The words are defined in [`CONTEXT.md`](CONTEXT.md). It fails closed: a request it can't read, can't finish checking, or can't forward is refused, never passed on unread and never retried somewhere else. - [Quickstart](#quickstart) - [What it stops, and what it doesn't](#what-it-stops-and-what-it-doesnt) - [The two lanes](#the-two-lanes) - [The Policy file](#the-policy-file) - [Environment variables](#environment-variables) - [The Deny-list](#the-deny-list) - [API keys](#api-keys) - [The log](#the-log) - [Running it as a service](#running-it-as-a-service) - [Development](#development) ## Quickstart You need Docker with Compose, and a clone of this repository. From the clone: ```bash git clone https://github.com/MohashN/privacy-proxy.git && cd privacy-proxy cp docker-compose.example.yml docker-compose.yml mkdir config docker compose pull docker compose up -d ``` `docker compose pull` fetches the published image named in the compose file. To run your own build instead, replace that line with: ```bash docker build -t privacy-proxy:local . export PRIVACY_PROXY_IMAGE=privacy-proxy:local ``` The proxy now listens on `127.0.0.1:8787` with every Detector on and refusing. It needs no configuration to do that. Send it a request that carries a phone number: ```bash curl -sS http://127.0.0.1:8787/v1/messages \ -H 'content-type: application/json' \ -d '{"model": "claude-haiku-5-5", "max_tokens": 16, "messages": [{"role": "user", "content": "Call me on +44 20 7946 0958"}]
Download .txt