PHP-GTK Client for Gemini Protocol
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.

105 lines
2.8 KiB

5 months ago
# Yoda is [PHP-GTK](https://github.com/scorninpc/php-gtk3) Browser for [Gemini protocol](https://geminiprotocol.net)
8 months ago
5 months ago
> [!IMPORTANT]
> Project in development!
>
8 months ago
## Install
5 months ago
### Auto
5 months ago
Run `INSTALL.sh` in terminal to autobuild Yoda for Linux systems, using latest [PHP](https://github.com/php/php-src), [PHP-CPP](https://github.com/fast-debug/PHP-CPP) and [PHP-GTK3](https://github.com/scorninpc/php-gtk3)
5 months ago
5 months ago
This tool does not change global PHP version, not requires root permissions, but optionally install system dependencies, through `apt` or `yum`
5 months ago
5 months ago
#### After build
5 months ago
* To **launch**, open Yoda in application menu or use `yoda.sh` launcher generated
5 months ago
* To **update**, run `INSTALL.sh` again
5 months ago
* To **uninstall**, just remove `build` folder with profile data in `~/.yoda`
5 months ago
### Manual
5 months ago
#### Environment
``` bash
apt install autoconf\
automake\
5 months ago
bison\
build-essential\
composer\
git\
5 months ago
libbz2-dev\
libcurl4-openssl-dev\
libfreetype6-dev\
libgladeui-dev\
libgtk-3-dev\
libgtksourceview-3.0-dev\
5 months ago
libjpeg-dev\
libonig-dev\
5 months ago
libpng-dev\
libpq-dev\
libreadline-dev\
5 months ago
libsqlite3-dev\
libssl-dev\
libtool\
libwnck-dev\
libxml2-dev\
libxpm-dev\
5 months ago
libxslt1-dev\
libzip-dev\
re2c
5 months ago
```
5 months ago
#### [PHP](https://github.com/php/php-src)
5 months ago
5 months ago
Make sure version 8.1 or above installed and configured with following options:
5 months ago
```
./configure --with-openssl\
--with-gettext\
--with-pdo-mysql\
--enable-sockets\
--enable-mbstring\
--enable-shmop\
--enable-pcntl
```
5 months ago
#### [PHP-CPP](https://github.com/fast-debug/PHP-CPP)
5 months ago
5 months ago
Use official [documentation](https://www.php-cpp.com/documentation) for details.
5 months ago
5 months ago
Build from source:
* `git clone https://github.com/fast-debug/php-cpp.git`
* `cd php-cpp`
* `make && sudo make install`
5 months ago
#### [PHP-GTK](https://github.com/scorninpc/php-gtk3)
5 months ago
5 months ago
Follow [installation guide](https://github.com/scorninpc/php-gtk3#acknowledgements) or use [binaries](https://github.com/scorninpc/php-gtk3/releases).
5 months ago
5 months ago
Build from source:
* `git clone https://github.com/fast-debug/php-gtk3.git`
* `cd php-gtk3`
* `make && sudo make install`
5 months ago
#### Yoda
5 months ago
* `git clone https://github.com/YGGverse/Yoda.git`
* `cd Yoda`
5 months ago
* `composer install`
5 months ago
#### Launch
8 months ago
``` bash
5 months ago
php -dextension=php-gtk3.so src/Yoda.php
```
8 months ago
## Components
* [gemini-php](https://github.com/YGGverse/gemini-php) - Gemini protocol connections
* [gemtext-php](https://github.com/YGGverse/gemtext-php) - Gemtext operations
* [net-php](https://github.com/YGGverse/net-php) - DNS resolver and network address features
* [nex-php](https://github.com/YGGverse/nex-php) - NEX protocol connections