Synaplan
開源 AI 平台,供企業使用:自行託管的 AI 代理、符合 GDPR 的聊天機器人小工具、RAG 知識庫、WhatsApp 與 Outlook AI、MCP、多模型路由。Docker、Kubernetes 或託管於 Germ
AI 翻譯
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Internal HR system for the Octopos holding (FREITTY, NETQOR, YBIS). Next.js 15 + TypeScript, PostgreSQL + Prisma, Auth.js (email + password), next-intl (UA/EN), Tailwind, Vitest.
npm install
cp .env.example .env # set AUTH_SECRET (any long random string)
npm run db # terminal 1: local PostgreSQL on :5433, keep it running
npx prisma migrate deploy # terminal 2
npm run db:seed
npm run dev # http://localhost:3000 → "Dev login" → pick a user (or npm run admin:create)
npm run worker # background jobs: daily balances, overdue notices, Telegram bot
Seeded users (fake): superadmin [email protected], CEO [email protected], dept heads
[email protected] / [email protected], users agent.*@example.test, [email protected].
Import fixtures for trying the CSV import: prisma/fixtures/ (org → employees-50 → rates).
npm test # needs `npm run db` running; uses the people_os_test database
AUTH_SECRET, AUTH_URL (https), DATABASE_URL. DEV_LOGIN has no effect in production.npm run admin:create -- --email [email protected] --name "First Last" prints a
one-time password; sign in and set your own. Everyone else gets access from Доступи (/access, superadmin and HR).
Forgotten admin password: npm run admin:create -- --email [email protected] --reset.npx prisma migrate deploy → npm run db:upgrade (roles, absence types, policies, starter
templates — no fake data; never run db:seed there) → npm run admin:create. Run them from any machine with
DATABASE_URL pointing to that database (Vercel has no shell).npx prisma migrate deploy, then npm run db:upgrade. On Vercel this is automatic: the
vercel-build script (scripts/vercel-build.mjs) runs both on every production deploy, then next build.docker build -t people-os . — the container runs prisma migrate deploy on start.docker build --target worker -t people-os-worker . — daily balances, overdue notices,
Telegram delivery. Telegram needs TELEGRAM_BOT_TOKEN and TELEGRAM_BOT_USERNAME (see .env.example).Decisions, deviations from the PRD and open questions: see CLAUDE.md.