Codync
免费开源的 1:1 Grok Bot 与 Muse 替代方案。可在 iPhone、Mac 或 Linux 桌面上将 Claude 代码、Codex、Cursor 以及 40 多个编码代理作为持久机器人使用。支持群组聊天、线程、应用。
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Official MSPixelPulse backend API for authentication, users, agency projects, client workspaces, messaging, billing, portfolio content, and secure file workflows.
src/app.js - Express app, middleware, health endpoints, API mountingsrc/server.js - local HTTP boot process and optional legacy Mongo compatibility connectionapi/index.js - Vercel serverless Express entrypointsrc/config/ - environment, CORS, providers, and optional Mongo compatibility helperssrc/features/ - feature controllers and routessrc/models/ - Mongoose schemassrc/google/ - OAuth, Sheets, Drive, and bounded retry utilitiessrc/repositories/ - provider-neutral domain repositoriessrc/storage/ - Google Drive storage provider and storage interfacesrc/middleware/ - auth, roles, error handlingsrc/lib/ - storage, file-policy, authorization, and health helperssrc/scripts/ - seed and maintenance scriptsnpm install
cp .env.example .env
npm run dev
Local API default:
http://localhost:4000
Use .env.example as the source of truth. Never commit .env.
Required for normal operation:
NODE_ENV=development
PORT=4000
JWT_SECRET=replace-with-long-random-secret
JWT_EXPIRES_IN=7d
CORS_ORIGIN=http://localhost:5173,https://mspixelpulse.com,https://www.mspixelpulse.com
COOKIE_SECURE=false
Required production provider configuration:
DATA_PROVIDER=google
STORAGE_PROVIDER=google-drive
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_REFRESH_TOKEN=
GOOGLE_DATABASE_SPREADSHEET_ID=
GOOGLE_DRIVE_ROOT_FOLDER_ID=
GOOGLE_DRIVE_CLIENT_FILES_FOLDER_ID=
GOOGLE_DRIVE_PROJECT_FILES_FOLDER_ID=
See docs/google-vercel-migration-2026-08-15.md
for the verified Google migration record and recovery notes.
Required for contact and blog notification email:
RESEND_API_KEY=
RESEND_FROM_EMAIL="MSPixelPulse <[email protected]>"
PUBLIC_SITE_URL=https://mspixelpulse.com
ANONYMOUS_ID_SALT=replace-with-long-random-secret
[email protected],[email protected]
The backend sends through Resend over HTTPS, avoiding outbound SMTP connection delays and app-password handling. The sending domain must be verified with the provider.
[email protected] remains the public business and sender-facing address. Internal contact and blog notifications are delivered to both [email protected] and [email protected]; recipient lists are de-duplicated. Use the per-event flags in .env.example to pause a notification category without disabling the underlying database action.
Production super-admin seed:
[email protected]
SUPER_ADMIN_PASSWORD=replace-with-secure-secret
SUPER_ADMIN_NAME=Mahak Patel
Debug routes are disabled by default:
ENABLE_DEBUG_ROUTES=false
DEBUG_ROUTE_KEY=
Optional private console intake (off by default):
CONSOLE_INTAKE_URL=
CONSOLE_INTAKE_SECRET=
When both are set, every genuine new contact lead (not honeypot, duplicate or invalid submissions) is also sent to the private MSPixelPulse console as a signed POST (X-MSP-Timestamp and X-MSP-Signature: v1=<hex HMAC-SHA256(secret, timestamp + "." + body)>). The feature stays off, and nothing is sent, until both variables are set, the URL uses https and the secret is at least 32 characters. The console must hold the same value as INTAKE_WEBHOOK_SECRET. Only the contact fields are forwarded (lead id, name, email, phone, business name, service, inquiry type, message, source page URL, created time); the IP address and user agent are never sent. The call is bounded by a 4 second timeout, is not retried, never changes the visitor's response and logs only a short failure code. Implementation: src/lib/consoleIntake.js.
Production must use DATA_PROVIDER=google and STORAGE_PROVIDER=google-drive.
Google Sheets records use stable IDs, never row numbers. Google Drive files are
private and referenced by Drive file IDs plus logical metadata in the Files
sheet. OAuth failures surface as controlled storage/configuration errors rather
than switching to another provider.
POST /api/auth/login.trim().toLowerCase().passwordHash from the Users Sheet.Demo-safe accounts should be created with environment-provided passwords only. Do not publish production or demo passwords in docs, frontend code, backend code, logs, or seed output.
GET /healthGET /api/healthPOST /api/auth/registerPOST /api/auth/loginPOST /api/auth/logoutGET /api/auth/meGET /api/admin/usersGET /api/projectsPOST /api/files/uploadPUT /api/projects/:projectId/requirementsPOST /api/users/me/avatarPOST /api/contactGET /api/blog-engagement/:slugPUT|DELETE /api/blog-engagement/:slug/reactionPOST /api/blog-engagement/:slug/commentsPOST /api/blog-engagement/:slug/sharesPOST /api/blog-engagement/subscriptionsGET /api/blog-engagement/subscriptions/confirmGET /api/blog-engagement/subscriptions/unsubscribeGET /api/admin/blog-engagement/* (admin only)Health endpoints are public and safe:
curl https://api.mspixelpulse.com/health
curl https://api.mspixelpulse.com/api/health
They report process status, environment, uptime, the selected providers, and Google Drive configuration without exposing hosts, keys, passwords, or tokens.
Protected production super admin:
SUPER_ADMIN_EMAIL='[email protected]' SUPER_ADMIN_PASSWORD='set-secure-value' SUPER_ADMIN_NAME='Mahak Patel' npm run seed:super-admin
Portal demo users and sample invoice:
PORTAL_DEMO_CLIENT_PASSWORD='set-secure-value' PORTAL_DEMO_DEVELOPER_PASSWORD='set-secure-value' npm run seed:portal-demo
npm run seed:demo-invoice
Legacy local demo users require explicit password environment variables:
SEED_DEMO_ADMIN_PASSWORD='set-secure-value' SEED_DEMO_CLIENT_PASSWORD='set-secure-value' SEED_DEMO_DEVELOPER_PASSWORD='set-secure-value' \
npm run seed:demo
Seed commands are idempotent and do not log passwords. Use demo seeds for local/dev or controlled production preview data only.
Production Vercel variables include:
NODE_ENV=production
JWT_SECRET
JWT_EXPIRES_IN=7d
CORS_ORIGIN=https://mspixelpulse.com,https://www.mspixelpulse.com
COOKIE_SECURE=true
DATA_PROVIDER=google
STORAGE_PROVIDER=google-drive
GOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET
GOOGLE_REFRESH_TOKEN
GOOGLE_DATABASE_SPREADSHEET_ID
GOOGLE_DRIVE_ROOT_FOLDER_ID
GOOGLE_DRIVE_CLIENT_FILES_FOLDER_ID
GOOGLE_DRIVE_PROJECT_FILES_FOLDER_ID
Do not overwrite real dashboard secrets with placeholder values.
/health.503: check the server-only Google OAuth and Drive environment variables.CORS_ORIGIN includes the exact frontend origin. The canonical public origin is https://mspixelpulse.com..env, cookies, keys, tokens, dumps, or backups.ENABLE_DEBUG_ROUTES=true and, in production, x-debug-key.