| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Read-only Shopify Plus migration-risk app for merchants moving from legacy Shopify Scripts to Shopify Functions before the June 30, 2026 Scripts shutdown.
Script Sentinel does not create discounts, modify Scripts, deploy Functions, or change checkout behavior. It helps a merchant and developer understand migration risk before touching production.
Script Sentinel is a production-shaped Shopify Plus app built around a narrow migration workflow:
This repo is intended as a work sample for Shopify Plus app builds, platform-constraint handling, privacy-safe data processing, billing flows, and report generation.
If you are reviewing this as a work sample, start with docs/github-portfolio.md. It summarizes the business problem, architecture, proof points, and public-safe Upwork/job-application positioning.
The app is organized around the migration sequence a Shopify Plus merchant would actually follow:
The launch posture is deliberately conservative: Script Sentinel tells merchants what to inspect and test. It does not promise automatic conversion, legal/compliance approval, or guaranteed migration success.
Shopify Managed Billing is the only public billing path. Current launch catalog:
| Plan key | Public name | Price | Type |
|---|---|---|---|
| MIGRATION_RISK_AUDIT | Single Script Audit | $99 | one-time launch audit |
| MULTI_SCRIPT_AUDIT | Multi-Script Audit | $299 | one-time launch audit |
| REGRESSION_SUITE_DISCOUNT | Drift Monitor | $149/mo | recurring, 14-day trial |
| REGRESSION_SUITE_ALL | Legacy All Rules Suite | $299/mo | retained legacy recurring plan |
New public buying paths should lead with the $99 single audit, $299 multi-script audit, and $149/month Drift Monitor. The legacy all-rules recurring plan remains in code for existing or internal use.
Shopify OAuth / embedded admin
-> Plus gate and billing state
-> Script intake and deterministic classification
-> Privacy scrubber and fixture store
-> Risk scorer and PDF report renderer
-> Function-output capture
-> Drift comparison and regression alerts
Stack: Remix, TypeScript, Prisma, PostgreSQL, Shopify App Bridge, Polaris, Shopify Managed Billing, Vitest.
app/
lib/
audit/ Risk scoring and report data
billing/ Managed Billing products and charge helpers
classifier/ Deterministic Shopify Script classification
fixtures/ Order fixture extraction, PII scrub, deduplication
functions/ Function discovery and output capture
pdf/ Audit report rendering
regression/ Drift comparison and recurring checks
routes/ Embedded app routes, OAuth, webhooks, privacy, health
prisma/
schema.prisma Sessions, shops, charges, scripts, fixtures, reports,
function outputs, drift runs, and alerts
docs/
github-portfolio.md
You need:
npm install
npx prisma generate
export DATABASE_URL="postgresql://postgres:postgres@localhost:5432/script_sentinel_dev?schema=public"
npx prisma migrate dev
npm run typecheck
npm testTo bring the embedded app up against a Shopify Plus development store:
npm run config:link
npm run devThe Shopify CLI prints an install URL. Open it in a Plus dev store and approve the read-only OAuth scopes.
npm run typecheck
npm testSome persistence-backed tests require DATABASE_URL to point at a reachable PostgreSQL database. The CI workflow provisions Postgres for those checks.
Live Shopify billing verification requires a real development store charge confirmation. Local tests verify the static catalog and billing wrappers, but they do not approve charges on Shopify's hosted confirmation screen.
| Back | FazBrowse Home | New Git URL |