您的 daily.dev,透過公共 API。使用 daily.dev 登入以檢視個人資料、資訊流與書籤,然後使用文件與原始碼在 daily.dev 上構建自己的軟體。
AI 翻譯
Your daily.dev, through the public API. Sign in with daily.dev to see your profile, feed and bookmarks, then use the docs and source to build your own app on top of daily.dev.
開發工具TypeScript · CSSGitHub @dailydotdev上線中營運者未確認
試用過了嗎? 點一下就好,不需要登入。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證在 daily.dev 上構建的入門軟體:使用 daily.dev 登入,然後透過公共 API 顯示您的個人資料、資訊流與書籤。
AI 翻譯
Starter app for building on daily.dev: Sign in with daily.dev, then show your profile, feed and bookmarks via the public API.
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Your daily.dev, through the public API. A small Next.js App Router app, running on vinext and Cloudflare Workers, that signs people in with daily.dev (OAuth 2.1, authorization code + PKCE, confidential client) and shows their profile, personalized feed and latest bookmarks using the OAuth access token.
It's meant to be forked. Everything an app needs to talk to daily.dev on a user's behalf is here, in about 300 lines:檢視完整 README ↗Your daily.dev, through the public API. A small Next.js App Router app, running on vinext and Cloudflare Workers, that signs people in with daily.dev (OAuth 2.1, authorization code + PKCE, confidential client) and shows their profile, personalized feed and latest bookmarks using the OAuth access token.
It's meant to be forked. Everything an app needs to talk to daily.dev on a user's behalf is here, in about 300 lines:
app/api/auth/login builds the authorize URL with PKCE and stateapp/api/auth/callback exchanges the code for tokens on the server and stores them in httpOnly cookiesapp/api/auth/refresh rotates the refresh token (also used automatically when the access token expires)app/api/auth/logout clears the sessionapp/page.tsx calls /public/v1/profile, /public/v1/feeds/foryou and /public/v1/bookmarks as the signed-in userhttp://localhost:3005/api/auth/callbackcp .env.example .env.local and fill in DAILY_CLIENT_ID and DAILY_CLIENT_SECRET.pnpm install && pnpm run dev, then open http://localhost:3005.pnpm exec cf auth login, or set CLOUDFLARE_API_TOKEN (the Edit Cloudflare Workers template) in CI.CLOUDFLARE_ACCOUNT_ID, or add accountId at the top level of cloudflare.config.ts.cloudflare.config.ts with pnpm exec cf workers secrets update: DAILY_CLIENT_ID, DAILY_CLIENT_SECRET and APP_URL. DAILY_API_URL, DAILY_RESOURCE and DAILY_SCOPES are optional.<APP_URL>/api/auth/callback to your OAuth app's redirect URIs on daily.dev.pnpm run deploy.DAILY_SCOPES asks for read by default. Add write if your app bookmarks posts or changes feed settings on the user's behalf; the consent screen lets people decline it.DAILY_RESOURCE is https://api.daily.dev/public/v1 for the REST API. Use https://api.daily.dev/mcp if your app talks to the daily.dev MCP server instead; tokens only work for the resource they were issued for.fetchWithToken call in app/page.tsx and you're done.NEXT_PUBLIC_* variables and client bundles.SameSite=Lax cookies, Secure in production.Docs: OAuth apps · Public API · Plugin marketplace