[UNTESTED] [shiftbloom-studio/openai-privacy-filter-api] 1 endpoint(s)
ChatGPT
API Proxy/ChatGPT
2,142 characters
Status: [UNTESTED]
Endpoints found:
http://localhost:8000/v1/filter
Source: https://github.com/shiftbloom-studio/openai-privacy-filter-api
# OpenAI Privacy Filter API
[](https://github.com/shiftbloom-studio/openai-privacy-filter-api/actions/workflows/ci.yml)
[](LICENSE)
A small, inspectable FastAPI service and Next.js sandbox for running
[`openai/privacy-filter`](https://huggingface.co/openai/privacy-filter). It detects privacy-related
spans in text, applies configurable redaction, and exposes a minimal API that can be deployed behind
a server-side web proxy.
This project is intentionally narrow: it is a testable wrapper around a privacy-detection model, not
a production policy engine, classifier benchmark, or complete data governance system.
## Features
- FastAPI API with `/health` and `/v1/filter`.
- Next.js sandbox UI for testing sample text and inspecting detected spans.
- [`@shiftbloom-studio/privacy-filter`](packages/privacy-filter): the in-browser engine as a standalone npm
package (Transformers.js, WebGPU/WASM) for reuse in other Next.js apps.
- Two runtimes behind one contract: in-browser (WebGPU/WASM) and server-side (FastAPI).
- Redaction modes: `mask`, `remove`, and `annotate`.
- Optional internal-token protection between the web proxy and API.
- Docker images for the API and web app.
- Consent gate before the ~900 MB in-browser model download.
- Static export for the no-compute browser runtime, deployable to Cloudflare Workers static assets.
- Impressum and privacy policy in English and German, with operator details from build-time config.
- AWS App Runner workflow, retained for self-hosters with inference compute.
- Unit tests for schemas, redaction, API behavior, Lambda adapter, web proxy, and UI behavior.
- Model files are kept outside source control and can be restored from deployment artifacts.
## Architecture
The sandbox supports two runtimes selected with `NEXT_PUBLIC_PRIVACY_FILTER_RUNTIME`:
- `browser` (defau