Skip to content

Denoroy737/PinFlip

Repository files navigation

PinFlip — Amazon to Pinterest Chrome Extension

Amazon product → AI viral image → Affiliate link → Pinterest post in ~10 seconds


✦ What It Does

  1. Detects the product automatically when you open a popup on any Amazon product page
  2. Generates a viral AI-redesigned product photo (free, via Pollinations.ai — no API key needed)
  3. Builds your Amazon Affiliate link automatically
  4. Posts to Pinterest — direct via API or Quick Post mode (zero setup)

🚀 Installation

Step 1 — Load the extension

  1. Open Chrome → chrome://extensions
  2. Enable Developer Mode (top-right toggle)
  3. Click Load unpacked
  4. Select the pinflip-extension folder
  5. The PinFlip icon appears in your toolbar

Step 2 — Configure (click the ⚙ gear icon inside PinFlip)

Amazon Associates ID (required for earning)

  1. Go to affiliate-program.amazon.com
  2. Sign up / log in
  3. Find your Tracking ID (format: yourname-20)
  4. Paste it in PinFlip Settings → Amazon Associates

Pinterest Setup — choose ONE option:

Option A: Quick Post (zero setup, recommended for beginners)

  • Enable "Quick Post Mode" in settings
  • PinFlip opens Pinterest pre-filled — you click Save once
  • Takes ~10 seconds per pin

Option B: Direct Post via API (fully automated)

  1. Go to developers.pinterest.com/apps
  2. Click Create app
  3. Fill in app details (any name, select "Other" for platform)
  4. Under Redirect URIs, add:
    https://YOUR_EXTENSION_ID.chromiumapp.org/
    (find your Extension ID at chrome://extensions)
  5. Request scope: boards:read + pins:write
  6. Copy your Client ID and Client Secret into PinFlip Settings
  7. Click Connect Pinterest → authorize in the popup

🎯 Usage

  1. Navigate to any Amazon product page
  2. Click the PinFlip icon in your toolbar
  3. Choose AI Redesign or use original image
  4. (Optional) Pick an AI style — Lifestyle, Minimal, Dark Luxury, Flat Lay
  5. Click Generate AI Image — takes ~5 seconds
  6. Review + edit the auto-generated Pinterest caption
  7. Click Post to Pinterest — done!

Total time: 8–15 seconds per product pin


🆓 Costs

Feature Cost
AI Image Generation Free (Pollinations.ai)
Pinterest Posting Free (Pinterest API)
Affiliate Links Free (Amazon Associates)
Extension itself Free

🔧 File Structure

pinflip-extension/
├── manifest.json       — Chrome MV3 manifest
├── content.js          — Amazon product scraper
├── background.js       — Service worker (OAuth, API calls)
├── popup.html          — Extension popup shell
├── popup.css           — Popup styles (Syne + DM Mono)
├── popup.js            — Popup state machine logic
├── options.html        — Settings page
├── options.css         — Settings page styles
├── options.js          — Settings page logic
└── icons/
    ├── icon16.png
    ├── icon48.png
    └── icon128.png

🌏 Supported Amazon Locales

  • amazon.com (US) — default
  • amazon.in (India)
  • amazon.co.uk (UK)
  • amazon.ca (Canada)
  • amazon.de (Germany)
  • amazon.fr (France)

💡 Tips for Maximum Virality

  • Use Lifestyle Studio AI style for electronics, gadgets, beauty
  • Use Minimal White for clothing, accessories, home goods
  • Use Dark Luxury for premium/expensive products
  • Use Flat Lay for food, stationery, accessories
  • Post 5–10 pins/day for best Pinterest reach
  • Edit captions to add your personal voice

⚠️ Important Notes

  • Amazon Associates commissions are 1–10% per qualifying purchase within 24 hours
  • Pinterest API requires your own app (free to create) for Direct Post mode
  • AI images are generated by Pollinations.ai — results may vary by product
  • Always disclose affiliate links in your Pinterest posts (#affiliate or #ad)

🐛 Troubleshooting

"No product detected" — Make sure you're on a product page URL like amazon.com/dp/ASIN

"Associates ID not set" — Go to ⚙ Settings and add your Associates Tracking ID

"Pinterest auth failed" — Double-check your Redirect URI in the Pinterest Developer Portal matches your Extension ID exactly

AI image shows error — Pollinations.ai may be temporarily slow. Click "↺ Regenerate" or use original image.


Built with ♥ · AI images by Pollinations.ai · Pinterest API v5

About

PinFlip is a tool that transforms Amazon products into Pinterest Pins through a Chrome Extension (Disclaimer: this tool is entirely AI-generated to simplify my tasks).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors