Website: the machine estimator (/gepigeny, /en/sizing), live but unlisted; SIZING.md §5 in three verdicts; R-997 filed
gates / gates (push) Successful in 6m42s
gates / gates (push) Successful in 6m42s
A household ticks apps and sees, for an 8, 16 and 32 GB box: fits well / fits, but tight / does not fit, the totals, and the apps that burst on CPU. One rule in assets/sizing.js, every number from assets/sizing-data.json (built by scripts/build_sizing_web.py from the 2026-10-13 N100 measurement; test: 7 cases, red-proofed). Unlisted: noindex, robots Disallow, not in the sitemap, linked from nowhere — site_gates.py gate 25 enforces it (UNLISTED twin pairs keep every twin check). SIZING.md §5 corrected: the 8 GB line contradicted its own x1.5 rule; guest sizes 4.0/11.4/27.4 GB with the measured 612 MiB MemTotal shortfall. R-993 gains the fact that the installer accepts a host below any minimum.
This commit is contained in:
1 parent
fdca4971af
commit
d5ef93b13b
14 files changed
+1813
-15
No files matched your search
@@ -0,0 +1,941 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"measured": "2026-10-13",
|
||||
"measured_on": "Intel N100 mini PC, 16 GB (demo-felhom)",
|
||||
"source": {
|
||||
"path": "documentation/audits/sizing-2026-10-13/sizing.json",
|
||||
"commit": "c885b5ac",
|
||||
"sha256": "fa5e61dae02250e1abaab5506e66a5ad03c6bb87c17bc699bb4121d3fb2db401"
|
||||
},
|
||||
"platform_mb": 470,
|
||||
"headroom": 1.5,
|
||||
"guest_rule": {
|
||||
"reserve_mib": 4096,
|
||||
"max_gap_mib": 2048,
|
||||
"min_mib": 4096,
|
||||
"ceiling_gap_mib": 1024,
|
||||
"memtotal_shortfall_mib": 612
|
||||
},
|
||||
"boxes_gb": [
|
||||
8,
|
||||
16,
|
||||
32
|
||||
],
|
||||
"categories": [
|
||||
{
|
||||
"id": "fajlkezeles",
|
||||
"id_en": "files",
|
||||
"name_hu": "Fájlkezelés & Irodai",
|
||||
"name_en": "Files & Office"
|
||||
},
|
||||
{
|
||||
"id": "media",
|
||||
"id_en": "media",
|
||||
"name_hu": "Média & Szórakozás",
|
||||
"name_en": "Media & Entertainment"
|
||||
},
|
||||
{
|
||||
"id": "otthon",
|
||||
"id_en": "home",
|
||||
"name_hu": "Otthon & Életmód",
|
||||
"name_en": "Home & Lifestyle"
|
||||
},
|
||||
{
|
||||
"id": "produktivitas",
|
||||
"id_en": "productivity",
|
||||
"name_hu": "Produktivitás & Tudáskezelés",
|
||||
"name_en": "Productivity & Knowledge"
|
||||
},
|
||||
{
|
||||
"id": "rendszer",
|
||||
"id_en": "system",
|
||||
"name_hu": "Rendszer & Fejlesztés",
|
||||
"name_en": "System & Development"
|
||||
}
|
||||
],
|
||||
"apps": [
|
||||
{
|
||||
"slug": "nextcloud",
|
||||
"name_hu": "Nextcloud",
|
||||
"name_en": "Nextcloud",
|
||||
"tagline_hu": "A saját Google Drive-od",
|
||||
"tagline_en": "Your own Google Drive",
|
||||
"category": "fajlkezeles",
|
||||
"typical_mb": 314,
|
||||
"peak_mb": 525,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "filebrowser",
|
||||
"name_hu": "FileBrowser",
|
||||
"name_en": "FileBrowser",
|
||||
"tagline_hu": "Egyszerű webes fájlkezelő",
|
||||
"tagline_en": "Simple web file manager",
|
||||
"category": "fajlkezeles",
|
||||
"builtin": true,
|
||||
"typical_mb": 0,
|
||||
"peak_mb": 0,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "gokapi",
|
||||
"name_hu": "Gokapi",
|
||||
"name_en": "Gokapi",
|
||||
"tagline_hu": "Ideiglenes fájlmegosztás",
|
||||
"tagline_en": "Temporary file sharing",
|
||||
"category": "fajlkezeles",
|
||||
"typical_mb": 7,
|
||||
"peak_mb": 77,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "zipline",
|
||||
"name_hu": "Zipline",
|
||||
"name_en": "Zipline",
|
||||
"tagline_hu": "ShareX/Flameshot szerver",
|
||||
"tagline_en": "ShareX/Flameshot server",
|
||||
"category": "fajlkezeles",
|
||||
"typical_mb": 196,
|
||||
"peak_mb": 217,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "onlyoffice",
|
||||
"name_hu": "OnlyOffice",
|
||||
"name_en": "OnlyOffice",
|
||||
"tagline_hu": "Irodai csomag böngészőben",
|
||||
"tagline_en": "An office suite in the browser",
|
||||
"category": "fajlkezeles",
|
||||
"typical_mb": 364,
|
||||
"peak_mb": 488,
|
||||
"cpu_class": "medium",
|
||||
"cpu_note_hu": "csak az első indításkor",
|
||||
"cpu_note_en": "only at first start",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "bentopdf",
|
||||
"name_hu": "BentoPDF",
|
||||
"name_en": "BentoPDF",
|
||||
"tagline_hu": "PDF eszköztár (adatvédelem)",
|
||||
"tagline_en": "PDF toolkit (privacy first)",
|
||||
"category": "fajlkezeles",
|
||||
"typical_mb": 5,
|
||||
"peak_mb": 10,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "papra",
|
||||
"name_hu": "Papra",
|
||||
"name_en": "Papra",
|
||||
"tagline_hu": "Minimalista dokumentumtár",
|
||||
"tagline_en": "A minimal document archive",
|
||||
"category": "fajlkezeles",
|
||||
"typical_mb": 266,
|
||||
"peak_mb": 405,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "immich",
|
||||
"name_hu": "Immich",
|
||||
"name_en": "Immich",
|
||||
"tagline_hu": "Google Photos alternatíva",
|
||||
"tagline_en": "A Google Photos alternative",
|
||||
"category": "media",
|
||||
"typical_mb": 1356,
|
||||
"peak_mb": 3061,
|
||||
"cpu_class": "heavy-in-bursts",
|
||||
"cpu_note_hu": "csak amíg új fotókat dolgoz fel (bélyegképek, arcok, keresés): 200 fotó kb. 6 perc",
|
||||
"cpu_note_en": "only while it processes new photos (thumbnails, faces, search): 200 photos took about 6 minutes",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "jellyfin",
|
||||
"name_hu": "Jellyfin",
|
||||
"name_en": "Jellyfin",
|
||||
"tagline_hu": "Média szerver (Netflix)",
|
||||
"tagline_en": "Media server (Netflix)",
|
||||
"category": "media",
|
||||
"typical_mb": 191,
|
||||
"peak_mb": 373,
|
||||
"cpu_class": "heavy-in-bursts",
|
||||
"cpu_note_hu": "csak amíg egy filmet átalakít egy olyan eszköznek, amely azt nem tudja lejátszani",
|
||||
"cpu_note_en": "only while it converts a film for a device that cannot play it",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "plex",
|
||||
"name_hu": "Plex",
|
||||
"name_en": "Plex",
|
||||
"tagline_hu": "Média szerver (prémium)",
|
||||
"tagline_en": "Media server (premium)",
|
||||
"category": "media",
|
||||
"typical_mb": 232,
|
||||
"peak_mb": 234,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "emby",
|
||||
"name_hu": "Emby",
|
||||
"name_en": "Emby",
|
||||
"tagline_hu": "Média szerver",
|
||||
"tagline_en": "Media server",
|
||||
"category": "media",
|
||||
"typical_mb": 142,
|
||||
"peak_mb": 146,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "navidrome",
|
||||
"name_hu": "Navidrome",
|
||||
"name_en": "Navidrome",
|
||||
"tagline_hu": "Zene szerver (Spotify)",
|
||||
"tagline_en": "Music server (Spotify)",
|
||||
"category": "media",
|
||||
"typical_mb": 14,
|
||||
"peak_mb": 18,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "audiobookshelf",
|
||||
"name_hu": "Audiobookshelf",
|
||||
"name_en": "Audiobookshelf",
|
||||
"tagline_hu": "Hangoskönyv & podcast",
|
||||
"tagline_en": "Audiobooks & podcasts",
|
||||
"category": "media",
|
||||
"typical_mb": 48,
|
||||
"peak_mb": 54,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "metube",
|
||||
"name_hu": "MeTube",
|
||||
"name_en": "MeTube",
|
||||
"tagline_hu": "Videók letöltése linkből",
|
||||
"tagline_en": "Download videos from a link",
|
||||
"category": "media",
|
||||
"typical_mb": 62,
|
||||
"peak_mb": 329,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "qbittorrent",
|
||||
"name_hu": "qBittorrent",
|
||||
"name_en": "qBittorrent",
|
||||
"tagline_hu": "Torrent letöltő",
|
||||
"tagline_en": "Torrent downloader",
|
||||
"category": "media",
|
||||
"typical_mb": 163,
|
||||
"peak_mb": 318,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "transmission",
|
||||
"name_hu": "Transmission",
|
||||
"name_en": "Transmission",
|
||||
"tagline_hu": "Egyszerű torrent letöltő",
|
||||
"tagline_en": "A simple torrent downloader",
|
||||
"category": "media",
|
||||
"typical_mb": 6,
|
||||
"peak_mb": 22,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "sabnzbd",
|
||||
"name_hu": "SABnzbd",
|
||||
"name_en": "SABnzbd",
|
||||
"tagline_hu": "Usenet letöltő",
|
||||
"tagline_en": "Usenet downloader",
|
||||
"category": "media",
|
||||
"typical_mb": 68,
|
||||
"peak_mb": 68,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "nzbget",
|
||||
"name_hu": "NZBGet",
|
||||
"name_en": "NZBGet",
|
||||
"tagline_hu": "Egyszerű Usenet letöltő",
|
||||
"tagline_en": "A simple Usenet downloader",
|
||||
"category": "media",
|
||||
"typical_mb": 5,
|
||||
"peak_mb": 5,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "calibre-web",
|
||||
"name_hu": "Calibre-Web Automated",
|
||||
"name_en": "Calibre-Web Automated",
|
||||
"tagline_hu": "E-könyv könyvtár",
|
||||
"tagline_en": "E-book library",
|
||||
"category": "media",
|
||||
"typical_mb": 191,
|
||||
"peak_mb": 413,
|
||||
"cpu_class": "medium",
|
||||
"cpu_note_hu": "csak amíg új könyveket vesz fel",
|
||||
"cpu_note_en": "only while it imports new books",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "komga",
|
||||
"name_hu": "Komga",
|
||||
"name_en": "Komga",
|
||||
"tagline_hu": "Képregény & manga szerver",
|
||||
"tagline_en": "Comics & manga server",
|
||||
"category": "media",
|
||||
"typical_mb": 442,
|
||||
"peak_mb": 496,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "grimmory",
|
||||
"name_hu": "Grimmory",
|
||||
"name_en": "Grimmory",
|
||||
"tagline_hu": "E-könyvtár böngészőben",
|
||||
"tagline_en": "E-book library in the browser",
|
||||
"category": "media",
|
||||
"typical_mb": 346,
|
||||
"peak_mb": 1095,
|
||||
"cpu_class": "medium",
|
||||
"cpu_note_hu": "csak az első indításkor",
|
||||
"cpu_note_en": "only at first start",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "sonarr",
|
||||
"name_hu": "Sonarr",
|
||||
"name_en": "Sonarr",
|
||||
"tagline_hu": "Sorozat menedzser",
|
||||
"tagline_en": "Series manager",
|
||||
"category": "media",
|
||||
"typical_mb": 77,
|
||||
"peak_mb": 77,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "radarr",
|
||||
"name_hu": "Radarr",
|
||||
"name_en": "Radarr",
|
||||
"tagline_hu": "Film menedzser",
|
||||
"tagline_en": "Film manager",
|
||||
"category": "media",
|
||||
"typical_mb": 96,
|
||||
"peak_mb": 100,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "seerr",
|
||||
"name_hu": "Seerr",
|
||||
"name_en": "Seerr",
|
||||
"tagline_hu": "Média kérés kezelő",
|
||||
"tagline_en": "Media request manager",
|
||||
"category": "media",
|
||||
"typical_mb": 166,
|
||||
"peak_mb": 168,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "romm",
|
||||
"name_hu": "RoMM",
|
||||
"name_en": "RoMM",
|
||||
"tagline_hu": "ROM gyűjtemény kezelő",
|
||||
"tagline_en": "ROM collection manager",
|
||||
"category": "media",
|
||||
"typical_mb": 528,
|
||||
"peak_mb": 769,
|
||||
"cpu_class": "medium",
|
||||
"cpu_note_hu": "az első indításkor; a játékkönyvtár átnézését nem mértük",
|
||||
"cpu_note_en": "at first start; a library scan was not measured",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "crafty-controller",
|
||||
"name_hu": "Crafty Controller",
|
||||
"name_en": "Crafty Controller",
|
||||
"tagline_hu": "Minecraft szerver kezelő",
|
||||
"tagline_en": "Minecraft server manager",
|
||||
"category": "media",
|
||||
"typical_mb": 78,
|
||||
"peak_mb": 84,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "home-assistant",
|
||||
"name_hu": "Home Assistant",
|
||||
"name_en": "Home Assistant",
|
||||
"tagline_hu": "Okos otthon központ",
|
||||
"tagline_en": "Smart home hub",
|
||||
"category": "otthon",
|
||||
"typical_mb": 318,
|
||||
"peak_mb": 328,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "n8n",
|
||||
"name_hu": "n8n",
|
||||
"name_en": "n8n",
|
||||
"tagline_hu": "Workflow automatizálás",
|
||||
"tagline_en": "Workflow automation",
|
||||
"category": "otthon",
|
||||
"typical_mb": 321,
|
||||
"peak_mb": 550,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "tandoor",
|
||||
"name_hu": "Tandoor Recipes",
|
||||
"name_en": "Tandoor Recipes",
|
||||
"tagline_hu": "Receptkezelő",
|
||||
"tagline_en": "Recipe manager",
|
||||
"category": "otthon",
|
||||
"typical_mb": 868,
|
||||
"peak_mb": 868,
|
||||
"cpu_class": "medium",
|
||||
"cpu_note_hu": "csak az első indításkor",
|
||||
"cpu_note_en": "only at first start",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "mealie",
|
||||
"name_hu": "Mealie",
|
||||
"name_en": "Mealie",
|
||||
"tagline_hu": "Receptek és étkezésterv",
|
||||
"tagline_en": "Recipes and meal plans",
|
||||
"category": "otthon",
|
||||
"typical_mb": 273,
|
||||
"peak_mb": 431,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "recipe-importer",
|
||||
"name_hu": "Recipe Importer",
|
||||
"name_en": "Recipe Importer",
|
||||
"tagline_hu": "Magyar receptoldalakról",
|
||||
"tagline_en": "From Hungarian recipe sites",
|
||||
"category": "otthon",
|
||||
"typical_mb": 63,
|
||||
"peak_mb": 72,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "wishlist",
|
||||
"name_hu": "Wishlist",
|
||||
"name_en": "Wishlist",
|
||||
"tagline_hu": "Családi kívánságlista",
|
||||
"tagline_en": "Family wish list",
|
||||
"category": "otthon",
|
||||
"typical_mb": 115,
|
||||
"peak_mb": 184,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "homebox",
|
||||
"name_hu": "Homebox",
|
||||
"name_en": "Homebox",
|
||||
"tagline_hu": "Otthoni leltár",
|
||||
"tagline_en": "Home inventory",
|
||||
"category": "otthon",
|
||||
"typical_mb": 17,
|
||||
"peak_mb": 118,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "gramps-web",
|
||||
"name_hu": "Gramps Web",
|
||||
"name_en": "Gramps Web",
|
||||
"tagline_hu": "Családfa készítő",
|
||||
"tagline_en": "Family tree builder",
|
||||
"category": "otthon",
|
||||
"typical_mb": 326,
|
||||
"peak_mb": 342,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "sparkyfitness",
|
||||
"name_hu": "SparkyFitness",
|
||||
"name_en": "SparkyFitness",
|
||||
"tagline_hu": "Táplálkozási napló",
|
||||
"tagline_en": "Food diary",
|
||||
"category": "otthon",
|
||||
"typical_mb": 305,
|
||||
"peak_mb": 664,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "actualbudget",
|
||||
"name_hu": "Actual Budget",
|
||||
"name_en": "Actual Budget",
|
||||
"tagline_hu": "Költségvetés tervező",
|
||||
"tagline_en": "Budget planner",
|
||||
"category": "otthon",
|
||||
"typical_mb": 44,
|
||||
"peak_mb": 167,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "adventurelog",
|
||||
"name_hu": "AdventureLog",
|
||||
"name_en": "AdventureLog",
|
||||
"tagline_hu": "Utazási napló",
|
||||
"tagline_en": "Travel log",
|
||||
"category": "otthon",
|
||||
"typical_mb": 361,
|
||||
"peak_mb": 464,
|
||||
"cpu_class": "medium",
|
||||
"cpu_note_hu": "csak az első indításkor",
|
||||
"cpu_note_en": "only at first start",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "wanderer",
|
||||
"name_hu": "Wanderer",
|
||||
"name_en": "Wanderer",
|
||||
"tagline_hu": "Túra tervező",
|
||||
"tagline_en": "Hike planner",
|
||||
"category": "otthon",
|
||||
"typical_mb": 143,
|
||||
"peak_mb": 147,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "dawarich",
|
||||
"name_hu": "Dawarich",
|
||||
"name_en": "Dawarich",
|
||||
"tagline_hu": "A Google Idővonal helyett",
|
||||
"tagline_en": "Instead of Google Timeline",
|
||||
"category": "otthon",
|
||||
"typical_mb": 390,
|
||||
"peak_mb": 890,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "calcom",
|
||||
"name_hu": "Cal.com",
|
||||
"name_en": "Cal.com",
|
||||
"tagline_hu": "Időpontfoglaló",
|
||||
"tagline_en": "Appointment booking",
|
||||
"category": "otthon",
|
||||
"typical_mb": 800,
|
||||
"peak_mb": 950,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "lubelogger",
|
||||
"name_hu": "LubeLogger",
|
||||
"name_en": "LubeLogger",
|
||||
"tagline_hu": "Autónyilvántartás",
|
||||
"tagline_en": "Vehicle records",
|
||||
"category": "otthon",
|
||||
"typical_mb": 53,
|
||||
"peak_mb": 113,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "grocy",
|
||||
"name_hu": "Grocy",
|
||||
"name_en": "Grocy",
|
||||
"tagline_hu": "Háztartásvezetés",
|
||||
"tagline_en": "Household management",
|
||||
"category": "otthon",
|
||||
"typical_mb": 30,
|
||||
"peak_mb": 114,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "vikunja",
|
||||
"name_hu": "Vikunja",
|
||||
"name_en": "Vikunja",
|
||||
"tagline_hu": "Feladatkezelő (Todoist)",
|
||||
"tagline_en": "Task manager (Todoist)",
|
||||
"category": "produktivitas",
|
||||
"typical_mb": 20,
|
||||
"peak_mb": 104,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "radicale",
|
||||
"name_hu": "Radicale",
|
||||
"name_en": "Radicale",
|
||||
"tagline_hu": "Naptár és névjegyek",
|
||||
"tagline_en": "Calendar and contacts",
|
||||
"category": "produktivitas",
|
||||
"typical_mb": 27,
|
||||
"peak_mb": 27,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "kimai",
|
||||
"name_hu": "Kimai",
|
||||
"name_en": "Kimai",
|
||||
"tagline_hu": "Időkövetés",
|
||||
"tagline_en": "Time tracking",
|
||||
"category": "produktivitas",
|
||||
"typical_mb": 163,
|
||||
"peak_mb": 240,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "rallly",
|
||||
"name_hu": "Rallly",
|
||||
"name_en": "Rallly",
|
||||
"tagline_hu": "Időpont szavazás (Doodle)",
|
||||
"tagline_en": "Meeting poll (Doodle)",
|
||||
"category": "produktivitas",
|
||||
"typical_mb": 360,
|
||||
"peak_mb": 479,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "claper",
|
||||
"name_hu": "Claper",
|
||||
"name_en": "Claper",
|
||||
"tagline_hu": "Interaktív prezentációk",
|
||||
"tagline_en": "Interactive presentations",
|
||||
"category": "produktivitas",
|
||||
"typical_mb": 248,
|
||||
"peak_mb": 248,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "ghost",
|
||||
"name_hu": "Ghost",
|
||||
"name_en": "Ghost",
|
||||
"tagline_hu": "Blog & hírlevél platform",
|
||||
"tagline_en": "Blog & newsletter platform",
|
||||
"category": "produktivitas",
|
||||
"typical_mb": 149,
|
||||
"peak_mb": 149,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "paperless-ngx",
|
||||
"name_hu": "Paperless-ngx",
|
||||
"name_en": "Paperless-ngx",
|
||||
"tagline_hu": "Digitális irattár",
|
||||
"tagline_en": "A digital filing cabinet",
|
||||
"category": "produktivitas",
|
||||
"typical_mb": 568,
|
||||
"peak_mb": 659,
|
||||
"cpu_class": "medium",
|
||||
"cpu_note_hu": "csak amíg új beszkennelt dokumentumokat olvas be (szövegfelismerés, kb. 4 oldal percenként)",
|
||||
"cpu_note_en": "only while it reads new scanned documents (text recognition, about 4 pages a minute)",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "bookstack",
|
||||
"name_hu": "BookStack",
|
||||
"name_en": "BookStack",
|
||||
"tagline_hu": "Könyv-szerű dokumentáció",
|
||||
"tagline_en": "Book-style documentation",
|
||||
"category": "produktivitas",
|
||||
"typical_mb": 159,
|
||||
"peak_mb": 225,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "outline",
|
||||
"name_hu": "Outline",
|
||||
"name_en": "Outline",
|
||||
"tagline_hu": "Csapat tudásbázis",
|
||||
"tagline_en": "Team knowledge base",
|
||||
"category": "produktivitas",
|
||||
"typical_mb": 282,
|
||||
"peak_mb": 393,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "docmost",
|
||||
"name_hu": "Docmost",
|
||||
"name_en": "Docmost",
|
||||
"tagline_hu": "Notion-szerű wiki",
|
||||
"tagline_en": "A Notion-like wiki",
|
||||
"category": "produktivitas",
|
||||
"typical_mb": 415,
|
||||
"peak_mb": 495,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "karakeep",
|
||||
"name_hu": "Karakeep",
|
||||
"name_en": "Karakeep",
|
||||
"tagline_hu": "Kereshető saját archívum",
|
||||
"tagline_en": "Your own searchable archive",
|
||||
"category": "produktivitas",
|
||||
"typical_mb": 361,
|
||||
"peak_mb": 1050,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "privatebin",
|
||||
"name_hu": "PrivateBin",
|
||||
"name_en": "PrivateBin",
|
||||
"tagline_hu": "Titkosított jegyzet megosztás",
|
||||
"tagline_en": "Encrypted note sharing",
|
||||
"category": "produktivitas",
|
||||
"typical_mb": 40,
|
||||
"peak_mb": 59,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "vaultwarden",
|
||||
"name_hu": "Vaultwarden",
|
||||
"name_en": "Vaultwarden",
|
||||
"tagline_hu": "Jelszókezelő (Bitwarden)",
|
||||
"tagline_en": "Password manager (Bitwarden)",
|
||||
"category": "rendszer",
|
||||
"typical_mb": 44,
|
||||
"peak_mb": 99,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "homepage",
|
||||
"name_hu": "Homepage",
|
||||
"name_en": "Homepage",
|
||||
"tagline_hu": "Személyes kezdőlap",
|
||||
"tagline_en": "Personal start page",
|
||||
"category": "rendszer",
|
||||
"typical_mb": 82,
|
||||
"peak_mb": 83,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "glance",
|
||||
"name_hu": "Glance",
|
||||
"name_en": "Glance",
|
||||
"tagline_hu": "Információs dashboard",
|
||||
"tagline_en": "Information dashboard",
|
||||
"category": "rendszer",
|
||||
"typical_mb": 6,
|
||||
"peak_mb": 7,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "uptime-kuma",
|
||||
"name_hu": "Uptime Kuma",
|
||||
"name_en": "Uptime Kuma",
|
||||
"tagline_hu": "Szolgáltatás monitoring",
|
||||
"tagline_en": "Service monitoring",
|
||||
"category": "rendszer",
|
||||
"typical_mb": 103,
|
||||
"peak_mb": 227,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "grafana",
|
||||
"name_hu": "Grafana",
|
||||
"name_en": "Grafana",
|
||||
"tagline_hu": "Adatvizualizáció",
|
||||
"tagline_en": "Data visualisation",
|
||||
"category": "rendszer",
|
||||
"typical_mb": 220,
|
||||
"peak_mb": 435,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "termix",
|
||||
"name_hu": "Termix",
|
||||
"name_en": "Termix",
|
||||
"tagline_hu": "Szerver menedzser (SSH)",
|
||||
"tagline_en": "Server manager (SSH)",
|
||||
"category": "rendszer",
|
||||
"typical_mb": 102,
|
||||
"peak_mb": 117,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "gitea",
|
||||
"name_hu": "Gitea",
|
||||
"name_en": "Gitea",
|
||||
"tagline_hu": "Git szerver (GitHub)",
|
||||
"tagline_en": "Git server (GitHub)",
|
||||
"category": "rendszer",
|
||||
"typical_mb": 74,
|
||||
"peak_mb": 136,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "code-server",
|
||||
"name_hu": "Code-Server",
|
||||
"name_en": "Code-Server",
|
||||
"tagline_hu": "VS Code böngészőben",
|
||||
"tagline_en": "VS Code in the browser",
|
||||
"category": "rendszer",
|
||||
"typical_mb": 59,
|
||||
"peak_mb": 59,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
},
|
||||
{
|
||||
"slug": "opengist",
|
||||
"name_hu": "OpenGist",
|
||||
"name_en": "OpenGist",
|
||||
"tagline_hu": "Kód snippetek (Gist)",
|
||||
"tagline_en": "Code snippets (Gist)",
|
||||
"category": "rendszer",
|
||||
"typical_mb": 27,
|
||||
"peak_mb": 68,
|
||||
"cpu_class": "light",
|
||||
"cpu_note_hu": "",
|
||||
"cpu_note_en": "",
|
||||
"measured": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
/* sizing.css — the machine estimator only (/gepigeny, /en/sizing). Every selector starts with .sizer,
|
||||
so nothing here reaches the shell or another page. Tokens from site.css :root; no raw colours. */
|
||||
.sizer[hidden] { display: none; }
|
||||
.sizer-presets { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.5rem; }
|
||||
.sizer-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
|
||||
.sizer-group { border: 0; border-top: 1px solid var(--line); margin: 0 0 1.25rem; padding: 0.75rem 0 0; min-width: 0; }
|
||||
.sizer-group legend { color: var(--text-1); font-weight: 600; padding: 0 0.5rem 0 0; }
|
||||
.sizer-app { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.6rem; padding: 0.35rem 0; cursor: pointer; }
|
||||
.sizer-app input { accent-color: var(--blue); width: 1.05rem; height: 1.05rem; margin: 0; flex: 0 0 auto; align-self: center; }
|
||||
.sizer-app input:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; }
|
||||
.sizer-app input:disabled + .sizer-app-name { color: var(--text-2); }
|
||||
.sizer-app-name { color: var(--text-1); }
|
||||
.sizer-app-tag { color: var(--text-3); font-size: 0.85rem; }
|
||||
.sizer-result h2 { font-size: 1.15rem; margin: 0 0 0.75rem; }
|
||||
.sizer-totals { color: var(--text-2); margin: 0; line-height: 1.7; }
|
||||
.sizer-num { font-family: var(--font-data); color: var(--text-1); font-weight: 600; }
|
||||
.sizer-fine { color: var(--text-3); font-size: 0.85rem; margin: 0.25rem 0 0; }
|
||||
.sizer-boxes { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: 0.75rem; }
|
||||
.sizer-box { border: 1px solid var(--line); border-left-width: 3px; border-radius: var(--radius); padding: 0.75rem 1rem; background: var(--bg-1); }
|
||||
.sizer-box-head { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
|
||||
.sizer-box-size { font-family: var(--font-data); color: var(--text-1); }
|
||||
.sizer-verdict { color: var(--text-1); }
|
||||
.sizer-well { border-left-color: var(--blue); }
|
||||
.sizer-well .ico { color: var(--blue-bright); }
|
||||
.sizer-tight { border-left-color: var(--warn); background: var(--warn-dim); }
|
||||
.sizer-tight .ico, .sizer-tight .sizer-verdict { color: var(--warn); }
|
||||
.sizer-no { border-left-color: var(--crit); background: var(--crit-dim); }
|
||||
.sizer-no .ico, .sizer-no .sizer-verdict { color: var(--crit); }
|
||||
.sizer-why { color: var(--text-2); font-size: 0.9rem; margin: 0.4rem 0 0; }
|
||||
.sizer-sub { font-size: 1rem; margin: 1.25rem 0 0.5rem; }
|
||||
.sizer-cpu { margin: 0; padding-left: 1.1rem; color: var(--text-2); line-height: 1.6; }
|
||||
.sizer-cpu strong { color: var(--text-1); font-weight: 600; }
|
||||
.sizer-advice { margin: 0; padding-left: 1.1rem; color: var(--text-2); line-height: 1.7; }
|
||||
.sizer-how { margin-top: 1.5rem; color: var(--text-2); }
|
||||
.sizer-how summary { cursor: pointer; color: var(--text-1); }
|
||||
.sizer-how summary:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; }
|
||||
.sizer-how p { margin: 0.5rem 0 0; line-height: 1.65; }
|
||||
.sizer-noscript { color: var(--warn); }
|
||||
@media (max-width: 900px) {
|
||||
.sizer-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
|
||||
}
|
||||
@@ -0,0 +1,183 @@
|
||||
/* sizing.js — the machine estimator (/gepigeny, /en/sizing).
|
||||
*
|
||||
* THE RULE lives in estimate() and guestMib() below, and nowhere else on the site. Every number it uses
|
||||
* comes from /assets/sizing-data.json (built by scripts/build_sizing_web.py from the 2026-10-13 N100
|
||||
* measurement); this file holds none of its own — scripts/test_build_sizing_web.py checks that.
|
||||
*
|
||||
* typical = platform + sum of the selected apps' typical figures
|
||||
* peak = platform + sum of their peaks (all at peak at once: pessimistic on purpose)
|
||||
* per box: guest memory by the installer's rule, then
|
||||
* well peak * headroom <= guest
|
||||
* tight peak <= guest < peak * headroom
|
||||
* no guest < peak
|
||||
*
|
||||
* The page text is not here: each page carries its own strings (#sizer-strings), so this file is the
|
||||
* same for both languages.
|
||||
*/
|
||||
(function (root) {
|
||||
'use strict';
|
||||
|
||||
function guestMib(data, gb) {
|
||||
var r = data.guest_rule;
|
||||
var total = gb * 1024 - r.memtotal_shortfall_mib;
|
||||
var mem = total - r.reserve_mib;
|
||||
if (mem > total - r.max_gap_mib) { mem = total - r.max_gap_mib; }
|
||||
if (mem < r.min_mib) { mem = r.min_mib; }
|
||||
if (mem > total - r.ceiling_gap_mib) { mem = total - r.ceiling_gap_mib; }
|
||||
return mem;
|
||||
}
|
||||
|
||||
function estimate(data, slugs) {
|
||||
var bySlug = {};
|
||||
data.apps.forEach(function (a) { bySlug[a.slug] = a; });
|
||||
var typical = data.platform_mb, peak = data.platform_mb, busy = [], unmeasured = [];
|
||||
slugs.forEach(function (s) {
|
||||
var a = bySlug[s];
|
||||
if (!a || a.builtin) { return; }
|
||||
typical += a.typical_mb;
|
||||
peak += a.peak_mb;
|
||||
if (a.cpu_class === 'medium' || a.cpu_class === 'heavy-in-bursts') { busy.push(a); }
|
||||
if (!a.measured) { unmeasured.push(a); }
|
||||
});
|
||||
var boxes = data.boxes_gb.map(function (gb) {
|
||||
var guest = guestMib(data, gb);
|
||||
var verdict = peak * data.headroom <= guest ? 'well' : (peak <= guest ? 'tight' : 'no');
|
||||
return { gb: gb, guest_mb: guest, verdict: verdict };
|
||||
});
|
||||
var heavy = busy.filter(function (a) { return a.cpu_class === 'heavy-in-bursts'; });
|
||||
return { typical_mb: typical, peak_mb: peak, boxes: boxes, busy: busy, heavy: heavy, unmeasured: unmeasured };
|
||||
}
|
||||
|
||||
root.FelhomSizing = { estimate: estimate, guestMib: guestMib };
|
||||
|
||||
/* ---------------------------------------------------------------- the page (drawing only) */
|
||||
if (typeof document === 'undefined') { return; }
|
||||
|
||||
function el(tag, cls, txt) {
|
||||
var e = document.createElement(tag);
|
||||
if (cls) { e.className = cls; }
|
||||
if (txt !== undefined) { e.textContent = txt; }
|
||||
return e;
|
||||
}
|
||||
|
||||
function icon(name) {
|
||||
var ns = 'http://www.w3.org/2000/svg';
|
||||
var s = document.createElementNS(ns, 'svg');
|
||||
s.setAttribute('class', 'ico');
|
||||
s.setAttribute('aria-hidden', 'true');
|
||||
var u = document.createElementNS(ns, 'use');
|
||||
u.setAttribute('href', '/assets/icons.svg?v=1#' + name);
|
||||
s.appendChild(u);
|
||||
return s;
|
||||
}
|
||||
|
||||
function start() {
|
||||
var host = document.getElementById('sizer');
|
||||
var strEl = document.getElementById('sizer-strings');
|
||||
if (!host || !strEl) { return; }
|
||||
var T = JSON.parse(strEl.textContent);
|
||||
var lang = document.documentElement.lang === 'en' ? 'en' : 'hu';
|
||||
var gbText = function (mb) {
|
||||
var v = (mb / 1024).toFixed(1);
|
||||
return (lang === 'hu' ? v.replace('.', ',') : v) + ' GB';
|
||||
};
|
||||
var appsBox = document.getElementById('sizer-apps');
|
||||
var result = document.getElementById('sizer-result');
|
||||
|
||||
fetch(host.getAttribute('data-src')).then(function (r) { return r.json(); }).then(function (data) {
|
||||
data.categories.forEach(function (c) {
|
||||
var fs = el('fieldset', 'sizer-group');
|
||||
fs.appendChild(el('legend', '', lang === 'en' ? c.name_en : c.name_hu));
|
||||
data.apps.filter(function (a) { return a.category === c.id; }).forEach(function (a) {
|
||||
var lab = el('label', 'sizer-app');
|
||||
var cb = el('input');
|
||||
cb.type = 'checkbox';
|
||||
cb.value = a.slug;
|
||||
if (a.builtin) { cb.checked = true; cb.disabled = true; }
|
||||
lab.appendChild(cb);
|
||||
var name = el('span', 'sizer-app-name', lang === 'en' ? a.name_en : a.name_hu);
|
||||
lab.appendChild(name);
|
||||
var tag = a.builtin ? T.builtin : (lang === 'en' ? a.tagline_en : a.tagline_hu);
|
||||
if (tag) { lab.appendChild(el('span', 'sizer-app-tag', tag)); }
|
||||
fs.appendChild(lab);
|
||||
});
|
||||
appsBox.appendChild(fs);
|
||||
});
|
||||
|
||||
function selected() {
|
||||
return Array.prototype.map.call(appsBox.querySelectorAll('input[type=checkbox]:checked:not(:disabled)'),
|
||||
function (c) { return c.value; });
|
||||
}
|
||||
|
||||
function draw() {
|
||||
var r = estimate(data, selected());
|
||||
result.textContent = '';
|
||||
var totals = el('p', 'sizer-totals');
|
||||
totals.appendChild(el('span', '', T.typical + ': '));
|
||||
totals.appendChild(el('strong', 'sizer-num', gbText(r.typical_mb)));
|
||||
totals.appendChild(el('span', '', ' · ' + T.peak + ': '));
|
||||
totals.appendChild(el('strong', 'sizer-num', gbText(r.peak_mb)));
|
||||
result.appendChild(totals);
|
||||
result.appendChild(el('p', 'sizer-fine', T.platform_note));
|
||||
|
||||
var ul = el('ul', 'sizer-boxes');
|
||||
r.boxes.forEach(function (b) {
|
||||
var li = el('li', 'sizer-box sizer-' + b.verdict);
|
||||
var head = el('div', 'sizer-box-head');
|
||||
head.appendChild(icon(b.verdict === 'well' ? 'i-check' : (b.verdict === 'tight' ? 'i-triangle-alert' : 'i-x')));
|
||||
head.appendChild(el('strong', 'sizer-box-size', b.gb + ' GB'));
|
||||
head.appendChild(el('span', 'sizer-verdict', T.verdict[b.verdict]));
|
||||
li.appendChild(head);
|
||||
li.appendChild(el('p', 'sizer-fine', T.guest.replace('{x}', gbText(b.guest_mb))));
|
||||
if (b.verdict === 'tight') { li.appendChild(el('p', 'sizer-why', T.tight_why)); }
|
||||
ul.appendChild(li);
|
||||
});
|
||||
result.appendChild(ul);
|
||||
|
||||
if (r.busy.length) {
|
||||
result.appendChild(el('h3', 'sizer-sub', T.cpu_head));
|
||||
var cl = el('ul', 'sizer-cpu');
|
||||
r.busy.forEach(function (a) {
|
||||
var li = el('li');
|
||||
li.appendChild(el('strong', '', (lang === 'en' ? a.name_en : a.name_hu) + ': '));
|
||||
li.appendChild(el('span', '', lang === 'en' ? a.cpu_note_en : a.cpu_note_hu));
|
||||
cl.appendChild(li);
|
||||
});
|
||||
if (r.heavy.length >= 2) {
|
||||
cl.appendChild(el('li', 'sizer-pair', T.heavy_pair.replace('{names}', r.heavy.map(function (a) {
|
||||
return lang === 'en' ? a.name_en : a.name_hu;
|
||||
}).join(T.and))));
|
||||
}
|
||||
result.appendChild(cl);
|
||||
}
|
||||
if (r.unmeasured.length) {
|
||||
result.appendChild(el('p', 'sizer-why', T.unmeasured + ': ' + r.unmeasured.map(function (a) {
|
||||
return lang === 'en' ? a.name_en : a.name_hu;
|
||||
}).join(', ')));
|
||||
}
|
||||
}
|
||||
|
||||
appsBox.addEventListener('change', draw);
|
||||
Array.prototype.forEach.call(document.querySelectorAll('[data-preset]'), function (btn) {
|
||||
btn.addEventListener('click', function () {
|
||||
var want = (btn.getAttribute('data-preset') || '').split(',').filter(Boolean);
|
||||
Array.prototype.forEach.call(appsBox.querySelectorAll('input[type=checkbox]:not(:disabled)'), function (c) {
|
||||
c.checked = want.indexOf(c.value) !== -1;
|
||||
});
|
||||
draw();
|
||||
});
|
||||
});
|
||||
host.hidden = false;
|
||||
draw();
|
||||
}).catch(function () {
|
||||
result.textContent = T.load_error;
|
||||
host.hidden = false;
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', start);
|
||||
} else {
|
||||
start();
|
||||
}
|
||||
})(this);
|
||||
Reference in new issue
Block a user