Skip to content

← projects

Date:
2026 – present
Status:
[live] scriptly.store
Stack:
Next.js 16, Cloudflare Workers (OpenNext), Neon Postgres, Drizzle, Razorpay
Role:
Founder; sole engineer

Subject: ScriptlyStore: selling code without leaking it

ScriptlyStore is a marketplace for SaaS templates, scripts, landing pages and UI kits. Creators keep 95% of direct sales, and every listing is a real downloadable asset that only a verified buyer can fetch.

The problem

A code marketplace has two jobs that pull against each other: let anyone browse and buy in one step, and never let the files out before payment clears. It also has to charge Indian cards in rupees while listing prices in dollars.

What I built

  • Server-first pages: filtering, sorting, pagination and counts run in Postgres, and client code is limited to the cart, checkout and filters.
  • Checkout on Razorpay: the server recomputes every price from the database in US cents, converts to paise at the live rate, and confirms orders by signature and webhook.
  • Private archives: the download route streams a file only after the buyer's completed order is checked. Nothing sits at a public URL.
  • Payment links as signed tokens or AES-256-GCM encrypted tokens, a public products JSON feed, and an agent/MCP API.
  • A creator studio with listings, coupons, payouts, a sales ledger, affiliates and a public storefront.

Supply

A sister workspace produces first-party listings: improved, credited versions of permissively licensed open-source templates. Every candidate's licence is checked through the GitHub API (MIT, Apache-2.0, BSD and similar only), bundled assets are audited, and anything that copies another creator's brand is rejected.

What I took from it

Money stays integer and server-owned. The client can show a price, but only the server decides what gets charged.