explaingit

chatgptuk/ldc-shop

Analysis updated 2026-05-18

444TypeScriptAudience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

An open source virtual goods storefront for the Linux DO community, deployable on Cloudflare Workers with logins, payments, digital code delivery, and an admin dashboard.

Mindmap

mindmap
  root((LDC Shop))
    What it does
      Virtual goods storefront
      Digital code delivery
      Admin dashboard
    Tech stack
      Nextjs
      TypeScript
      Cloudflare Workers
      D1 database
    Use cases
      Sell digital codes
      Community store login
      Points and check in
    Audience
      Developers
      Community operators
      Linux DO users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run a virtual goods shop that automatically delivers digital codes to buyers after payment is confirmed.

USE CASE 2

Let community members log in with their Linux DO or GitHub account and pay through EasyPay.

USE CASE 3

Manage products, categories, stock, and pricing tiers based on a shopper's trust level from an admin dashboard.

USE CASE 4

Send order, refund, and message notifications to store owners through email, Telegram, or Bark.

What is it built with?

Next.jsTypeScriptTailwind CSSCloudflare WorkersD1

How does it compare?

chatgptuk/ldc-shopstruckstech/zelda-tp-native-portopen-gitagent/clawless
Stars444441462
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderateeasyeasy
Complexity3/51/53/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Requires Cloudflare Workers or Docker setup, a D1 database, and configuring EasyPay payment and OIDC login before it is usable.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice, under the MIT license.

In plain English

LDC Shop is an open source template for building a virtual goods store, written for a Chinese developer community platform called Linux DO. It is built with Next.js, Tailwind CSS, and TypeScript, and is designed to run on Cloudflare Workers with a D1 database rather than a traditional server. The README notes that an older Vercel version of the project has been discontinued, and recommends either the Cloudflare Workers deployment or a Docker based self hosted version for anyone starting fresh. The storefront supports logging in through Linux DO's own account system, with GitHub login kept as a backup option, and takes payments through a service called EasyPay. Shoppers can search and browse products by category, read Markdown formatted product descriptions, see stock and sold counts, leave ratings and reviews, use wishlists and voting, and redeem shared discount codes. Store owners can restrict which products a shopper can see based on the shopper's trust level, set purchase limits, and offer products with multiple variants or specifications. When an order is placed, the system verifies the payment callback, then automatically delivers a digital code to the buyer, with support for splitting multiple codes across an order and sending them to a default email address if the buyer does not provide one. Orders can be locked to reserve stock, automatically canceled if payment times out, and refunded either manually or automatically. An administrative dashboard covers sales statistics, low stock warnings, product and category management, code inventory, order cleanup, customer messages, and store branding settings like the shop name, logo, colors, and fonts. The project also includes a daily check in feature that awards points which can be used toward purchases, support for switching between Chinese and English and between light and dark themes, and notifications sent through email, Telegram, and a service called Bark whenever a new order, refund, or customer message comes in. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
Deploy LDC Shop to Cloudflare Workers with a D1 database following the _workers_next deployment guide.
Prompt 2
Set up Linux DO OIDC login and GitHub backup login for my LDC Shop instance.
Prompt 3
Configure automatic digital code delivery and refund handling for orders in LDC Shop.
Prompt 4
Customize LDC Shop's store name, logo, theme color, and Chinese and English language support.

Frequently asked questions

What is ldc-shop?

An open source virtual goods storefront for the Linux DO community, deployable on Cloudflare Workers with logins, payments, digital code delivery, and an admin dashboard.

What language is ldc-shop written in?

Mainly TypeScript. The stack also includes Next.js, TypeScript, Tailwind CSS.

What license does ldc-shop use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice, under the MIT license.

How hard is ldc-shop to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is ldc-shop for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.