The site moved to v2, and I like it now

Published: 2026-11-16

antonnovikov.com is now on v2: a new design on every subdomain, the language right in the URL, a status page whose numbers match the source, a trips map and kgateway at the edge. Here is what you can see, what changed inside and how I rolled it out.


I open it and I am happy

The site has moved. I open the home page on my phone, and I like it. That has not happened in a long time.

It is still the same site. The same minimalism, the same dark-red accent, the same "just exist bro." in the footer. It is just calmer and cleaner now. No gradients, no glass, no badges, no huge first screen. Thin lines and rows instead of a grid of cards. The technologies on the home page are now plain text separated by dots. There used to be 168 chips there. Now there are zero, and the page can breathe.

All of this sits on one file of design tokens. Colors, font sizes, the focus ring and button sizes for the light and the dark theme. Nothing useful is smaller than 12 px, and article text is never wider than 72 characters. The green status dot used to look a bit pale in the light theme. Now its contrast is 5.57:1. A small thing, but it feels good.

The server sends no fonts at all. The site uses system fonts, so every OS shows its own native ones. The home page is about 28 KB gzipped, CSS and JS included.

Header and menu

There is one header for all subdomains. On the left is the a/n mark, then relocation, trips and cv. Then two dropdowns. devops has the blog, the cheatsheet and the tools. infra has the status page, links and service pages. Every item has a one-line description, so you know where you are going.

The nicest part here is invisible. A small script checks, before the first paint, if the header fits on one line. If it does not, it folds into a "menu" button. Long Russian labels, a phone, browser zoom at 125% - the menu never runs into the language or theme switch. I checked it at 360, 768 and 1440 px.

Buttons got bigger. Menu links are at least 40 px tall instead of 20. The theme switch is 36 by 36 instead of 20 by 15. Now you can actually hit them with a finger.

There is one theme for all subdomains. The first time, it comes from your system settings. After that, your choice lives in a cookie for the whole domain. Switch to dark on the home page, and the blog, the status page, trips and every country open dark too. And there is no white flash on load.

A two-column home page

On the left there is a sticky column. My name, a green dot with "Full-time at Finstar Financial Group", a contact button, and links to my resume, GitHub, LinkedIn and HH. Below that is a 01-04 table of contents that highlights the section you are reading. On the right are the sections themselves: about, stack, experience, projects.

Under the intro there are four big numbers: 8 years in infrastructure, 25 clusters, more than 1500 VMs moved to containers, 99.99% uptime for a booking API. My career at a glance.

Experience has dates on the left and text on the right. The "contact" button opens a form in a dialog, and the message is sent without leaving the page. Below 1080 px everything folds into one column.

And the home page template went from 592 lines to 348. The new design is also shorter. I love that.

The language is in the URL now

This is maybe my favorite change. The site no longer guesses your language. The URL says it.

Every subdomain has /en/ and /ru/. A bare address sends you to the English version, or to the Russian one if you picked Russian before. The English home page lives right at the root, antonnovikov.com/, and the Russian one is at /ru/.

The root has a nice little story. I declared /en/ as canonical, but Google picked plain /. Fine. I did it Google's way: the root is the English home page, and /en/ redirects there. After that, my canonical and Google's choice matched.

bash$ H='Accept: text/html'; W='%{http_code} %{redirect_url}\n'
$ curl -s -o /dev/null -H "$H" -w "$W" https://weblog.antonnovikov.com/
301 https://weblog.antonnovikov.com/en/
$ curl -s -o /dev/null -H "$H" -w "$W" https://antonnovikov.com/en/
301 https://antonnovikov.com/

The EN | RU switch opens the same page in the other language and keeps your filters, the status page period and the anchor. I picked 7 days on the status page, pressed RU, and landed on status.antonnovikov.com/ru/?range=7d#charts. A reload, a new tab and "Back" all show exactly what was on the screen. The switch works without JS too, because it is a normal link.

