Synaplan
开源 AI 软件平台,面向企业:自托管 AI 代理,符合 GDPR 的聊天机器人小部件,RAG 知识库,WhatsApp 与 Outlook AI,MCP,多模型路由。支持 Docker、Kubernetes 或在 Germ 托管。
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
Official website for MotoCore ERP - Driving Automotive Operations Forward
翻译准备中
正在加载完整 README。
查看完整 README ↗Marketing website for MotoCore (MotoCore Bike, Parts, Workshop, Recon-Lite and Car), with a blog and a small admin at /admin.
scripts/prerender.mjs) so search engines get full text, titles, structured data and a sitemap.main deploys production; pull requests get preview deployments.api/ (contact form and the admin).npm install
npm run dev # http://localhost:3000 (client-only; /api needs Vercel)
npm run build # client + SSR build + pre-render into dist/
npm run lint # TypeScript check
| What | Where |
|---|---|
| Routes, titles, descriptions, hreflang | src/seo/routes.ts |
| Product page content (English + Nepali), product list, home FAQ | src/seo/content.ts |
| Privacy Policy and Terms | src/seo/legal.ts |
| Head tags and JSON-LD | src/seo/head.ts |
| Product screenshots | src/assets/products/*.webp |
| Store links for the MotoCore Bike app | APP_STORES in src/seo/content.ts |
| Social profile links | SOCIAL in src/seo/content.ts |
Posts are Markdown files in src/content/blog/<url-slug>.md (see _template.md). Write them in the admin, or add the
file by hand. Each post becomes /blog/<url-slug>, is added to the sitemap and gets article structured data. Raw HTML in
posts is shown as text, and only http(s), mailto, tel, site-relative and # links are kept.
/admin)Sign in to read website enquiries and to write, publish and delete blog posts.
public/images/blog/) to this repository on
GITHUB_BRANCH. That commit triggers a Vercel deployment, so a published post is live in about 1–2 minutes.| Variable | Value |
|---|---|
ADMIN_USERS | One entry per admin, comma separated. Make each with node scripts/admin-user.mjs [email protected] (asks for the password; only a salted scrypt hash is stored). |
ADMIN_SESSION_SECRET | A random string of at least 32 characters, e.g. openssl rand -base64 48. Changing it signs everyone out. |
GITHUB_TOKEN | Fine-grained GitHub token, only this repository, permission Contents: Read and write. |
GITHUB_REPO | Optional, default Codearray1/motocore-erp-website. |
GITHUB_BRANCH | Optional, default main. |
KV_REST_API_URL, KV_REST_API_TOKEN | Set automatically when you add Storage → Upstash for Redis to the project. |
GMAIL_USER, GMAIL_APP_PASSWORD, ERP_API_URL | Contact form email and lead sync (unchanged). |
Redeploy after changing variables. Sessions last 12 hours; 8 failed sign-ins from one address block sign-in for 15 minutes.