尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证topshop
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A mobile-first link-in-bio storefront for creators. Followers tap the link in a creator's bio, pick a product, pay with Stripe (card, Apple Pay, Google Pay), and get their download instantly. Creators keep 100% of sales: payments go straight to their own Stripe account.
/<handle>: avatar, bio, social links, accent color, and a list of product cards.Later phases: courses, calendar bookings, memberships, Instagram AutoDM, and Pro features (email flows, upsells and order bumps, payment plans, discount codes, affiliates).
Next.js 15 (App Router, server actions) · TypeScript · Tailwind CSS 4 · Postgres + Prisma · Stripe Checkout + Connect (Accounts v2 with the full Stripe Dashboard, direct charges) · S3-compatible storage · Resend.
cp .env.example .env # fill in DATABASE_URL and AUTH_SECRET at minimum
npm install
npx prisma migrate dev
npm run dev
Open http://localhost:3000, create a store, and add products. Without Stripe keys, free products and lead magnets work end to end; paid products show as unavailable.
To test paid checkout locally, set Stripe test keys and forward webhooks:
stripe listen --forward-connect-to localhost:3000/api/stripe/webhook --forward-to localhost:3000/api/stripe/webhook
Put the printed whsec_... in STRIPE_WEBHOOK_SECRET. Either connect a test Stripe account from Dashboard → Payments, or set ALLOW_PLATFORM_CHARGES=true to charge on the platform account.
DATABASE_URL, DATABASE_URL_UNPOOLED, and BLOB_READ_WRITE_TOKEN for you. npm run build applies migrations over the direct (unpooled) connection.AUTH_SECRET, STRIPE_SECRET_KEY, and later STRIPE_WEBHOOK_SECRET under Settings → Environment Variables, then redeploy. To see every creator who signs up, also set ADMIN_EMAILS to the email you log in to TapShop with; an Admin tab then appears in your dashboard. APP_URL defaults to the project's production domain.https://<your-domain>/api/stripe/webhook for events from connected accounts: checkout.session.completed, checkout.session.async_payment_succeeded, account.updated, charge.refunded. If you also use ALLOW_PLATFORM_CHARGES, add a second destination for your account and put both signing secrets in STRIPE_WEBHOOK_SECRET, comma-separated.S3 or Cloudflare R2 also work instead of Blob: set the S3_* variables and allow PUT from your domain in the bucket's CORS settings, since browsers upload straight to the bucket.
PENDING order and a Checkout Session on the creator's Stripe account./thanks/<orderId>?session_id=.... The page verifies the session with Stripe and marks the order paid, so the buyer isn't kept waiting on the webhook. The webhook does the same thing; marking paid is idempotent and the delivery email is sent once./api/download/<token>, which checks the order is paid and serves the file (a short-lived signed URL when S3 is used). Paid files are never publicly reachable.