Skip to main content
Publishing and commerce · Independent brand · 2025-2026

Publishing & Commerce

I built and ran a publication and apparel brand end to end: the writing, the brand and products, and the PHP and Python system that published it and sold through Shopify.

essays across eight categories
39
installments across three fiction series
14
words written, edited and published
65,000+

The problem

An independent writer selling apparel usually ends up with a blog on one platform and a store on another, and neither tells the brand's story the same way.

What changed

KXTX put essays, serialized fiction and original apparel under one design and one publishing system. I wrote and edited the work, designed the brand and products, ran the store, and built the software that held it together. It published and sold from September 2025 to July 2026.

How it's built

Role
Writer, editor, brand designer, engineer and operator
Stack
Markdown, PHP, JavaScript, Python, Shopify Storefront GraphQL
Size
About 5,300 lines across PHP, JavaScript, CSS and Python
Status
Shipped and operated, Sep 2025 to Jul 2026

Three ways to read and browse

Essays supported categories, curated picks, related reading and optional audio. Fiction used series hubs and chapter navigation so readers moved through a story in order. Product pages paired original writing with live prices and images from Shopify. All three shared one PHP page shell and responsive design.

From Markdown to published pages

Markdown held the writing, and JSON manifests held routes, dates, categories and series order. An essay went live only when both its manifest entry and its source existed; a missing source returned a real 404 and dropped out of the public index. A Python tool compared the content tree with the manifests, showed a dry run, then updated the manifest, generated only the needed PHP routes and rebuilt the essay sitemap while preserving hand-edited titles and ordering.

Editorial discovery

The homepage pulled featured essays from the same manifest as the writing index, which generated its category filters from that data and restored the reader's place on return. Page-specific JavaScript loaded only where needed, and file modification times refreshed cached assets after each deploy.

Shopify handled sales

Storefront GraphQL supplied product data, cached for five minutes, and a Shopify tag selected the featured item. Product pages combined live catalog data with local editorials, a high-resolution image viewer and related products, and Shopify handled checkout.

KXTX ran on my home hosting platform. The gallery shows the publication and store as they shipped.