How this site is built
Did you know? is a fully static site: no database, no framework, no code running on the server. A generator written in Python reads the content files and produces 307 ready HTML pages, which are uploaded as they are.
The numbers
- 307 pages in two languages, covering 120 elements, 18 comparison guides and 7 categories.
- A full build takes under a tenth of a second.
- One 41 KB stylesheet and one 8 KB JavaScript file.
- An element page is about 14 KB before compression.
- Zero third-party requests: the fonts are served from this site.
The stack
- Generator: Python 3 with no external packages. Content lives in Python and JSON files; the templates are f-strings.
- Previews: every element is drawn in plain HTML and CSS, with no images or icon fonts, so they follow dark mode for free.
- Fonts: Readex Pro for Arabic — one variable file covering weights 400–700 in 22 KB — with IBM Plex Sans and IBM Plex Mono for Latin. Four woff2 files totalling 96 KB, each language loading only its own. All under the SIL Open Font License.
- Hosting: Hostinger, shared hosting with Apache. Deploys are a single rsync over SSH, followed by an automatic ping to Google and IndexNow.
Referral link: if you sign up through it we earn a commission at no extra cost to you.
Why static?
The content changes once a week, not once a second, so there is no reason to build a page on every visit. The result is pages that arrive instantly, a tiny hosting bill, and almost no attack surface: no admin panel, no plugins, no security updates.