How zipkamron/zipnationthemes works
ZIPNATION VIP Themes is a VS Code theme-store extension: users browse and apply free or VIP themes, preview VIP themes for ten minutes, and unlock paid access with a license. The extension owns store interaction and trial/license gating; theme JSON files provide the palettes. The server excerpt documents license lookup, telemetry intake, checkout-related activation, and administration, but omitted code limits confidence about several server-side call paths. Major store features such as translations and feedback are documented, though their full handlers are not sampled.
Main entry points: extension.js Theme Store · license.js License Verification · lemonsqueezy-webhook-server.js License Records · telemetry.js Telemetry Client
Components 18
Editor Extension
- Extension Runtime
extension.js - Theme Store
extension.js - Trial Manager
extension.js - Theme Guard
extension.js - Store Feedback
extension.js
VIP Access
- License Verification
lib/license.js - Public Signing Key
lib/public-key.js
Theme Catalog
- Theme Definitions
themes
License Service
- License API
server/lemonsqueezy-webhook-server.js - License Records
server/lemonsqueezy-webhook-server.js - Checkout Webhook
server/lemonsqueezy-webhook-server.js - Telemetry Intake
server/lemonsqueezy-webhook-server.js - Telemetry Data
server/lemonsqueezy-webhook-server.js - Admin Dashboard
server/lemonsqueezy-webhook-server.js
Telemetry
- Telemetry Client
lib/telemetry.js
Other components
- Theme User
- Lemon Squeezy
- VS Code API
Connections 22
- Theme User → Theme Store: opens and browses
- Theme Store → Theme Definitions: offers palettes
- Theme Store → Trial Manager: starts preview
- Theme Store → License Verification: submits license
- Theme Store → Store Feedback: submits feedback
- Extension Runtime → Theme Store: opens
- Extension Runtime → Telemetry Client: tracks events
- Extension Runtime → Theme Guard: guards VIP themes
- Theme Guard → Trial Manager: checks active trial
- Theme Guard → License Verification: checks entitlement
- Theme Guard → VS Code API: applies fallback theme
- Trial Manager → VS Code API: applies preview theme
- License Verification → Public Signing Key: verifies signature with
- License Verification → License API: looks up or verifies
- License API → License Records: reads and updates
- Checkout Webhook → License Records: issues license records
- Lemon Squeezy → Checkout Webhook: sends purchase events
- Telemetry Client → Telemetry Intake: posts consented events
- Telemetry Intake → Telemetry Data: records events
- Admin Dashboard → License Records: manages licenses
- Admin Dashboard → Telemetry Data: reads analytics
- Theme User → VS Code API: uses themes in