Mesut Genç

Staff Mobile Engineer · Android, iOS, Kotlin & Compose Multiplatform

I design the foundations mobile teams build on. Available now.

Loading the site…
developersancho.com

Work / pantrixui.com

Personal project · case study · 2026 · 4 platforms

pantrixui.com: a library’s site, built with the library

I built Pantrix UI’s site as one Compose Multiplatform app on the library itself: 316 pages in English and Turkish, each also written as static HTML, on the web, Android, iOS and the desktop, with the library’s MCP server beside it.

Role
Designer and sole author, with AI coding agents held to the site’s checks
Period
2026 · first release 31 October, six releases by 14 November
Platforms
The web (Wasm, and JavaScript for WebKit), Android, iOS, the desktop
Stack
Kotlin, Compose Multiplatform, Pantrix UI; Spring Boot and nginx
Source
Public, on GitHub
Outcome
316 static pages, 29 guides with live sketches

Context

Pantrix UI needed a site: its installation, its 108 components, its guides, and a way for coding assistants to read it. A library for Compose Multiplatform is best shown in Compose Multiplatform.

The problem

Compose draws a web page on a canvas: search engines, link previews and browsers without scripts see an empty page, and on Safari the Wasm build stayed blank. The site had to be found, read and shared like any website, and still be the library’s own app.

My role

A personal project, outside work. I designed and wrote the site: its modules, its content pipeline, its loader, its static pages and its hosting. AI coding agents wrote code for it too, under the same checks as mine.

Decisions

01 The library’s site, written with the library

Options
A documentation generator · one Compose Multiplatform app on Pantrix UI
Chosen
One app for the web, Android, iOS and the desktop, every page drawn with Pantrix UI
Why
Each page is a test of the library, and a guide’s sketch is the real component, not a picture of it.
Cost
A larger first download than an HTML site: about 7 MB with gzip on the web.

02 Static HTML under the app

Options
The app alone · rendering on a server · static HTML written at build time
Chosen
Every page’s HTML in both languages, written at build time; the app draws over it where it can run
Why
Search engines, link previews and browsers without scripts read the page; a browser that runs the app gets the app.
Cost
Two renderings of every page, kept equal: both read the JSON the content tool writes.

03 A loader that picks the build

Options
Wasm alone · JavaScript alone · a loader that chooses
Chosen
Wasm where it runs; the JavaScript build for WebKit, Safari and every browser on iOS, and for older browsers
Why
On WebKit the Wasm build left the page blank; the JavaScript build draws there with the same Skiko.
Cost
Two builds to make, ship and test.

04 One stack, one way in

Options
Two resources on the host · one Docker Compose stack
Chosen
nginx serves the files and passes /mcp alone to a Spring Boot MCP server; the same stack runs on this machine and on the host
Why
The image tried here is the one that goes live, and the server has one door.
Cost
Images built and pushed from one machine; no CI yet.

Architecture

How a page is made and served: the content becomes JSON for the app and static HTML for everyone else, nginx serves both, and the MCP server stands behind it.

content → tools/content · tools/content → app · tools/content → tools/prerender · tools/content → tools/render · app → nginx · tools/prerender → nginx · tools/render → nginx · nginx → server

nginx serves the files and passes /mcp, and nothing else, to the server.

Outcomes

From the site’s repository, its changelog and its sitemap, November 2026.

What it led to

The site’s way became a pattern: this site, developersancho.com, takes its loader, its static pages and its hosting, each copy naming the commit it came from. Formatico, built only from the public site, found where it left a newcomer stuck: its findings fixed the installation page and the loader for Safari.

Next case: Rorty: one app, four stacks