Codync
免費、開源的 1:1 替代方案,取代 Grok Bot 與 Muse。從 iPhone、Mac 或 Linux 桌面將 Claude Code、Codex、Cursor 與 40+ 程式碼代理人作為持續機器人傳訊。群組聊天、主題串…
AI 翻譯
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Open-source SQL data checks for PostgreSQL: write read-only checks, run them on a schedule, and hear about it where your team works when something changes.
Live demo: https://assay.majincheng.com (try it as a guest, or sign in with Google or GitHub; new accounts are viewers)
A check is a read-only SQL query whose returned rows are problems: duplicate orders, payments that do not match, stock below zero. Assay runs checks on a schedule and keeps each one's state:
DATABASE_URL is the built-in database; admins can add more PostgreSQL databases (connection strings encrypted, private hosts refused unless allowed) and each check picks the one it runs against.Next.js (App Router) · TypeScript · Tailwind CSS · MongoDB (checks, runs, users) · PostgreSQL (the databases being checked) · Upstash Redis (cache, rate limits) · Better Auth (Google, GitHub) · Vitest and Playwright. Exact versions are in package.json.
npm install
cp .env.example .env.local # fill in MongoDB, PostgreSQL, Redis, Better Auth and one OAuth provider
npm run seed:demo # optional: a demo schema and sample checks
npm run dev
Sign in once, then make yourself admin: npm run user:set-role -- [email protected] admin.
npm run dev:services starts MongoDB, PostgreSQL and Redis (with Upstash's
REST protocol) from compose.yaml, so development needs no cloud accounts.
Point .env.local at them:
MONGODB_URI=mongodb://127.0.0.1:27017/assay_dev
DATABASE_URL=postgresql://postgres:[email protected]:5432/assay_demo
UPSTASH_REDIS_REST_URL=http://127.0.0.1:8079
UPSTASH_REDIS_REST_TOKEN=local
BETTER_AUTH_SECRET=local-development-only-not-a-secret
APP_URL=http://localhost:3000
AUTH_DEV_PASSWORD_LOGIN=true # email and password sign-in, next dev only
AUTH_DEV_PASSWORD_LOGIN removes the need for a Google or GitHub app
locally; production refuses it.
Scheduled runs need something to call POST /api/cron/run-scheduled every
30 minutes (QStash, any cron, or npm run sql:run-scheduled); see
docs/deployment.md.
| docs/architecture.md | Layers, how a check runs, data sources, API conventions |
| docs/engineering.md | Invariants, public contracts, hotspots, verification |
| docs/database.md | Collections, fields, indexes, retention, concurrency |
| docs/authentication.md | Sign-in and roles |
| docs/notifications.md | Alert channels, delivery, setup |
| docs/mcp.md | Connecting agents (OAuth or API key), tools, security |
| docs/deployment.md | Configuration, scheduled runs, first deploy, smoke test, rollback |
| docs/backup-restore.md | MongoDB backups and restore |
| docs/secret-rotation.md | Rotating or recovering ASSAY_SECRET_KEY |
| docs/roadmap.md | Open reliability goals |
| DESIGN.md | Design tokens, components, the brand mark |
npm run typecheck && npm run lint && npm test # before every commit (see AGENTS.md)
npx knip && npm run build # before a pull request (CI runs both)
src/
├── app/ # routes: pages and API
├── components/ # UI
├── contracts/ # request and response types shared by server and client
├── domain/ # pure rules: runs, alerts, digests, reminders
├── lib/ # infrastructure: config, logging, auth, database clients, SQL validation
└── server/ # services, repositories, notifications, MCP
scripts/ # CLI entry points and migrations
docs/ # engineering docs
Issues and pull requests are welcome: see CONTRIBUTING.md. Report security problems privately, as SECURITY.md describes.
Apache License 2.0. Copyright 2025-2026 Jincheng Ma; see NOTICE and THIRD_PARTY_NOTICES.md.
| scripts/README.md | Command-line tools and migrations |
/docs in the app | User guide (English and Chinese) |