Menu

I adopted an abandoned Notion AI proxy — and started with tests, CI and security
📰

I adopted an abandoned Notion AI proxy — and started with tests, CI and security

DEV Community: opensource·Hossein Rahimi·6 days ago
#AAtRAQuH
#devtoopensource#devto#dev#notion#openai
Reading 0:00
15s threshold

Notion AI is genuinely useful, but it only speaks Notion's own chat API. If you want Cursor, Postman, or any OpenAI Chat Completions client to talk to it, you need a translation layer.

That layer exists. NotionChat , originally built by mughu-id, is a FastAPI proxy that routes OpenAI-format requests to Notion AI's runInferenceTranscript endpoint using your browser session cookie, and streams the NDJSON response back as OpenAI chunks. It reached 90 stars on GitHub.

Then it went quiet. The last upstream push was in July 2026.

I rely on tools like this, and an unmaintained proxy that holds my Notion session cookie is not something I want to just leave lying around. So instead of forking-and-forgetting or rewriting from scratch, I adopted it: a maintained continuation with the full history and MIT license preserved.

Why adopt instead of rewrite

The hard part of this codebase — parsing Notion's transcript protocol and reassembling streamed responses — already worked and had real users.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.