Skip to content
Projects

About

Linux DO Credit virtual goods shop

Other Projects

How these counts are measured

Measured star growth

in 24h
+1
in 7 days
0
in 15 days
-1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README_EN.md

Original

LDC Shop (Next.js + Workers)

中文说明


A serverless virtual goods shop built with Next.js 16, Cloudflare Workers (OpenNext), D1 Database, and Shadcn UI.

[!IMPORTANT] ⚠️ Vercel edition is no longer maintained. Use the Cloudflare Workers or Docker edition.

The Workers edition is the actively maintained version with all latest features. The Docker edition may lag behind.

🚀 Recommended: Cloudflare Workers or Docker self-hosted

Comparison Cloudflare Workers Docker self-hosted Vercel
Maintenance ✅ Active ✅ Synced ⚠️ Stopped
Free requests 100K/day Unlimited Limited
Database D1 free 5GB SQLite unlimited Postgres quota
Cold start Near zero None Yes
Requirements No server VPS needed No server
Global edge ✅ Worldwide Single node Partial

👉 Full features & Workers deployment guide → _workers_next/README.md

👉 Docker deployment guide → _docker/README.md

📢 Login status (2026-03-04)

Linux DO Connect OAuth login is working again; authorization and login complete normally.

GitHub login remains available as a fallback (see _workers_next/README.md for GitHub OAuth setup). This notice will be updated if anything changes.

✨ Feature overview

The current Workers edition includes (full list in _workers_next/README.md):

  • Stack: Next.js 16 (App Router), Tailwind CSS, TypeScript; edge runtime Cloudflare Workers + D1.
  • Linux DO: OIDC login, EasyPay; optional GitHub login.
  • Storefront: Search and categories, dedicated search page, wishlist and voting, announcements, Markdown descriptions, purchase warnings, product visibility by trust level, hot and discount, ratings and reviews, stock/sold, shared card keys, purchase limits, quantity selection, custom store name, product variants (multi-spec).
  • Orders: Payment callback verification, auto card-key delivery, multi-key display, default recipient email, stock reservation, timeout cancel, order center (with variant labels), pending-order reminder, refund requests and auto-refund, payment QR.
  • Admin: Sales stats, low-stock alerts, product management (visibility and variants), categories, card keys, orders, order cleanup, reviews, export/import, announcements, customers, messages, refund settings, nav settings, store and theme (name, description, logo, favicon, colors, font, footer, noindex), check-in settings, update check.
  • Points: Daily check-in (configurable on/off and reward), point deduction, full payment with points.
  • I18n & theme: English/Chinese, light/dark/system.
  • Notifications: Resend delivery email, Telegram and Bark for new orders/refunds/user messages, in-app inbox and desktop notifications, contact admin, LDC nav (with store count).

🚀 Deployment

For detailed steps and env vars, see _workers_next/README.md.

⭐ Recommended: Cloudflare Workers

High free tier, fast global access, no cold start.

👉 Full deployment guide → _workers_next/README.md

Alternative: Docker self-hosted

For VPS or your own server; local SQLite, no third-party DB.

👉 Docker guide → _docker/README.md

Alternative: Vercel (no longer maintained)

The Vercel edition is no longer maintained; use Workers or Docker for new deployments. For Vercel upstream sync, see .github/workflows/sync.yml and enable Actions write permission.

💡 Custom domain

For the best experience (instant payment status updates), we recommend binding a custom domain (e.g. store.yourdomain.com). Shared domains may be blocked by payment gateways or firewalls.

⚙️ Configuration & local development

Environment variables, OIDC/EPay setup, and local dev steps for the Workers edition are in _workers_next/README.md.

📄 License

MIT

Explore related projects

Loading…