Vadym KoshtovnyiBack to Blog
ESEN
Contents01/10

// blog · Web development

// article · 01 / 02 · 14 min read · updated on November 6, 2026

How this site is built

Static Astro, no CMS, no animation libraries and no cookies, built with AI. The decisions behind this site and how I made them.

Tags: Web developmentDesignAI

I built this site from scratch. Before writing a single line of code, I specified the whole thing with the help of AI: pages, content, look, motion, SEO, privacy and how it gets published. Then an agent built it, ticket by ticket, and I reviewed every step. Here’s what came out of those decisions, why, and how I worked with AI along the way.

Note

This is a living Article: I rewrite it whenever something it describes changes. The figures carry the date I measured them.

Why from scratch

The previous site was a single-page React app. It looked fine, but it had basic flaws: if you reloaded any page other than the home page, you got a 404. It had no sitemap.xml or robots.txt, and the blog had eight posts I never got around to writing.

I wanted the opposite: real HTML at every address, fast on an ordinary phone, in Spanish and English, and nothing that breaks on reload. With a high bar for design. I wrote it down like this:

I want people to go “wooow”. But clean, bug-free, and with nothing that compromises performance or security.

From the earlier versions I only reused content: the Spanish and English copy from the third one and the screenshots of client websites, taken from my originals. No code at all. I didn’t throw away the flashier versions, though: three of them are now Experiments, each with its Demo.

The direction: six Homes, one chosen

I didn’t pick the look in the abstract. I built six complete Home pages, each with its own idea, and compared them in the browser, switching from one to the next with a bar: A “Monumental”, B “Cinematic”, C “Technical plan”, D “Signal”, E “Folio” and F “Exhibition”.

The Home of direction D “Signal” in the prototype: the profile card with the photo on the left, the giant name in lime and white, the dotted portrait on the right and the prototype bar at the bottom
Direction D in its prototype, with the bar to switch to the other five.Fig. 01

D, “Signal”, won: a graphite background, a single accent color, lime, and a visible grid of cells. At the top, a HUD with live readouts, like an instrument. On the left, a fixed profile card with my photo. And as its signature piece, my portrait turned into a cloud of dots.

All six are still up in the Experiment Six directions for this site, in case you want to see what I turned down. Light Mode came later, and you choose it with the ◐ next to “ES / EN”: grey paper and, in the large type, lime used like a highlighter.

The dotted portrait

The portrait on the Home page is a 2D <canvas>, with no WebGL and no libraries. It doesn’t download anything new: it samples the halftone photo that’s already on the page and turns it into 7,647 dots on desktop and 4,838 on mobile.

As you scroll, it changes shape five times: the face over the name, the frame in “About”, a sphere that turns with “What I build”, a dust with a wave behind the AI Vision and, at the end, the face again in the footer. If nothing changes, it doesn’t repaint, and it stops when the tab is hidden.

It has a budget and a safety valve. Measured on November 6, 2026, it spends 0.7 ms of JavaScript per frame on desktop and 2.5 ms on a simulated phone with a CPU six times slower. If a device can’t keep up (more than one frame in twenty above 25 ms for two seconds), it draws half the dots; and if it still can’t, it falls back to the halftone photo, standing still. With reduced motion it doesn’t even start: you see the halftone photo from the beginning.

Motion without libraries

Between pages, the site cross-fades. The HUD, the profile card and the ruler on the right don’t move, and the title you click flies into place on the new page. Try it with “Next article”, at the end of this one.

All of that is the browser’s native cross-document View Transitions, a bit of CSS and a tiny script in the <head> that decides which title flies. No GSAP, no Lenis and no client-side router: every page is a standalone HTML document and scrolling is the browser’s own.

css
/* let the browser animate the move from one page to another */
@view-transition {
  navigation: auto;
}

/* anything with its own name carries over between pages without moving */
.hud {
  view-transition-name: hud;
}

The rules are few and strict: only transforms, opacity, clipping, filters and colors are animated, and nothing you trigger with the mouse or keyboard takes longer than 900 ms.

Tip

Turn on “Reduce motion” in your system settings and reload. The site navigates without animation, and everything is visible and still from the start.

Stack and content

The site is Astro in static mode, with strict TypeScript. Every page is generated at publish time and the hosting only serves files: there’s no Node server or database behind the pages.

On reading pages like this one, there’s little JavaScript and it’s all mine. Measured on November 6, 2026, this Article loads 6.5 kB of compressed JavaScript: the <head> script, which sets the Mode and decides the transitions (0.8 kB); the HUD with its readouts (2 kB); the index on the left and “Copy” (1.3 kB); the analytics (1.1 kB), and little else. The Palette, which opens with ⌘K, is only downloaded when you open it. No libraries. The limit I set for any content page is 8 kB, and 25 for the Home page, with the portrait.

