Lexiverse
Lexiverse - AI contextual reading engine for English learners. Your next article is your next review.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Dhamma.Gift - Liberations Search, Reader, Voice, Mutli-Tool for Pali Sutta Vinaya Studies.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Dhamma.Gift is available as:
Grep-based search in all Texts of Pali Suttanta and Vinaya in 4 languages: Pali, English, Russian, Thai and Sinhala. Little script that will or at least might change Buddhism to better. Search all matches for the word in Suttas and Vinaya. Web implementation of bash script that generates comfortables datatables.
Perfect for those who are looking for Awakening and study Pali. You can get all occurrences of the definition, metaphor, practice etc. By default search is made in DN, MN, SN, AN. But user has option to add other books of KN.
Offline version of dg
This instruction is only for Android devices. Check possible options for IOS in the end of this instruction. if you'll find out how to run it on IOS please let me know.
Copy+paste into terminal
sudo bash
wget https://raw.githubusercontent.com/dhammagift/dg/refs/heads/main/scripts/install-linux.sh
bash install-linux.sh
sudo bash
wget https://raw.githubusercontent.com/dhammagift/dg/refs/heads/main/scripts/install-linux.sh
bash install-linux.sh
Install Termux from F-Droid or GitHub. The Play store version doesn't work properly.
Run Termux
Copy-paste following commands:
pkg install wget
wget https://raw.githubusercontent.com/dhammagift/dg/refs/heads/main/scripts/install-android.sh
bash install-android.sh
or older variant
pkg update
pkg upgrade
pkg install -y git
mkdir -p $PREFIX/share/apache2/default-site/htdocs
cd $PREFIX/share/apache2/default-site/htdocs
git clone https://github.com/dhammagift/dg.git ./
bash ./scripts/install-android.sh -s
If you want to add offline audio files, clone this repo to ./assets/audio:
mkdir -p $PREFIX/share/apache2/default-site/htdocs/assets/audio
cd $PREFIX/share/apache2/default-site/htdocs/assets/audio
git clone https://github.com/dhammagift/audio ./
Open Termux and run:
pkg install -y php-apache apache2 pv wget git iconv python w3m
Fix PHP configuration based on this article
nano /data/data/com.termux/files/usr/etc/apache2/httpd.conf
Comment out and add the following lines:
#LoadModule mpm_worker_module libexec/apache2/mod_mpm_worker.so
LoadModule mpm_prefork_module libexec/apache2/mod_mpm_prefork.so
LoadModule php_module /data/data/com.termux/files/usr/libexec/apache2/libphp.so
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
<IfModule dir_module>
DirectoryIndex index.php index.html index.htm
</IfModule>
LoadModule rewrite_module libexec/apache2/mod_rewrite.so
ServerName localhost:8080
ServerName 127.0.0.1:8080
and, if needed:
ServerName #yourip:8080
Now, download offline resources:
Go to the Apache directory:
cd /data/data/com.termux/files/usr/share/apache2/default-site/htdocs
Clone this repo:
git clone https://github.com/dhammagift/dg.git ./
Clone the current https://suttacentral.net data:
git clone https://github.com/suttacentral/sc-data.git ./suttacentral.net
Download the https://accesstoinsight.org data:
wget http://accesstoinsight.org/tech/download/ati.zip
unzip ati.zip ./accesstoinsight.org
Download legacy https://suttacentral.net data:
(note: you dont need it if the https://suttacentral.net offline PWA is working fine on your phone)
wget https://legacy.suttacentral.net/exports/sc-offline-2016-11-30_16:03:42.zip
unzip sc-offline-2016-11-30_16:03:42.zip ./legacy.suttacentral.net
or:
wget https://legacy.suttacentral.net/exports/sc-offline-2016-11-30_16:03:42.7z
Download https://theravada.ru:
mkdir theravada.ru && cd theravada.ru
wget -r --no-check-certificate --no-parent -P ./ https://theravada.ru/Teaching/canon.htm
Fix possible double dir... check later
cd theravada.ru/Teaching/Canon/Suttanta
for i in `find . -name "*" -type f`; do
echo $i;
iconv -f windows-1251 $i > ../tmp
mv ../tmp $i
sed -i 's@windows-1251@utf-8@g' $i
done
Check and fix links if needed:
cd /data/data/com.termux/files/usr/share/apache2/default-site/htdocs/ru
ln -s ../assets ./assets
ln -s ../sc ./sc
ln -s ../scripts ./scripts
ln -s ../result ./result
(Optional) - if you downloaded https://suttacentral.net data somewhere else, not in the Apache default directory:
For testing your queries via the CLI, you may run:
bash ./scripts/finddhamma.sh yourqueryInPali
bash ./scripts/finddhamma.sh -ru yourqueryInRussian
bash ./scripts/finddhamma.sh -en yourqueryInEnglish
bash ./scripts/finddhamma.sh -th yourqueryInThai
Before using dg offline, don't forget to run:
apachctl start
termux-open-url http://localhost:8080/
This should open http://localhost:8080 in your web browser.
Not yet available
Might be possible to run on IOS devices with phpwin or similar and some terminal emulator e.g. from this article
never tried. please let me know if there is a way.
cd /data/data/com.termux/files/usr/share/apache2/default-site/htdocs/
rm suttacentral suttacentral.net
ln -s ../yourpath ./suttacentral.net
ln -s ../yourpath ./theravada.ru
ln -s ../yourpath ./legacy.suttacentral.net
Or, if you want to keep offline resources in other places without symlinks, edit paths in ./config/script_config.sh and ./config/config.php