craftory
Source kitNext.js 14 · TypeScript

Cartify source

The full code behind a live recipe-to-cart app. Point it at a new niche by swapping two files.

Cartify reads a web page, pulls out a list of items, and turns each one into a store search link with your affiliate tag on it. That pattern works for far more than recipes. This kit is the whole thing: tested, documented and free to host.

Try the live democartify.craftorytool.com

Who it’s for

  • Indie hackers who want a live, monetised product this month.
  • Niche bloggers who want a tool their readers use every week.
  • Developers who want a tested Next.js codebase to learn from or build on.

Re-niche it

Swap two files, change the niche.

The recipe part lives in two files. Change them and it builds carts for PC parts, skincare or reading lists.

1

What to pull out

The extraction prompt in the API route. Decide what counts as an item: ingredients, parts, products, titles.

2

Where to send it

The region presets. Pick which shops to search, per region, with your affiliate tag attached.

PC parts

Paste a build guide.

→ CPU, board, RAM, case, each as a store search.

Skincare

Paste a routine.

→ Cleanser, serum, sunscreen, each linked.

Reading lists

Paste a “best books” post.

→ Every title, linked to a bookshop.

What’s included

  • Next.js 14 + TypeScript sourceThe same codebase that runs cartify.craftorytool.com.
  • URL extractor and SSRF guardReads recipe JSON-LD or the page HTML, and refuses private or internal addresses.
  • AI extraction on a free modelRoutes through OpenRouter’s free models, so there is no AI bill. You need a free OpenRouter key.
  • Vitest suiteCovers the extractor, the guard, the API route, affiliate links and regions.
  • Region presets for India, US and UKFour stores per region, from Swiggy Instamart and Blinkit to Walmart and Tesco.
  • Affiliate and AdSense wiringTags on every store link and ad slots in the layout. Add your IDs.
  • Four setup guidesSetup, affiliate, AdSense and re-niching guides, plus a deployment and monetisation plan.
  • No databaseNothing to provision or pay for. Per-IP rate limiting is built in.

Tech stack

FrameworkNext.js 14 (App Router)
LanguageTypeScript
TestsVitest
StylingTailwind CSS
AIOpenRouter, free model routing
DataNone. No database.
HostingAny Next.js host; guide uses Vercel’s free tier
MoneyAffiliate tags + Google AdSense slots

Pricing

One-time payment through Gumroad. Both tiers include the same code and licence.

Source kit

Most buyers need this

$29 USD, one-time

Everything you need to run your own version.

  • Full source code
  • URL extractor and SSRF guard
  • AI extraction on a free model
  • Vitest suite
  • Region presets for India, US and UK
  • Affiliate and AdSense wiring

Kit + promo video

For launching it

$49 USD, one-time

The same kit, plus material to announce your version.

  • Everything in the source kit
  • Five narrated vertical promo reels, 1080 × 1920, about 18 seconds each
  • A cover image and an SRT subtitle file for every reel
  • The voiceover scripts, to re-record in your own voice

Questions about this kit

Which stores does it link to?

India: Swiggy Instamart, Blinkit, Amazon Fresh and Amazon Now. US: Instacart, Walmart, Amazon and Target. UK: Tesco, Sainsbury’s, Ocado and Amazon. A preset is a list of stores and their search URL patterns, so adding a store or a country is an edit to one file.

Does it cost anything to run?

Not by default. Extraction uses OpenRouter’s free model routing with your own free key, there is no database, and the setup guide deploys to a free hosting tier. Free models have rate limits.

What does the SSRF guard do?

Cartify fetches pages that users paste in. The guard stops anyone from pasting an internal address to make your server fetch something it should not. It has its own tests.

Do I need AdSense or affiliate accounts first?

No. The wiring is there and waits for your IDs. Add them when you have them.

Can I build a paid product from it?

Yes. Run ads, add affiliate links, charge a subscription or build it for a client. What you cannot do is resell or publish the source code itself.

What is in the promo video kit?

Five ready-to-post vertical reels (1080 × 1920, about 18 seconds each) showing Cartify in use: chili oil noodles, Tuscan chicken, dum biryani, protein meal prep and a recipe link. Each comes with a cover image and SRT subtitles, plus the voiceover scripts so you can re-record them for your own brand.

Refunds?

Sales are final, because a kit is a download. Try the live demo first: it runs the same code.