Thomas Dev

How this site is built

The full list of what builds, tests and serves this site. Every version is read from the lockfile during the build, so this page does not go stale on its own.

In the browser

Everything a visitor actually downloads. No JavaScript framework on any page.

  • htmx4.0.0

    Loaded only on the contact page. It submits the form and swaps the function’s HTML response in place, without a reload.

  • Inline SVG

    Monogram, social icons and the favicon. No icon library and no extra request.

Site generation

Runs at build time and disappears: the result is static HTML.

  • Astro7.4.5

    Generates the pages in both languages, optimizes images and ships no JavaScript by default.

  • @astrojs/sitemap3.7.4

    Sitemap with the alternate language version of each page.

  • @astrojs/mdx8.0.1

    Blog posts in MDX: Markdown with components, such as callouts.

  • @astrojs/rss4.0.19

    Generates the blog's RSS feed at build time.

  • Sveltia CMS0.221.0

    Editing panel at /admin, loaded only on that page. Every change becomes a commit in the repository, and the site is rebuilt from it.

  • Node.js22

    Pinned on Netlify so the build matches the local environment.

Form and e-mail

The only part of the site that is not static.

  • Netlify Functions

    One function, with zero dependencies: it validates the fields, blocks bots with a honeypot and a per-IP limit, and answers in HTML.

  • Resend

    The notification is sent through the REST API, called with fetch. No SDK.

Tests and quality

A single command runs all of it, in the terminal and in the build. If any step fails, publishing is cancelled.

  • Vitest5.0.5

    Tests the translator, the contact function and the published HTML. No browser, so it behaves the same on any system.

  • linkedom0.18.13

    Reads the generated HTML in tests, instead of opening a browser.

  • Cypress16.0.0

    Reserved for the one case that needs a real browser: htmx swapping the response. It stays out of the publishing path.

  • ESLint10.14.0

    Static analysis of the JavaScript.

  • Custom scripts

    Three dependency-free checks: broken internal links, CSS classes that do not exist, and the weight budget of each page.

Infrastructure

Where the site lives.

  • Netlify

    Build, CDN, redirects and headers. Every publish goes through the full verification before going live.

  • GitHub

    Source code and publishing trigger.

  • Umami

    Analytics with no cookies and no personal data. It is the only third-party resource the page loads.