pdxjie

pdxjie / notion2api

Public

将 Notion AI 接口转换为 OpenAI/Anthropic 兼容格式的代理服务。提供 Claude Code 支持。

32
3
69% credibility
Found Apr 29, 2026 at 32 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

A terminal-based chat interface and API server that lets users access advanced AI models through their Notion accounts with conversation history and rate limiting.

How It Works

1
🔍 Discover Notion2API

You hear about a simple way to chat with powerful AI using your everyday Notion account.

2
📝 Gather your Notion details

Collect a few pieces of info from your Notion login, like your unique identifiers, to connect it safely.

3
⚙️ Set up your connection

Put those details into a simple list so the AI can use your personal Notion space.

4
🚀 Launch the chat window

Run the program and see a welcoming terminal ready for your questions.

5
💬 Ask and watch magic happen

Type your question and watch the AI think step-by-step, search if needed, and give smart answers.

6
🔄 Start new chats or continue

Type 'new' for fresh talks or keep going, with memory of past chats.

🎉 Enjoy endless smart conversations

You now have a powerful, personal AI companion right in your terminal, powered by Notion.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 32 to 32 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is notion2api?

notion2api is a Python FastAPI proxy that converts Notion's AI interface—powered by Claude Opus and Sonnet—into an OpenAI/Anthropic-compatible API endpoint at /v1/chat/completions. It lets you query Notion AI programmatically for notion api tasks, claude code generation, or notion github integration without the web UI. Developers get streaming responses, conversation history via conversation_id, and modes for lite single-turn chats or full-context sessions.

Why is it gaining traction?

It stands out by pooling multiple Notion accounts to dodge rate limits, delivering reliable access to premium Claude models through familiar OpenAI SDKs—no custom clients needed. The hook is seamless swapping for OpenAI/Anthropic in apps, plus extras like search metadata and thinking traces for notion github copilot-style code reviews or notion github issues automation. At 32 stars, it's niche but practical for python devs bypassing API costs.

Who should use this?

AI engineers building notion github sync tools or notion github projects integration for repos. Backend devs prototyping claude code agents with OpenAI libraries. notion github student pack users automating notion github pull request summaries or notion github education workflows on a budget.

Verdict

Grab it for quick Claude access via OpenAI/Anthropic endpoints if you have Notion accounts—works well for notion2api experiments. With 32 stars and 0.699999988079071% credibility score, it's early-stage; docs are basic, so test thoroughly before production. Solid prototype tool, not battle-tested yet.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.