Every family has a folder like this: 4,000 vacation photos on one phone, a few hundred screenshots, and a voice memo of my grandmother describing the old house she grew up in.
Nobody ever opens that folder again. It just sits there, and one day the phone dies.
I wanted one specific thing out of it: a printed book you can put on a shelf, with the photos on the left and the story on the right.
What I built
It's called Pianyu (片语成书, "a few words make a book") — https://pianyubook.com
The flow is deliberately boring, on purpose:
- You drop in photos and write (or dictate) the story around them.
- The app lays out the pages, typesets the text, and produces a print-ready PDF.
- You see the first 5 pages rendered for free before paying anything.
- If the pages look right, you pay and get the full PDF — $19 for a photo book, $39 for an illustrated book, $79 for a full life story.
The free preview is the whole funnel. People don't trust a layout engine they can't see, and "trust me, it'll look great" is not a sales pitch.
The stack, briefly
- Frontend: uni-app + Vue 3 + TypeScript + Vite, exported to H5 plus WeChat mini-program from one codebase.
- Hosting: Cloudflare Pages, with Pages Functions for the API.
- Payments: Creem as merchant of record. Webhook verified with HMAC-SHA256, order rows in D1, idempotent on replay, amount checked against the SKU before anything is marked paid.
- PDF: my own layout engine emits page geometry, then PyMuPDF embeds the CJK fonts. I started with pdf-lib and gave up on its CJK embedding — the output was not reliable enough for something a printer will actually run.
Four things I got wrong first
1. "Print-ready" is not "looks nice on screen." Margins, bleed, and where a page break lands mid-sentence are the whole job. I rebuilt the layout around fixed print geometry after seeing the first proof.
2. CJK fonts are the real weight problem. A full GBK font is ~18MB; a subset is ~5.6MB. On a cold page load that is the difference between "fine" and "why is nothing happening."
3. I chased indexing too early. The domain was five days old. I burned hours on Search Console dashboards when the honest answer was "wait two weeks." New domains get crawled on the crawler's schedule, not mine.
4. Payments are the easy part now. With a merchant of record, tax and card handling are somebody else's problem. The hard part is that nobody arrives to pay.
Where it stands
Payments are live and verified end to end. Indexing is slowly happening. Traffic is the actual unsolved problem, and it is a marketing problem, not an engineering one.
If you have a photo pile and a story attached to it, the first five pages cost nothing to look at: https://pianyubook.com
Feedback on the layout engine is very welcome — especially from anyone who has shipped a print PDF that a real printer accepted without complaining.
Top comments (1)
Pianyu is a strong name for this. It means something real, it is short, and it sounds like a book. The one thing I would test is whether people who hear it spoken can spell it well enough to find the site, since the spelling is not obvious from the sound. The free preview of the first five pages is smart too, it answers the trust question before money changes hands.