Developer builds Python proxy to sell AI prompts without exposing their text
A developer who sells GPT prompts for $20–$50 each built a lightweight proxy after a buyer leaked one of their prompts on Discord, where it was quickly resold on Telegram. The solution, written in roughly 300 lines of Python using FastAPI and httpx, sits between the buyer's client and the AI provider, injecting the system prompt server-side so the buyer never sees the actual text. Buyers receive only an API URL and bearer key, which they point their tool at, while the prompt remains stored on the developer's server. The open-source Lite version is available on GitHub, covering core features like streaming and bearer key authentication with constant-time comparison to prevent timing attacks. A paid Pro version adds AES-256-GCM encrypted prompt storage, per-client API keys with expiry, usage analytics, multi-provider routing, and an admin panel.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in