'use client'; import { useState } from 'react'; import Link from 'next/link'; const API_BASE = process.env.NEXT_PUBLIC_API_BASE ?? 'https://cypher.arcrun.dev'; const CODE_DEMOS = { python: `pip install arcrun from arcrun import Arcrun client = Arcrun() # reads ARCRUN_API_KEY from env # One-time setup: upload credential client.auth.setup("notion", token="secret_xxx") # Every time after: just bind and use notion = client.auth.bind("notion") pages = notion.get("/pages").json() # Works with any of 20+ services drive = client.auth.bind("google_drive_sa") files = drive.get("/files").json()`, javascript: `npm install arcrun import { Arcrun } from 'arcrun' const client = new Arcrun() // reads ARCRUN_API_KEY from env // One-time setup: upload credential await client.auth.setup('notion', { token: 'secret_xxx' }) // Every time after: just bind and use const notion = await client.auth.bind('notion') const pages = await (await notion.get('/pages')).json() // Run a deployed workflow const result = await client.workflows.run('my-flow', { email: 'user@example.com' })`, http: `# Works with any HTTP tool — curl, n8n, Make, Postman POST ${API_BASE}/webhooks/named/my-workflow/trigger X-Arcrun-API-Key: YOUR_API_KEY Content-Type: application/json { "email": "user@example.com" } # n8n: HTTP Request 節點,貼上即用,不需要安裝任何東西`, }; export default function HomePage() { const [activeTab, setActiveTab] = useState<'python' | 'javascript' | 'http'>('python'); return (
{/* Nav */} {/* Hero */}
Open Source · Free API Key · No Credit Card

Stop fighting OAuth.

One API key. Every service. Works anywhere.

arcrun handles Google, Notion, GitHub, Slack authentication so your Python / JS code doesn't have to.

Get API Key — Free View on GitHub
{/* Before / After */}
Before
40 行 OAuth 程式碼
GCP Console 設定
debug 兩天
Service Account JSON
token 過期再修一次
After
{`from arcrun import auth

drive = auth.bind(
  "google_drive"
)
# done.`}
            
{/* Code Demo */}
{(['python', 'javascript', 'http'] as const).map(tab => ( ))}
              {CODE_DEMOS[activeTab]}
            
{activeTab === 'http' && (

n8n 用戶:用 HTTP Request 節點,不需要安裝任何東西

)}
{/* Features */}
{[ { title: '20+ 服務開箱即用', desc: 'Google、Notion、GitHub、Slack、OpenAI、Stripe... 全部一個 bind() 搞定。', icon: '🔌' }, { title: 'AI-first 設計', desc: 'Token 消耗極小,YAML workflow 幾十個 token,讓 AI 直接讀寫執行。', icon: '🤖' }, { title: '完全開源', desc: 'MIT 授權。Self-host 在你自己的 Cloudflare,或使用我們的 hosted 服務。', icon: '🔓' }, ].map(f => (
{f.icon}

{f.title}

{f.desc}

))}
{/* CTA */}

準備好了嗎?

免費取得 API Key,不需要信用卡。

免費取得 API Key
{/* Footer */}
); }