Business website · Personal project

lysyweb.pl

A site that offers security, so it has to be secure itself.

Year

2026

Platform

WordPress · custom theme

My role

Design, code and content, all solo, plus deployment on my own server.

lysyweb.pl

In short

  • CMS: WordPress 7
  • Theme: custom, block-based
  • Lighthouse (mobile): 96-99 in production
  • Languages: Polish and English

Challenge

A site that offers WordPress and application security can't be slow or full of holes. It also couldn't look like yet another template. It needed character and motion at no performance cost, on WordPress, which my future clients already know, with code I can hand over entirely: no third-party licenses and no stack of plugins.

Solution

A custom block theme (a child of Twenty Twenty-Five) and one companion plugin instead of a stack of them. The plugin covers the contact form (saved in the admin panel and sent by email), SEO and structured data, and cookie-free analytics. It also hardens WordPress and adds the custom content types (case studies, guide, glossary, English version). Motion (GSAP, self-hosted) loads only after the fonts and once the browser is idle, so it stays out of the critical path, and the “reduce motion” setting turns the animations off. Everything runs in Docker (WordPress and MariaDB in one stack), and the theme and plugin are copied from the image on every start, so edits on the server never drift from the repository.

Process

  1. The thesis and the copy: first deciding what the site is about (I build WordPress sites and look for their bugs), then the layout and the text. The site also works as my CV, so what it shows is controlled by one display-mode switch, without deleting any content.
  2. Block theme and companion plugin: templates written by hand and checked in the Site Editor, so every block opens without the “Attempt recovery” message.
  3. Motion and performance: GSAP self-hosted and loaded when the browser is idle, with a budget: main-thread blocking under 100 ms and no regression in Largest Contentful Paint.
  4. Hardening: XML-RPC disabled, versions and usernames hidden, login attempts limited. Security headers (CSP in report-only mode for now), no file editor in the admin panel and support for a second login factor.
  5. Checks before release: the editor shows 0 broken blocks, axe (WCAG 2.2 AA) passes in the light and dark theme, and nothing scrolls horizontally at five widths. A motion test and a Lighthouse run close it out.
  6. Two languages: separate addresses, a PL/EN switch, hreflang tags, and a guide (17 articles) and glossary (65 terms) translated into English.
  7. Deployment on my own server (Coolify), with measurements taken in production as well as locally.

What it looks like

Screenshots of this site: desktop view in the dark and light theme, and a phone.

What it can do

  • Custom theme, no page builder. Templates and styles in the repository, with no purchased theme and no separate layout plugin. I can hand over everything: code and access.
  • A CV on the site. The About page holds my CV: a timeline with an animated gold crack, skills, certificates, projects and a downloadable PDF. The page and the PDF are built from one data file, in Polish and in English.
  • Two languages. The whole site is in Polish and in English, including the guide and the glossary. Every article and term has a counterpart in the other language, used by the switch and by hreflang.
  • Backups and monitoring. A daily backup of the database and files (14 days), a /healthz address for uptime monitoring, CSP reports going to the logs, and a restore from a backup that I tested on a separate stack.
  • Performance measured in production. Lighthouse (mobile, 4 page types, 3 runs): 96-99 points, main-thread blocking up to 44 ms, layout shift around 0. On desktop, 100 points.
  • Accessibility. Zero axe violations (WCAG 2.2 AA) on all page types, in the light and dark theme, and no horizontal scrolling at five widths, from 390 to 1920 px.
  • Motion that respects the visitor. Animations load once the browser is idle and switch off with the “reduce motion” setting. Without JavaScript, all content is still visible.
  • A form without a plugin. A message is saved in the admin panel and sent by email via SMTP; spam is limited using a hash of the IP address kept for an hour, and sending requires consent.
  • Cookie-free analytics. Self-hosted Umami, storing nothing in the browser and no IP addresses, so the site doesn't need a consent banner. It respects the “Do Not Track” signal.
  • SEO and structured data in code. Descriptions, Open Graph and structured data (service provider, offers, glossary terms) are generated by the companion plugin, so no separate SEO plugin is needed. The sitemap comes from WordPress core.
  • Hardened WordPress. XML-RPC disabled, versions and usernames hidden, login attempts limited. Security headers are on, and PHP execution is blocked in uploads.
  • Content as data. Case studies, the glossary and the guides are separate content types with their own templates, so adding a new entry doesn't require touching code.

Technical details

  • CMS: WordPress 7.1 (PHP 8.3, Apache)
  • Theme: custom, block-based (child of Twenty Twenty-Five)
  • Plugins: one custom (companion) plugin and Two Factor for two-factor login
  • Database: MariaDB 11
  • Motion: GSAP self-hosted, loaded when the browser is idle
  • Fonts: self-hosted, no external providers
  • Infrastructure: Docker Compose, Coolify, own server
  • Measurement: Lighthouse in production (median of 3 runs): mobile 96-99, Largest Contentful Paint 1.9-2.2 s, desktop 100 and under 0.5 s
  • Caveat: these are lab tests with a throttled network, not data from real users

Privacy

Visitors get no cookies. The form saves your name, email address and message in the admin panel and sends them to my inbox, and stores the IP address only as a hash for one hour, to limit spam. Details are in the Privacy Policy.

Next project

Automation · web panel and Android

Ready to start?

Let’s start with a conversation

Describe what you want to build. The reply contains the scope, the price and the timeline. The inquiry costs nothing and commits you to nothing.