Skip to content
dulcedo edited this page Sep 14, 2010 · 12 revisions

YaCymin is a collection of PHP-scripts for steering and quering a YaCy Network

YaCy is providing a rich HTML/XML based API and plugin-classes for most languages. Take YaCymin as a sample to fill in the buildt-in admin-interface using this API and feel free to commit additional or enhance the existing modules or functions.

Installation


You need PHP5 for using this example, Windows users may use XAMPP or easy-PHP, most other OS have buildt-in PHP-support.
Put all included files and directories in one directory located at your local- oder server-htroot and start your favorite browser calling demo4.php.

Configuration


YaCymin is using a file peerlist_inc.php to store adresses and accounting for all YaCy-peers administrable by the application.

// -———— edit here -———- // array of possipble peers 0:ip, 1:port, 2:user:pw, 3: opt.friendlyname // do NOT use localhost but (public) IP/hostname // first peer #0 used to access network-information, must be present and online. $i= 0; $this_YaCyPeer[$i][ 0]=“127.0.0.1”; $this_YaCyPeer[$i][ 1]=“8080”; this_YaCyPeer[$i][ 2]=“admin:password”;$this_YaCyPeer[$i]3=“my_friendlyname_for_this_peer”; $i= 1; $this_YaCyPeer[$i][ 0]=“other.ip”; $this_YaCyPeer[$i][ 1]=“8081”; $this_YaCyPeer[$i][ 2]=“nopassword”; // … and so on

Usage


Screens



dulcedo@yacy.net
Clone this wiki locally