mirror of https://github.com/YGGverse/Yoda.git
phpcomposergemini-protocolgeminismallwebaltwebgtkphp-gtkgemini-clientyoda-browserphp-cppgemini-browseryodagtk3browser
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yggverse
730f4f742e
|
2 months ago | |
---|---|---|
src | 4 months ago | |
.gitignore | 5 months ago | |
INSTALL.sh | 3 months ago | |
LICENSE | 8 months ago | |
README.md | 2 months ago | |
composer.json | 4 months ago |
README.md
Yoda - Browser for Gemini protocol
[!IMPORTANT] This is experimental PHP / GTK3 branch, see also Rust-GTK4 and CPP-GTK4 implementation
Install
Auto
git clone https://github.com/YGGverse/Yoda.git
cd Yoda
git checkout PHP-GTK3
- Run
./INSTALL.sh
to auto-build Yoda for Linux systems, using latest PHP, PHP-CPP and PHP-GTK3
Tool does not change global PHP version, not requires root permissions, but optionally install system dependencies, through apt
or yum
After build
- To launch, open Yoda in application menu or use
yoda.sh
launcher generated - To update, run
INSTALL.sh
again - To uninstall, just remove
build
folder with profile data in~/.yoda
Manual
Environment
apt install autoconf\
automake\
bison\
build-essential\
composer\
git\
libbz2-dev\
libcurl4-openssl-dev\
libfreetype6-dev\
libgladeui-dev\
libgtk-3-dev\
libgtksourceview-3.0-dev\
libjpeg-dev\
libonig-dev\
libpng-dev\
libpq-dev\
libreadline-dev\
libsqlite3-dev\
libssl-dev\
libtool\
libwebp-dev\
libwnck-dev\
libxml2-dev\
libxpm-dev\
libxslt1-dev\
libzip-dev\
re2c
PHP
Make sure version 8.1 or above installed and configured with following options:
./configure --enable-mbstring\
--enable-pcntl\
--enable-shmop\
--enable-sockets\
--enable-static\
--with-gettext\
--with-openssl\
--with-pdo-sqlite
PHP-CPP
Use official documentation for details.
Build from source:
git clone https://github.com/fast-debug/php-cpp.git
cd php-cpp
make && sudo make install
PHP-GTK
Follow installation guide or use binaries.
Build from source:
git clone https://github.com/fast-debug/php-gtk3.git
cd php-gtk3
make && sudo make install
Yoda
git clone https://github.com/YGGverse/Yoda.git
cd Yoda
composer install
Launch
php -dextension=php-gtk3.so src/Yoda.php
Components
- gemini-php - Gemini protocol connections
- gemtext-php - Gemtext operations
- net-php - DNS resolver and network address features
- nex-php - NEX protocol connections