Svelte Commerce
SvelteKit으로 만든 독립형 오픈소스 스토어프론트, 26개 상거래 백엔드와 헤드리스 연동, MIT 라이선스
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기AI beauty advisor chatbot built with OpenAI's API and a Cloudflare Worker proxy. Recommends routines using only the products you pick.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗An AI beauty advisor chatbot for L'Oréal products. You pick products from a catalog, and the chatbot (Lori) builds you a personalized routine using only the products you actually selected. It won't recommend something you didn't pick.
Live: https://loreal-project.vercel.app/
The system prompt sent to GPT4o is written so Lori only ever talks about the products the user selected. Nothing invented, nothing substituted in from the wider catalog. If you didn't pick it, it's not part of the routine.
The Worker tracks requests per IP using Cloudflare KV. If you send more than 5 messages in a minute:
While you're in an active timeout, any message you send just gets the timeout message repeated back. No new escalation, and no request goes to OpenAI, so someone spamming the chat while blocked can't rack up API cost.
Timeout messages show up in the chat prefixed with SYSTEM: so it's clear that's a system message and not something Lori said.
There's also a monthly spending cap set directly on the OpenAI account. That's a separate, independent layer of protection on top of the rate limiting, not a replacement for it.
app/
layout.js Fonts (next/font), metadata, header, <main>, footer
page.js The page (server component, rendered to HTML at build time)
globals.css All styles
fonts/ Self hosted Inter and Playfair Display (variable, latin)
components/
SiteHeader.js Logo and hero (server)
SiteFooter.js Footer (server)
AdvisorProvider.js Shared state: selected products and chat (client)
ProductGrid.js, ProductCard.js, SelectedProducts.js Product picker (client)
ChatPanel.js Chat window, Thinking loader and message form (client)
lib/
products.js Product catalog
lori.js Worker URL, system prompt, routine request text
selectionStore.js Selected products in localStorage
public/img/ Logo (WebP)
.github/workflows/pages-redirect.yml GitHub Pages redirect to Vercel
npm install
npm run dev # http://localhost:3000
npm run build # static site in out/
Vercel builds and deploys every push to main automatically, and gives every other branch a preview URL.
The old GitHub Pages address (https://xenzoro.github.io/loreal-Project/) only redirects to Vercel, keeping the rest of the path. .github/workflows/pages-redirect.yml publishes that redirect page; it runs when the workflow file changes or by hand from the Actions tab. One time setup: Settings, Pages, Build and deployment, Source: GitHub Actions.
The Worker needs:
OPENAI_API_KEY set as a secret.RATE_LIMIT_KV for the rate limiting to work.The frontend points at the Worker URL in lib/lori.js. If the Worker restricts which sites may call it (CORS), allow https://loreal-project.vercel.app.