Now I can send anyone any link, and it opens in the language I sent it in. Cyrillic paths are also encoded correctly in redirects now.

A status page you can trust

I rewrote status.antonnovikov.com almost from scratch. It was a 1267-line template. Now it is a small template and one script.

The main thing: every number is checked against raw samples from VictoriaMetrics. I took a fixed window, calculated by hand and compared it with what the page drew. CPU 11.696 and 11.696. TCP 319.25 and 319.25. Days to the nearest TLS expiry 31.29 and 31.29. It matches.

TCP established now counts only established connections. Disk shows the busiest real disk. VPN traffic is not counted twice. cert-manager certificates are included in the expiry check. It was a long pass through every collector and every query, and at the end the numbers simply matched the source. A very calm feeling.

What you see on the page: six blocks. Services, node, network, VPN and proxy, charts and pods. Pods is a table in the style of kubectl get pods. Today it shows 21 of 21 deployments ready, 36 pods Running in 18 namespaces, and the node on k0s v1.36.6.

There are 27 charts in three groups. You can switch the period between 1 h, 6 h, 24 h, 7 d and 30 d. You can pin a window and share it as a link, and there is always a "back to live data" button next to it. All series share one time grid. The rate window equals the step, so a short dip does not get lost even on a long period.

A gap in the data is drawn as a gap, not as zero. If a collector goes quiet, the line breaks. It does not pretend to be alive. The page shows "loading", "no data for this period", "source unavailable" and "data is stale" as separate states. If VictoriaMetrics disappears for a second, you keep the last good data with the time it was fetched.

The "now" blocks refresh every 30 seconds, with a countdown at the bottom. Nothing runs in a background tab. Chart axes use your time zone, and chart colors change together with the theme.

Trips on a map

A new subdomain: trips.antonnovikov.com. My photo diary.

At the top is a map with all the places, and below it is a timeline by year. Right now there are 15 trips, 34 places and 8 countries, from Thailand and Vietnam to Armenia and Kazakhstan. Future trips are already on the map too. If I visited one city several times, it is one dot with an "N visits" label.

The map does not steal your scroll. On a phone it asks for two fingers. With a mouse you click first, then scroll. Without JS you get a simple list of places with dates instead of the map.

Each trip has its own page: its own map, "Day N" days, places, notes and a gallery. Photos open full screen, you flip them with the arrow keys, and Esc closes them. I can upload JPEG, PNG, WebP and HEIC. Visitors get smaller WebP images with no metadata.

26 more countries and all texts rewritten

There are now 56 relocation guides, 26 more in one go. Japan, Korea, Taiwan, Mongolia, Nepal, Montenegro, Uruguay, Kenya and others. 32 countries have a digital nomad visa, and the table has a separate filter for them. Every guide has 15 parts, from visas and taxes to a step-by-step moving plan.

Every country has its own subdomain, for example jp.antonnovikov.com. Cape Verde lives on cpv, because cv is already taken by my resume.

I also rewrote all the texts on the site. Natural Russian, simple English, first person. The cheatsheet URLs changed to follow the new titles, and the old ones answer with a 301, so no link broke. There are 1178 such redirects.

The cheatsheet has more than 1600 commands, Ctrl/Cmd+K for search and copy on click. The tools section has 17 utilities, and they all run right in the browser.

Small things that were fun to do

The footer now has a faint number. It counts all pages served to real people, without monitoring probes. Today it says 145,852. Let it grow.

The view counter in the blog now counts people. A view counts after you scroll and spend five seconds on the page. It skips bots, and one person on one post is counted once per half hour. IP addresses are not stored, only a keyed hash.

You can install the site as an app. The home page opens offline in both languages. And the "new version available" banner shows up only when there really is a new version.

Under the hood

