From a6f15adf0d6fff490600822253835079019e9e0a Mon Sep 17 00:00:00 2001 From: isihussain <35667459+isihussain@users.noreply.github.com> Date: Wed, 25 Nov 2026 13:41:44 +0300 Subject: [PATCH 1/4] Add English Wiktionary offline content --- README.md | 4 ++-- config/content.conf | 5 ++++- www/home/index.html | 3 +++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a2f6fba..0f048f4 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ sudo ./install.sh ``` During the install Internet-in-a-Box asks three things of its own: a new password for the `iiab-admin` user (used for `http:///admin`, write it down), a key press to confirm you will re-run the command if something goes wrong, and at the end Enter to reboot. After the reboot run `sudo ./install.sh` once more; it skips the finished part and installs the homepage. -**5. Download content.** Edit `config/content.conf` to choose what to download, then run the script below. The defaults need about 160 GB, and downloads can take many hours. If a download is interrupted, re-run the script and it resumes. The script looks up the newest version of each ZIM in the Kiwix catalog, checks free disk space before each download and verifies every file against its SHA-256 checksum. +**5. Download content.** Edit `config/content.conf` to choose what to download, then run the script below. The defaults need about 175 GB, including the English Wiktionary, and downloads can take many hours. If a download is interrupted, re-run the script and it resumes. The script looks up the newest version of each ZIM in the Kiwix catalog, checks free disk space before each download and verifies every file against its SHA-256 checksum. ```bash sudo ./scripts/download-content.sh ``` @@ -212,7 +212,7 @@ sudo ./install.sh ``` Kurulum sırasında Internet-in-a-Box kendisi üç şey sorar: `iiab-admin` kullanıcısı için yeni bir şifre (`http:///admin` girişinde kullanılır, bir yere not et), bir sorun olursa komutu tekrar çalıştıracağını onaylaman için bir tuşa basman ve en sonda yeniden başlatmak için Enter. Pi açıldıktan sonra `sudo ./install.sh` komutunu bir kez daha çalıştır; biten kısmı atlar ve ana sayfayı kurar. -**5. İçerikleri indir.** Ne indirileceğini `config/content.conf` dosyasından seç, sonra aşağıdaki betiği çalıştır. Varsayılan liste yaklaşık 160 GB tutar ve indirme saatler sürebilir. İndirme yarıda kalırsa betiği tekrar çalıştırman yeterli, kaldığı yerden devam eder. Betik her ZIM'in en yeni sürümünü Kiwix kataloğundan bulur, her indirmeden önce boş alanı kontrol eder ve inen dosyayı SHA-256 özetiyle doğrular. +**5. İçerikleri indir.** Ne indirileceğini `config/content.conf` dosyasından seç, sonra aşağıdaki betiği çalıştır. İngilizce Wiktionary dahil varsayılan liste yaklaşık 175 GB tutar ve indirme saatler sürebilir. İndirme yarıda kalırsa betiği tekrar çalıştırman yeterli, kaldığı yerden devam eder. Betik her ZIM'in en yeni sürümünü Kiwix kataloğundan bulur, her indirmeden önce boş alanı kontrol eder ve inen dosyayı SHA-256 özetiyle doğrular. ```bash sudo ./scripts/download-content.sh ``` diff --git a/config/content.conf b/config/content.conf index 55c8b14..f0739f5 100644 --- a/config/content.conf +++ b/config/content.conf @@ -4,7 +4,7 @@ # The script downloads the newest version for each line. # Klasörler / folders: https://download.kiwix.org/zim/ # Başına # koyduğun satırlar atlanır / lines starting with # are skipped. -# Boyutlar yaklaşıktır / sizes are approximate (2026-10). +# Boyutlar katalogla değişir / sizes vary with the catalog. # --- Ansiklopedi / Encyclopedia --- wikipedia wikipedia_tr_all_maxi # ~9 GB @@ -19,6 +19,9 @@ wikiquote wikiquote_tr_all_maxi # ~59 MB Vikisöz / quo ifixit ifixit_tr_all # ~3.6 GB iFixit Türkçe tamir rehberleri / repair guides in Turkish phet phet_tr_all # ~107 MB PhET fizik-kimya simülasyonları / science simulations (TR) +# --- İngilizce sözlük / English dictionary --- +wiktionary wiktionary_en_all_nopic # ~14 GB (2026-11 catalog) + # --- Hayatta kalma kitapları / Survival books --- other appropedia_en_all_maxi # ~580 MB uygun teknoloji wiki: su, enerji, tarım / appropriate technology wiki other zimgit-post-disaster_en # ~615 MB afet sonrası kitaplığı / post-disaster library diff --git a/www/home/index.html b/www/home/index.html index da3e44c..d8e25ce 100644 --- a/www/home/index.html +++ b/www/home/index.html @@ -160,6 +160,9 @@ { name:"iFixit (Türkçe)", desc:"Cihaz ve araç tamiri için Türkçe adım adım rehberler.", lang:"TR", size:"~3,6 GB", zim:"ifixit_tr_all", search:true }, { name:"PhET Simülasyonları", desc:"Fizik, kimya ve matematik etkileşimli deneyleri.", lang:"TR", size:"~107 MB", zim:"phet_tr_all" }, ]}, + { title:"English Library", items:[ + { name:"Wiktionary (English)", desc:"English word definitions, origins and translations.", lang:"EN", size:"~14 GB", zim:"wiktionary_en_all_nopic", search:true }, + ]}, { title:"Haritalar ve Navigasyon", items:[ { name:"Dünya Haritası", desc:"Avrupa ve Orta Doğu sokak seviyesinde, dünyanın geri kalanı şehir seviyesinde.", lang:"—", size:"~40 GB", url:"/maps" }, ]}, From f898163b77d6aa4bbf37b6ccbbb1bb52ede03b69 Mon Sep 17 00:00:00 2001 From: isihussain <35667459+isihussain@users.noreply.github.com> Date: Mon, 30 Nov 2026 12:28:11 +0300 Subject: [PATCH 2/4] docs: make English Wiktionary optional --- config/content.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/content.conf b/config/content.conf index f0739f5..061b460 100644 --- a/config/content.conf +++ b/config/content.conf @@ -20,7 +20,7 @@ ifixit ifixit_tr_all # ~3.6 GB iFixit Türkç phet phet_tr_all # ~107 MB PhET fizik-kimya simülasyonları / science simulations (TR) # --- İngilizce sözlük / English dictionary --- -wiktionary wiktionary_en_all_nopic # ~14 GB (2026-11 catalog) +# wiktionary wiktionary_en_all_nopic # ~14 GB (2026-11 catalog) # --- Hayatta kalma kitapları / Survival books --- other appropedia_en_all_maxi # ~580 MB uygun teknoloji wiki: su, enerji, tarım / appropriate technology wiki From 58815875d9f6a140c40845d71c508de285532531 Mon Sep 17 00:00:00 2001 From: isihussain <35667459+isihussain@users.noreply.github.com> Date: Mon, 30 Nov 2026 12:28:16 +0300 Subject: [PATCH 3/4] docs: label optional English library --- www/home/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/home/index.html b/www/home/index.html index d8e25ce..92a6ee3 100644 --- a/www/home/index.html +++ b/www/home/index.html @@ -160,7 +160,7 @@ { name:"iFixit (Türkçe)", desc:"Cihaz ve araç tamiri için Türkçe adım adım rehberler.", lang:"TR", size:"~3,6 GB", zim:"ifixit_tr_all", search:true }, { name:"PhET Simülasyonları", desc:"Fizik, kimya ve matematik etkileşimli deneyleri.", lang:"TR", size:"~107 MB", zim:"phet_tr_all" }, ]}, - { title:"English Library", items:[ + { title:"Optional English Library", items:[ { name:"Wiktionary (English)", desc:"English word definitions, origins and translations.", lang:"EN", size:"~14 GB", zim:"wiktionary_en_all_nopic", search:true }, ]}, { title:"Haritalar ve Navigasyon", items:[ From ad9ebfdf71d4197382746636d99fc95fcac23060 Mon Sep 17 00:00:00 2001 From: isihussain <35667459+isihussain@users.noreply.github.com> Date: Mon, 30 Nov 2026 12:28:19 +0300 Subject: [PATCH 4/4] docs: keep default estimate at 160 GB --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0f048f4..a2f6fba 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ sudo ./install.sh ``` During the install Internet-in-a-Box asks three things of its own: a new password for the `iiab-admin` user (used for `http:///admin`, write it down), a key press to confirm you will re-run the command if something goes wrong, and at the end Enter to reboot. After the reboot run `sudo ./install.sh` once more; it skips the finished part and installs the homepage. -**5. Download content.** Edit `config/content.conf` to choose what to download, then run the script below. The defaults need about 175 GB, including the English Wiktionary, and downloads can take many hours. If a download is interrupted, re-run the script and it resumes. The script looks up the newest version of each ZIM in the Kiwix catalog, checks free disk space before each download and verifies every file against its SHA-256 checksum. +**5. Download content.** Edit `config/content.conf` to choose what to download, then run the script below. The defaults need about 160 GB, and downloads can take many hours. If a download is interrupted, re-run the script and it resumes. The script looks up the newest version of each ZIM in the Kiwix catalog, checks free disk space before each download and verifies every file against its SHA-256 checksum. ```bash sudo ./scripts/download-content.sh ``` @@ -212,7 +212,7 @@ sudo ./install.sh ``` Kurulum sırasında Internet-in-a-Box kendisi üç şey sorar: `iiab-admin` kullanıcısı için yeni bir şifre (`http:///admin` girişinde kullanılır, bir yere not et), bir sorun olursa komutu tekrar çalıştıracağını onaylaman için bir tuşa basman ve en sonda yeniden başlatmak için Enter. Pi açıldıktan sonra `sudo ./install.sh` komutunu bir kez daha çalıştır; biten kısmı atlar ve ana sayfayı kurar. -**5. İçerikleri indir.** Ne indirileceğini `config/content.conf` dosyasından seç, sonra aşağıdaki betiği çalıştır. İngilizce Wiktionary dahil varsayılan liste yaklaşık 175 GB tutar ve indirme saatler sürebilir. İndirme yarıda kalırsa betiği tekrar çalıştırman yeterli, kaldığı yerden devam eder. Betik her ZIM'in en yeni sürümünü Kiwix kataloğundan bulur, her indirmeden önce boş alanı kontrol eder ve inen dosyayı SHA-256 özetiyle doğrular. +**5. İçerikleri indir.** Ne indirileceğini `config/content.conf` dosyasından seç, sonra aşağıdaki betiği çalıştır. Varsayılan liste yaklaşık 160 GB tutar ve indirme saatler sürebilir. İndirme yarıda kalırsa betiği tekrar çalıştırman yeterli, kaldığı yerden devam eder. Betik her ZIM'in en yeni sürümünü Kiwix kataloğundan bulur, her indirmeden önce boş alanı kontrol eder ve inen dosyayı SHA-256 özetiyle doğrular. ```bash sudo ./scripts/download-content.sh ```