There’s no CMS. Every piece is a folder with its Spanish Version, its English Version and its images, in Markdown and YAML. Whatever isn’t translated (dates, status, relations) lives only in the Spanish file. Special blocks, like notes or videos, are Markdown directives. Without a CMS, publishing a text is a commit, and that’s plenty for me. One will come back, but it’ll be my own.

What there is, is a lot of checking. The build stops if a piece is missing its translation, if an internal link is broken, if a summary isn’t the right length or if a Tag isn’t on its list. That’s thirteen validations in the build and six more at publish time.

No cookies, no banner

I wanted to know what gets read, but without a cookie banner: a clean first impression matters more than the data. So there’s no Google Analytics. The analytics are my own: a small script and a small PHP API on the same hosting, with the data in its database.

It uses no cookies, stores nothing in your browser to measure you and sends nothing to third parties. It counts Visits, not people: I don’t know who you are and I won’t recognize you if you come back another day. The contact form goes through the same API and reaches me by email. Everything that’s stored, and for how long, is explained in Privacy.

The same goes for embedded videos and examples: nothing from YouTube or anywhere else loads until you click. An automatic check opens every page and fails if anything requests a file from another domain without you asking for it.

I’m deliberately not describing the security in detail. I’ll just say that the server’s headers are checked automatically after every publish, like everything else.

Measured performance

Before anything is uploaded, every page has to fit its weight budget, and mobile Lighthouse has to score 100 in Accessibility, Best Practices and SEO, in both languages and both Modes. If something doesn’t fit, it doesn’t ship.

Measured on November 6, 2026 with pnpm publicar on my Mac, Lighthouse 13 on a simulated phone:

Page Performance Largest element (LCP) Initial download
Home 97 2.4 s 207 kB
This Article 99 2.0 s 131 kB
Case study (YumeDB) 98 2.1–2.3 s 296 kB
Project summary 98–99 2.0–2.2 s 170 kB
Projects listing 99 2.0–2.1 s 181 kB
Experiment (without its Clip) 99 2.0 s 155 kB
Blog 97–99 1.8 s 125 kB

On every page, Accessibility, Best Practices and SEO score 100, layout shift while loading (CLS) is 0 and blocking time is 0 ms. Each figure is the median of three runs, in Spanish and English and in both Modes.

And the gzipped weight of the heaviest page of each kind:

Home Heaviest content page
HTML 31.0 kB of 60 17.9 kB of 30 (this Article)
CSS 20.2 kB of 30 14.3 kB of 20 (AI Classifier)
Own JavaScript 16.2 kB of 25 7.6 kB of 8 (Videowall)
Fonts 90.9 kB in 3 files, of 120 90.9 kB in 3 files, of 120

Performance doesn’t reach 100. Lighthouse simulates a slow phone on a slow 4G network, and there the largest element takes between 1.8 and 2.4 s to paint. That’s within what counts as good (2.5 s), but it isn’t the 100 I asked for at the start, and I’m not hiding it. What always comes out at zero is layout shift while loading (CLS). Real-visit figures are measured by the analytics; I’ll add them here once there’s data.

Publishing

Every time something lands on the main branch, GitHub Actions publishes the site with the same command I can run from my Mac, pnpm publicar:

  1. It builds the site and runs the build validations.
  2. It prints both PDF CVs from the same data as the Home page and checks that they fit on two pages.
  3. It measures the weight of every page and runs Lighthouse on one page of each kind.
  4. It warns if a translation has fallen behind the Spanish.
  5. It refuses to publish if an address that was already live disappears without a redirect.
  6. It uploads the files to the hosting and clears the cache.
  7. It checks that the site responds as it should and leaves a git tag with what was published.

Every proposed change goes through a dry run first, which is the same thing without uploading anything.

How I used AI

This is the part I care most about telling, because it says the most about how I work. The split was always the same: I decide and review; the agent researches, prototypes, codes, writes and translates. The agent was Claude Code.

The map and the decisions

I didn’t start with the design or the code. I started with a map: a document with the destination (a complete spec, ready to build), what I already knew and what I didn’t. What I didn’t know turned into 25 decision tickets: 14 of questions, 6 of prototypes, 3 of research and 2 of gathering data. Between September 30 and October 8, 2026, all of them were closed.

Each question ticket works in rounds. The agent first looks up whatever it can check on its own (the repositories, the old site, the Wayback Machine) and asks me the rest, with lettered options and one recommended. I answer briefly. A real question, condensed, from the first round about this Article: what else to add besides it.