The edge now runs kgateway v2.5.1 on Envoy with Gateway API instead of APISIX. There is a separate post about that move, so here is the short version. Memory on the main cluster went from 386 MiB to 29 plus 59. I compared behavior before and after with 39 checks. The switch took less than a minute.

One HTTPS listener holds all certificates, and the site's 68 names sit on one SAN certificate. The browser reuses one HTTP/2 connection across subdomains. Going from the home page to the blog or the status page needs no new TLS handshake. There were 81 Certificate objects. Now there are 15.

One wildcard route catches all subdomains, and the app decides which section to show by the host name. A new country is now a JSON file and one line in hosts.py. No need to touch the gateway.

Static files with a hash in the name are cached for a year. Without a hash, for an hour with revalidation:

pythonif request.query_params.get("v"):
    response.headers["Cache-Control"] = "public, max-age=31536000, immutable"
else:
    response.headers["Cache-Control"] = "public, max-age=3600, must-revalidate"

A returning visitor gets the new CSS right after a deploy and never downloads anything twice. The app now builds sw.js itself, with the build id in the cache name. Every deploy means a new service worker, and old caches delete themselves.

Scripts and styles for the blog and the cheatsheet moved out of the HTML into separate cacheable files. The cheatsheet HTML went from 31.2 to 17.8 KB gzipped, and the blog list from 37.9 to 22.3. The page fits into the first TCP round trip, which saves about one RTT per load.

The data is one SQLite file. Litestream streams it to S3 as a separate Deployment and keeps seven days of history. A restore drill took 4.6 seconds, and all tables matched. The footer counter lives in Redis 7.4 through a Lua script. If Redis is down, the increments wait in memory, and once a minute the total goes to SQLite.

Both k0s clusters are on 1.36.6 with containerd 2.3.6, upgraded one minor version at a time.

Here is what was added, in one table:

Technology Why
kgateway v2.5.1, Envoy, Gateway API v1.6.0 the entry point for all subdomains, standard HTTPRoutes
cert-manager v1.21.3 Let's Encrypt through Gateway API, one SAN certificate
Chart.js 4.4.3 from my own domain 27 charts on the status page without a CDN
Leaflet 1.9.4 and OpenStreetMap the trips map with no keys and no third-party SDKs
Nominatim a click on the map fills in the place name
pillow 13.0.0 and pillow-heif 1.8.1 photos, HEIC included, to WebP without metadata
Redis 7.4 the page counter in the footer
Litestream 0.3.13 seven days of SQLite history in S3
SQLAlchemy 2.1 async and Alembic the database and migrations, trips included
VictoriaMetrics v1.152.0 metrics for the status page, 90 days
FastAPI 0.162.5, Starlette 1.10.0, uvicorn 0.54.0 the app itself, on Python 3.12
k0s 1.36.6, containerd 2.3.6 both clusters

How I rolled it out

Calmly. No staging, but no stress either.

The image is tagged with the commit SHA. Before every commit and push, tests run in Docker on Python 3.12 with the same lock file as production. There were 31 tests. Now there are 288. If they fail, nothing moves on.

After a rollout, a script checks six public URLs. If one of them does not answer, it runs kubectl rollout undo by itself. Before the redesign I put a git tag on the last live commit, and I deleted nothing along the way. I never needed a rollback.

Before and after the rollout, headless Chrome went through 16 pages at three widths, plus a phone scenario: pick 7 days, switch to Russian, reload, open a new tab, press "Back". Zero console errors in all 48 runs.

A deploy used to take about three minutes. Now it takes about 51 seconds. Dependencies build natively on my Mac, with no emulation. I can deploy as often as I like.

What's next

I really like how it turned out. The site is recognizable, fast, in two languages, and you can trust the numbers on it.

I wrote about how the app itself works in How this site is built. The SEO setup is in SEO for a FastAPI blog without plugins. And the edge change has its own post about moving to kgateway.

Come visit, switch the theme, scroll the map. I am off to add photos to my trips.