Codync
免费开源的 1:1 Grok Bot 与 Muse 替代方案。可在 iPhone、Mac 或 Linux 桌面上将 Claude 代码、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) |