git404hub

what is pagewright fr?

keepintouch2024/pagewright — explained in plain English

Analysis updated 2026-05-18

10PythonAudience · pm founderComplexity · 3/5LicenseSetup · moderate

tl;dr

An LLM powered tool that turns a product URL or your own photos into a polished, bilingual e-commerce detail page image by writing structured data into HTML instead of painting pixels.

vibe map

mindmap
  root((Pagewright))
    What it does
      Builds detail page images
      LLM extracts structured data
      Renders real HTML not pixels
    Tech stack
      Python
      Playwright
      Jinja2
    Use cases
      Generate store listing images
      Bilingual product pages
      Re render updated prices
    Audience
      Ecommerce sellers
    Setup
      Desktop app or CLI
      Needs LLM API key for CLI

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Generate a bilingual product detail page image from a store URL for listings on Taobao, Tmall, Amazon, or Shopify.

VIBE 2

Turn your own product photos and a written description into a polished detail page without design software.

VIBE 3

Re render a previous product listing with an updated price or spec using its saved structured data, with no new image generation cost.

what's the stack?

PythonPlaywrightJinja2

how it stacks up fr

keepintouch2024/pagewrightaarav90-cpu/fetchitadammartinez271828/x4-analysis
Stars101010
LanguagePythonPythonPython
Setup difficultymoderateeasyeasy
Complexity3/52/52/5
Audiencepm founderdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 30min

CLI/library mode needs Python 3.10+, Playwright's Chromium browser, and your own LLM API key, the desktop app avoids the command line.

MIT license: free to use, modify, and distribute for any purpose, including commercial use, as long as you keep the copyright notice.

in plain english

Pagewright is a tool that builds the long, scrolling product detail images used on shopping sites like Taobao, Tmall, Amazon, and Shopify. You give it either a product page URL or your own photos plus a written description, and it produces a finished detail page image, optionally shown in both English and Chinese side by side. Its core idea is that a language model should never be asked to paint the actual picture. Instead of using an image generating AI to draw the page directly, which tends to garble prices, mangle text, and invent logos that do not match the real brand, Pagewright uses a language model only for the parts language models are good at: reading a source page, organizing facts into a structured record, writing description text, and translating it. That structured record then fills a template written in HTML, using your real product photos and real logos rather than anything an image model invented. A headless browser takes a screenshot of that finished HTML page, which is then automatically cropped and sliced into the long panel images you upload to a store listing. Because the whole page is built from real text and real image files rather than pixels painted by a model, changing one price or spec later just means editing that one field and re rendering, with no need to regenerate a whole new image. Fetching product information from a store page is handled by a layered system with no site specific code: it first tries a plain, lightweight request, and automatically falls back to a full headless browser if the page needs JavaScript or blocks simple requests, as some sites protected by services like Akamai do. There are two ways to use it. A desktop application, available for macOS and Windows, needs no coding knowledge: you upload photos, type or paste a description, choose a language, and click generate. A command line and library version is aimed at developers and can be scripted, and includes a bundled example you can render without needing an API key of your own. Every generation is automatically saved locally with its full image, individual panels, structured data, and a thumbnail, so past versions can be reviewed or re rendered later. The project is released under the MIT license.

prompts (copy fr)

prompt 1
Walk me through installing Pagewright and generating my first detail page from the bundled example.
prompt 2
Explain how Pagewright's layered fetcher handles a site protected by Akamai bot detection.
prompt 3
Show me how to run the desktop app version without using the command line.
prompt 4
Explain how Pagewright's verify step checks that the numbers on the rendered page match the source data.

Frequently asked questions

what is pagewright fr?

An LLM powered tool that turns a product URL or your own photos into a polished, bilingual e-commerce detail page image by writing structured data into HTML instead of painting pixels.

What language is pagewright written in?

Mainly Python. The stack also includes Python, Playwright, Jinja2.

What license does pagewright use?

MIT license: free to use, modify, and distribute for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is pagewright to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is pagewright for?

Mainly pm founder.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.