Svelte Commerce
A standalone open-source storefront built with SvelteKit, headless across 26 commerce backends. MIT licensed.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗A conversational procurement intake for a European bank, built as a prototype. A colleague describes what they need in plain words, and the chat:
The AI holds the conversation. It never decides the route or the classification.
Live at https://guided-intake-chat.vercel.app (access code required). Dummy data only: the AI runs on free provider tiers.
| Document | Contents |
|---|---|
| docs/PRD.md | Problem, users, scope, routes and thresholds, requirements, success measures, known gaps, next steps |
| docs/ARCHITECTURE.md | Components, the turn flow, AI calls and guardrails, classification, reference data, server, deployment |
| docs/DESIGN.md | Principles, layout, components, visual language, voice, states, accessibility |
| How it works (link in the app) | The full specification generated from the code: every rule, question and exact prompt |
| Decision tree (link in the app) | The same rules for business readers: the whole tree as one picture, the yes/no ladders for the route and the checks, which question drives which decision, and worked examples. Generated from the code; downloads as Markdown (with a Mermaid diagram) or as an SVG picture |
| Path | Role |
|---|---|
index.html | The whole application, with no build step. It includes the reference data (one JSON block), the How it works specification and the Decision tree |
api/llm.js | Vercel serverless function. It holds the AI keys and the access code, and tries Gemini, Groq, Mistral and OpenRouter in turn |
vercel.json | Function timeout (60 s) and security headers |
docs/ | Product, architecture and design documentation |
tests/, scripts/, package.json, playwright.config.js | API and end-to-end tests, the local server, the mock providers and the data import script |
.github/workflows/ci.yml | CI: runs all tests with mock providers on every push and pull request |
The test data the taxonomy was imported from and task notes stay on the developer's machine (see Architecture §10).
npm ci
npx playwright install chromium
npm test # API tests + Playwright, mock providers, no keys or network
scripts/verify.sh # runs the CI checks locally; runs automatically on `git push`
npm start # local server on http://localhost:3000 (npm run start:mock for fake providers)
Set up Vercel:
main: Vercel deploys to production.Environment variables:
GEMINI_API_KEY, GROQ_API_KEY, MISTRAL_API_KEY, OPENROUTER_API_KEY;ACCESS_CODE;LLM_PROVIDER (which provider goes first) and GEMINI_MODEL, GROQ_MODEL, MISTRAL_MODEL,
OPENROUTER_MODEL;RATE_LIMIT_PER_MIN (default 30 AI calls per IP and minute) and CHECK_LIMIT_PER_MIN (default 5).Check providers: /api/llm?check=1 with the access code in the x-access-code header.
The thresholds are in CONFIG.thresholds at the top of the script in index.html. They are set by procurement and
cannot be changed by requesters:
| Setting | Value |
|---|---|
| Low-value limit | €5,000 |
| Business-led sourcing limit | €50,000 |
| Material spend review | €1,000,000 |
| Quality minimum | 75 |
| Level 4 candidates shown from | 75% match (2–3 shown, the requester chooses) |