AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Real-time status monitoring for 200+ AI services
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
DownForAI — Real-Time AI Service Status Monitor
A production-ready Next.js 15 application that monitors the status of 60+ AI services in real-time.檢視完整 README ↗A production-ready Next.js 15 application that monitors the status of 60+ AI services in real-time.
# Clone the repository
git clone <repo-url>
cd downforai
# Install dependencies
npm install
# Create .env.local file
cp .env.example .env.local
# Update .env.local with your database URL
# DATABASE_URL and DIRECT_URL should point to your PostgreSQL database
# Create Prisma migrations
npx prisma migrate dev --name init
# Push schema to database
npx prisma db push
# Seed database with 60 services and historical data
npm run seed
# Or run via Prisma directly
npx prisma db seed
# Start development server
npm run dev
# Open http://localhost:3000 in your browser
src/
├── app/
│ ├── layout.tsx # Root layout
│ ├── page.tsx # Homepage
│ ├── [serviceSlug]/page.tsx # Service detail page
│ ├── category/[category]/page.tsx # Category page
│ ├── incidents/page.tsx # Incidents timeline
│ ├── report/page.tsx # Report form
│ ├── api/
│ │ ├── services/route.ts
│ │ ├── services/[slug]/route.ts
│ │ ├── report/route.ts
│ │ └── cron/
│ │ ├── check-status/route.ts
│ │ └── aggregate-reports/route.ts
│ ├── sitemap.ts
│ └── robots.ts
├── components/
│ ├── ui/ # Base UI components
│ ├── status/ # Status display components
│ ├── layout/ # Layout components
│ └── home/ # Homepage components
├── lib/
│ ├── db.ts # Prisma client
│ ├── utils.ts # Utility functions
│ ├── badges.ts # Badge helpers
│ └── seo.ts # SEO utilities
└── types/
└── index.ts # TypeScript types
prisma/
├── schema.prisma # Database schema
└── seed.ts # Seed data
GET /api/services - Get all services with current statusGET /api/services/[slug] - Get detailed service informationPOST /api/report - Submit a community reportPOST /api/cron/check-status - Check service status (runs every 5 minutes)POST /api/cron/aggregate-reports - Aggregate community reports (runs every 10 minutes)Both cron endpoints require Authorization: Bearer {CRON_SECRET} header.
See .env.example for all available options:
DATABASE_URL=postgresql://... # Database connection
DIRECT_URL=postgresql://... # Direct database connection (for Prisma migrations)
CRON_SECRET=your-secret-key # Secret for cron endpoints
NEXT_PUBLIC_SITE_URL=https://... # Site URL for SEO
NEXT_PUBLIC_SITE_NAME=DownForAI # Site name
Development/Preview Mode:
Production Mode:
Community Reports:
# Install Vercel CLI
npm install -g vercel
# Deploy
vercel
# Automatic deployments from git enabled
The project includes vercel.json with cron configuration.
# Build
npm run build
# Start
npm start
ISR (Incremental Static Regeneration):
Database Optimization:
# Run development server with test data
npm run dev
# The seed includes:
# - 60 services across 8 categories
# - 48 hours of observation data (192 observations per surface)
# - 10 realistic resolved incidents
MIT
Contributions welcome! Please ensure all code follows the strict TypeScript guidelines.
For issues or questions, open a GitHub issue or contact the team.