Repository navigation
Fix retired ZIM names, add Turkish content, catalog-based versions + SHA-256 / Ölü ZIM adları, Türkçe içerik, katalog tabanlı sürüm + SHA-256 - #3
Conversation
… Kiwix catalog and verify SHA-256 Kiwix kataloğu (2026-10-31, 3656 kayıt) tarandı: content.conf'taki wikem_en_all_maxi ve fas-military-medicine_en katalogda yok. Askeri tıp irp.fas.org_en_military-medicine adıyla devam ediyor; WikEM çekilmiş, yerine MedlinePlus eklendi. Catalog scan (2026-10-31, 3656 entries): wikem_en_all_maxi and fas-military-medicine_en no longer exist. Military medicine lives on as irp.fas.org_en_military-medicine; WikEM was retired, MedlinePlus added. content.conf / index.html: - Türkçe kitaplık: Vikisözlük, Vikikitap, Vikikaynak, Vikisöz, iFixit TR, PhET TR - Hayatta kalma: Appropedia; Sağlık: MedlinePlus - Haritalar ve Kolibri satırları korundu / maps and Kolibri rows kept download-content.sh: - Sürüm çözme OPDS kataloğundan (tek istek), klasör listesi yalnız yedek / version lookup from the OPDS catalog, directory listing only as fallback - İndirmeden önce yer kontrolü: kalan boyut + RESERVE_GB pay / free-space check before each download: remaining bytes + headroom - .sha256 ile doğrulama; uyuşmazsa dosya silinir, .sha256 yoksa uyarı / SHA-256 verification; mismatch deletes the file, missing .sha256 warns - İki sütunlu conf biçimi ve TR/EN mesajlar korundu / conf format and bilingual messages unchanged Gerçek koşu (klipper, Debian): zimgit-knots_en_2024-08.zim indirildi, sha256 7c3120b1… doğrulandı; bozuk .part ile mismatch yolu, tekrar koşuda "zaten var" ve yer-yok yolu sınandı.
|
@schematrix merhaba, kısa özet / quick summary: TR: Kataloğu 2026-10-31'de taradım; EN: Catalog scanned 2026-10-31: |
|
Update / Güncelleme EN: Small follow-up on the Turkish content in this PR. I have been running the same catalog-based download on my own box and added four more Turkish Wikipedia topic ZIMs that are in the Kiwix catalog: I also opened #5, a separate and optional offline vector map (works where the IIAB map download is blocked). It does not touch the files this PR changes, and TR: Bu PR'daki Türkçe içeriğe küçük bir ek. Aynı katalog tabanlı indirmeyi kendi cihazımda çalıştırıyorum ve Kiwix kataloğunda olan dört Türkçe Vikipedi konu ZIM'i daha ekledim: Ayrıca ayrı ve isteğe bağlı bir çevrimdışı vektör harita için #5'i açtım (IIAB harita indirmesinin engelli olduğu yerlerde çalışır). Bu PR'ın değiştirdiği dosyalara dokunmuyor; |
|
Bağımsız olarak doğruladım (2026-11-01):
Yorumdaki dört konu ZIM'i (kimya, fizik, coğrafya, moleküler biyoloji) katalogda var, ama wikipedia_tr_all_maxi'nin alt kümesi. Tam Türkçe Vikipedi indirilirken aynı içerik iki kez inmesin diye, takip PR'ında "küçük diskler için" notuyla # ile kapalı satırlar olarak eklenmesini öneririm. Katalogda tarih, matematik, bilgisayar ve top paketleri de var. EN: Independently verified: 29/29 entries resolve in the current catalog, the two retired names are gone, real downloads with SHA-256 and a corrupted-file case work, and #4 → #3 → #5 → #1 merge cleanly. The topic ZIMs are subsets of wikipedia_tr_all_maxi, so I'd add them as commented-out small-disk alternatives. |
|
Kataloğu tek tek tarayıp ölü linkleri bulman süper olmuş, Türkçe içerikler de çok iyi. Pi'de tam bir indirme yapıp SHA-256 kontrolüyle deneyeceğim, sorun çıkmazsa merge ederim. Going through the whole catalog to find the dead names is awesome, and the Turkish content is great too. I'll run a full download with the SHA-256 check on the Pi and merge if there are no issues. |
|
Merhaba turer73, bugün #3'ü gerçek kutuda, Pi 5 üzerinde denedim. Betiğin içerik listesini argüman olarak alabilmesi sayesinde büyük Vikipedi dosyalarına dokunmadan yeni listeden beş içerik seçip indirdim. Vikikitap, Vikisöz, Vikikaynak, PhET ve askeri sahra tıbbının yeni adı sorunsuz indi, hepsinde SHA-256 tuttu, Kiwix kütüphanesi yenilendi ve ana sayfada hazır olarak göründü. volthdl'ın bağımsız doğrulaması da çok değerliydi, ikinize de teşekkürler. Küçük bir gözlem. Kutuda eski adlı fas-military-medicine_en_2025-06.zim kaldı, çünkü betik eski sürümleri aynı ön ekle siliyor ve bu dosyanın adı değişmiş. Elle sildim. İleride README'ye mevcut kutular için kısa bir not eklenebilir. Hi turer73, today I tested #3 on the real box, a Pi 5. Since the script takes the content list as an argument, I picked five items from the new list without touching the big Wikipedia files. Wikibooks, Wikiquote, Wikisource, PhET and the new name of the military medicine ZIM all downloaded fine, SHA-256 matched for every file, the Kiwix library was rebuilt and they showed up as ready on the homepage. volthdl's independent verification was really valuable too, thanks to you both. One small observation. The old fas-military-medicine_en_2025-06.zim stayed on the box, because the script removes old versions by prefix and this file was renamed. I removed it by hand. A short note in the README for existing boxes could help later. I'm merging this PR. I'd also love to see the follow-up PR you mentioned for the Turkish Wikipedia topic packs, as commented-out lines for small disks as volthdl suggested. |
English · Türkçe
English
Small, focused fix after scanning the Kiwix OPDS catalog on 2026-10-31 (
library.kiwix.org/catalog/v2/entries?count=-1, 3656 entries):Dead names in
content.confwikem_en_all_maxi— no longer in the catalog (WikEM was retired). Removed with an explanatory comment;mdwiki_en_all_maxi+ newmedlineplus.gov_en_allcover the same ground.fas-military-medicine_en— renamed upstream toirp.fas.org_en_military-medicine(zimit, 2026-10, ~65 MB). Fixed.not foundfor both and exits withfailed=1; the homepage shows them grey forever.Turkish content (the catalog has these but the list only had Vikipedi):
wiktionary_tr_all_nopic~810 MB (nomaxibuild exists),wikibooks_tr_all_maxi~27 MB,wikisource_tr_all_maxi~68 MB,wikiquote_tr_all_maxi~59 MB,ifixit_tr_all~3.6 GB,phet_tr_all~107 MB. Plusappropedia_en_all_maxi~580 MB (survival) andmedlineplus.gov_en_all~1.9 GB (health). Same rows added to the homepageCATSlist; maps and Kolibri rows untouched.scripts/download-content.shdownload.kiwix.org/zim/<folder>/directory listings (the wikipedia listing is thousands of lines). The directory listing is kept only as a fallback when the catalog is unreachable. Two-column conf format and TR/EN messages unchanged.RESERVE_GBheadroom (default 5 GB)..sha256Kiwix publishes next to every ZIM. Mismatch deletes the file and setsfailed=1; a missing.sha256is accepted with a warning.DESToverridable via environment (used for testing; default unchanged).Evidence
content.confresolve in the catalog, each in the folder the conf names.zimgit-knots_en_2024-08.zimdownloaded,sha256 7c3120b1…a57bmatched. Negative paths exercised: a planted corrupt.part→checksum mismatch, corrupt file deleted; re-run →already present;RESERVE_GB=100000→not enough space;wikem_en_all_maxi→not found in the Kiwix catalog.bash -nclean.git merge-treeagainst PR Add optional semantic search with Embedding Model #1 (feat/cevher-semantic-search): no conflicts.Türkçe
Kiwix OPDS kataloğu 2026-10-31'de tarandı (3656 kayıt); küçük ve odaklı düzeltme:
content.conf'taki ölü adlarwikem_en_all_maxikatalogdan kaldırılmış (WikEM çekilmiş). Açıklayıcı yorumla çıkarıldı;mdwiki_en_all_maxi+ yenimedlineplus.gov_en_allaynı alanı kapsıyor.fas-military-medicine_en→ yeni adıirp.fas.org_en_military-medicine(zimit, 2026-10, ~65 MB). Düzeltildi.bulunamadıbasıpfailed=1ile bitiyor; ana sayfada iki satır hep gri kalıyor.Türkçe içerik (katalogda var, listede yalnız Vikipedi vardı): Vikisözlük
wiktionary_tr_all_nopic~810 MB (maxisürümü yok), Vikikitap ~27 MB, Vikikaynak ~68 MB, Vikisöz ~59 MB, iFixit TR ~3,6 GB, PhET TR ~107 MB. Ayrıca hayatta kalmaya Appropedia ~580 MB, sağlığa MedlinePlus ~1,9 GB. Aynı satırlar ana sayfadakiCATSlistesine eklendi; Haritalar ve Kolibri satırlarına dokunulmadı.scripts/download-content.shdownload.kiwix.org/zim/<klasör>/dizin listesini grep'lemek yerine OPDS kataloğundan tek istekle çözülüyor (wikipedia listesi binlerce satır). Dizin listesi yalnız katalog erişilemezse yedek olarak duruyor. İki sütunlu conf biçimi ve TR/EN mesajlar aynı.RESERVE_GBpay (varsayılan 5 GB)..sha256ile doğrulama. Uyuşmazsa dosya silinir vefailed=1;.sha256yoksa uyarıyla kabul edilir.DESTortam değişkeniyle değiştirilebilir (test için; varsayılan aynı).Kanıt
content.conf'taki 29 etkin satırın hepsi katalogda, conf'ta yazan klasörde çözülüyor.zimgit-knots_en_2024-08.zimindi,sha256 7c3120b1…a57btuttu. Olumsuz yollar: bozuk.part→sha256 uyuşmuyor, bozuk dosya silindi; tekrar koşu →zaten var;RESERVE_GB=100000→yer yok;wikem_en_all_maxi→bulunamadı.bash -ntemiz. PR Add optional semantic search with Embedding Model #1 (feat/cevher-semantic-search) ilegit merge-tree: çakışma yok.