Wetlista.pl: a horse vet directory without a framework
A static page built from SQLite, with no framework and no separate database server
wetlista.pl is a nationwide directory of equine vets in Poland, with a map and a search for the nearest ones. It is for horse owners who need a vet fast, often at night.
Lists of such vets had been going around Facebook groups and forums for years, but they were scattered and out of date. The first data came from lists collected by the community, including Fiord na emeryturze and the Re-volta forum. Today the directory has about 470 entries, and horse owners and vets send corrections themselves.
What it does
- Near me and urgent mode. The list sorts by distance and phone numbers turn into large call buttons.
- One SMS to several vets. A message sent separately to the nearest mobile numbers, so nobody sees the other numbers.
- Phone contacts. A .vcf card for one vet or for a whole region.
- Holidays and cover. An entry shows an announced holiday and who covers for the vet.
- Routes. Vets and companies announce trips through a region with a deadline for booking a visit.
- App. The site installs on a phone like an app, with a shortcut to urgent mode. The Android version is waiting for its Google Play release because we still need a few testers. If you want to help, write to us.
No framework
The page users see is a single static index.html. The data lives in an SQLite database on the server. When a moderator saves a change, the application updates the database and regenerates the page in one transaction. A visitor runs no PHP and no database query, the server returns a ready file.
What this gives us:
- the site runs on ordinary shared hosting, with no containers and no separate database server,
- Apache does the caching (
Last-Modified, 304), so a repeat visit downloads almost nothing, - when a save fails, the transaction rolls back and the previous working version stays online,
- the whole directory is one file, so the site installed as an app (PWA) works offline with the data from the last visit. Only the OpenStreetMap map does not load, and calls and SMS work as usual, because they only need mobile signal.
Data for machines
The whole directory on one page is about 950 KB of HTML today. LLM fetchers (ChatGPT, Claude, Perplexity) usually read only the first 100–300 KB of a response. The list is ordered by region, so the regions at the end of the alphabet might never be read.
So the same database also produces smaller files: wetlista.json with the full data and coordinates (also served as an API), a text version, a print version and llms.txt. With the coordinates an AI assistant can answer "who works within 50 km of Kartuzy".
Privacy
Visit statistics store no IP addresses. We count a hash with a salt that changes daily, so we know how many people visited on a given day, but nobody can be tracked across days. The retention periods from the privacy policy are enforced by code, not only by the document.
Canary
A permanent copy of the page at /canary lets us try interface changes on production data. If an experiment works, one command moves it to the main page. If not, the copy goes back to match the main page.
One engine, several directories
The same code serves kowale.wetlista.pl, a directory of farriers, and a directory of riding trainers is ready. Each directory has its own database and moderators, and all trade wording lives in one configuration file. A test makes sure the word "vet" never appears on the farriers' site.
AI agents
Since the start (July 2026) there have been 483 commits, 427 of them written by an agent (Claude). The agents' memory is an AGENTS.md file with the architecture and the traps of the project, and it grows with the code. We will write separately about how we work with agents.
Backlog and audits
Ideas and fixes live in the repo, in docs/todo.md, ordered from the biggest gain at the lowest risk. A separate backlog covers visibility in search engines and AI tools.
The code went through four code and security audits (September, two in October, November). An agent (Claude) ran them on a local copy and sent only read-only requests to production. Each audit checked the new code and the previous audit's fixes. The last three found 57 items: we fixed 51, 5 are deliberate decisions, 1 is open. One fix from a previous audit could be bypassed, and only the next audit caught it, so re-checking pays off. The last audit (13 November) found nothing serious.
The gzip mistake
For a while we were sure the page was served compressed at about 115 KB. That number came from a local gzip, not from the server. Measuring production showed 711 KB with no compression at all, because our AddOutputFilterByType DEFLATE rule replaced the host's list of types and HTML dropped out of it. After the fix the page is about 136 KB on the wire. Since then we check sizes and headers on production, not locally.
We also asked ChatGPT how to make wetlista more visible in AI tools. Its report assumed a separate page for every vet and a sitemap with hundreds of URLs, while wetlista is a single page. So we made the plan ourselves, based on measurements.
If you need a similar site, a directory or a contact database without expensive infrastructure, write to us.