Wish Links
구매하고 싶은 모든 링크를 한 곳에
셀카 찍으면 YouCam AI가 피부를 분석해 메이크업 색을 적용하고 PayPal로 맞춤 루틴을 확인
Take a selfie, see YouCam's AI map of your skin, try makeup shades on your own photo, and check out a routine built for your skin with PayPal.
커머스JavaScript · CSSGitHub @apoorvdarshan온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기AI skin-care shopping agent: YouCam AI skin analysis and makeup try-on, a routine built from your scores, and PayPal checkout.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Your skin, read in seconds. Your routine, bought in one chat.
Glow Agent is an AI skin-care shopping agent. You take a selfie. YouCam AI Skin Analysis scores 11 skin concerns and highlights where it found each one on your face. Glow, the shopping agent, builds a morning and night routine around your actual scores. It lets you compare foundation, concealer, lip and blush shades rendered on your own photo with YouCam makeup virtual try-on, and checks out with PayPal.
Live demo: https://glow.apoorvdarshan.com
People wonder about their skin at the moment of purchase: in front of a shelf of serums or a page of 40 foundation shades. Generic quizzes ask you to self-diagnose ("Is your skin oily?"), and shade finders ask you to guess your undertone. Most people guess wrong, buy the wrong thing, and return it or give up.
Glow Agent replaces the guessing with measurement and a try-on, then carries you to checkout in the same conversation.
build_routine, search_products, show_products, try_on, add_to_bag and start_checkout. It answers from your report, cites your scores, and shows results as cards rather than walls of text.Without an AI key, the app still works end to end. The routine builder and shade matching run from buttons instead of chat. The live demo's agent runs on Gemini's free tier (gemini-3.5-flash-lite) through Gemini's OpenAI-compatible endpoint.
| Feature | API | Units |
|---|---|---|
| Skin report and detection masks | POST /s2s/v2.0/task/skin-analysis (SD, 12 actions incl. skin_type) | 14 per photo |
| Shade try-on | POST /s2s/v2.0/task/makeup-vto with foundation, concealer, lip_color or blush effects using each product's exact hex | 1 per render |
| Photo upload | POST /s2s/v2.0/file, then a PUT to the pre-signed URL | free |
Tasks are polled until success, and units are only charged on success. YouCam's result URLs expire after two hours. The worker therefore re-polls the task, which is free, to serve masks same-origin, so the page can use them as CSS mask-images and tint them over any skin tone.
POST /v2/checkout/orders (intent CAPTURE, itemized purchase_units with a matching item_total), then POST /v2/checkout/orders/{id}/capture.createInstance, findEligibleMethods, createPayPalOneTimePaymentSession and the <paypal-button> element.public/ static app (vanilla JS, no build step)
app.js camera/upload, report view, agent chat, bag, PayPal v6
product-art.js SVG packaging drawn from each product's color
src/ Cloudflare Worker (serves /api/*)
worker.js routes, sample-face cache, same-origin image proxy
youcam.js YouCam file upload, skin analysis, makeup VTO, error messages
report.js normalizes YouCam output, sanitizes reports sent back by the browser
recommend.js routine builder, budget fitting, product search, shade candidates
agent.js tool-calling agent loop (any OpenAI-compatible chat API)
paypal.js cart pricing, Orders v2 create/capture
limits.js daily per-IP and global quotas in KV
catalog.js the demo shop's fictional house products
tests/ vitest unit tests
Safety and cost controls:
npm install
cp .dev.vars.example .dev.vars # fill in your keys
npm run dev # http://localhost:8787
npm test
.dev.vars needs:
YOUCAM_API_KEYPAYPAL_CLIENT_ID and PAYPAL_CLIENT_SECRET (sandbox app)AI_API_KEY, AI_BASE_URL and AI_MODEL, for any OpenAI-compatible endpoint with tool callingYouCam accounts in India use the makeupar.com host (the default YOUCAM_BASE). Set YOUCAM_BASE=https://yce-api-01.perfectcorp.com for other regions.
npx wrangler kv namespace create GLOW_KV # put the id in wrangler.jsonc
npx wrangler secret put YOUCAM_API_KEY
npx wrangler secret put PAYPAL_CLIENT_ID
npx wrangler secret put PAYPAL_CLIENT_SECRET
npx wrangler secret put AI_API_KEY # optional, with AI_BASE_URL and AI_MODEL
npm run deploy
Quotas can be tuned with LIMIT_<KIND>_PER_IP and LIMIT_<KIND>_DAILY vars, where the kinds are UPLOAD, ANALYZE, TRYON and AGENT.