A, nothing else: “Built from scratch” in the footer links to the Article (recommended). B, also a panel from the HUD. C, also a block in the footer. D, just the Article.

I answered “A”. That’s why, if you scroll down to the footer, “Built from scratch” brings you here.

I didn’t always go with the recommendation. For an empty Blog, the agent recommended hiding it until the first Article was out; I preferred to show it with a test card, like a channel with no signal. And for a Blog with one or two Articles, none of its three options convinced me. I wrote back: “I’d put boxes that say coming soon or something like that”. By the next round that idea was already variant D of the prototype, and it’s what you see in the Blog today.

The Blog in prototype 20 with one Article and two “Coming soon” boxes, with the “Day 1” bar of switches at the bottom
The launch-day prototype, with variant D, “Coming soon”, which came from my answer.Fig. 02

The same with the copy. For the hero line I gave my rough idea: “Now I analyze the business and build complete platforms of every kind with AI, without lowering the quality”. The agent polished it and I confirmed it in the next round: “I analyze the business and build complete platforms with AI, without lowering the bar”.

Prototypes you can switch

I decide much better by seeing than by reading. So design questions weren’t answered with a description, but with a prototype: a disposable copy of the site with a bar at the bottom to switch variants on the spot, also through a parameter in the address. There were nine prototypes, from the six Homes to the Project page, the Courses, the PDF CV and Light Mode.

The Home of prototype 24 in Light Mode, with the grey paper and the name highlighted in lime, and three bars of switches at the bottom
The Light Mode prototype: palette, accent, switch and transition, each with its variants.Fig. 03

No variant gets deleted. The ones I turned down stay in their prototype, in case I want to look at them again one day.

Research before deciding

The technical questions I wasn’t sure about (which stack for a static site with good SEO, which CMS, how to publish to my hosting, how to measure without cookies and what the law says) were researched by the agent from primary sources: official documentation, specifications and the Spanish data protection agency’s guides. Each piece of research is a note with its sources cited, and it ended in a recommendation that I accepted or not.

The spec, the glossary and the decisions

Everything decided ended up in a spec of about 2,000 lines, which is the reference for building. Next to it, a glossary with the site’s vocabulary (what a Project, an Experiment, a Section or a Mode is) and five records of decisions that are hard to undo, with the options that were ruled out. It’s the context an agent needs so it doesn’t have to guess.

Building ticket by ticket

Then came the build, also in tickets. Each one gets its own branch and pull request: the agent builds it, passes every check, reviews its own change, merges it and writes down what it did, what it decided and what’s left for me. I review it and fix whatever I don’t like.

The tool that has done the most for quality is pnpm verificar, a check that opens every page in Spanish and English, in both Modes, at 390, 1024 and 1440 px wide and with reduced motion. On each one it looks for console errors, AA contrast, keyboard focus, whether what happens with the mouse also happens with the keyboard, layout shifts, overflow and content that never becomes visible. Measured on November 6, 2026, that’s 580 combinations per run.

It found things I wouldn’t have seen. One: the Markdown processor read “10:30” as a directive called :30 and swallowed the time from the text. It was fixed before a single Article was published.

This Article

Even this text has a history. The first draft came out in the prototype for the inner pages, before it was clear what it would cover.

The first draft of this Article in prototype 23, with its seven-section index on the left and the “Draft” stamp
The draft in prototype 23, older than the index it has now.Fig. 04

Later I settled, in another round, on the ten-section index you’re reading, and the agent wrote it again, in Spanish, in the first person and in my voice. It translated it into English and I corrected it. It doesn’t carry any “written with AI” stamp, like the rest of the site: I explain it here and in the Legal notice, and I stand behind every word.

Credits

  • Fonts: Sofia Sans Extra Condensed, by Lettersoup, for the large type, and Geist and Geist Mono, by Vercel, for text and readouts. All three under the SIL Open Font License and served from this domain.
  • Tools: Astro, TypeScript, Shiki for code, sharp for images, Satori for social images, Playwright and Lighthouse for the checks, and pdf.js to read the CVs. The agent: Claude Code.
  • Data: the country in the analytics comes from IP Geolocation by DB-IP, under a CC BY 4.0 license.
  • Photo: it’s mine.
  • AI: I designed and wrote this site myself with the help of AI: I decide, review and take responsibility for everything that’s published. The covers of Articles and Courses are generated with AI. I also explain it in the Legal notice.

// related · 02

Related

Picked by hand

  1. // experiments · exp / 04Sep 2026

  2. // blog · AINov 5, 2026

    How I code with AI

    AIHow I work

    6 min