Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance http://yacy.net/
Go to file
2022-01-18 12:03:46 +01:00
.github fixed name 2021-10-29 11:07:34 +02:00
.gradle downgrading gradle to 6.9 2021-10-25 18:32:34 +02:00
.settings removed ymarks 2021-09-16 22:23:51 +02:00
addon attempt to make a Mac Release using gradle 2021-10-25 18:37:39 +02:00
bin fixed apicall call method parameters 2020-12-22 00:46:47 +01:00
defaults lets SOLR merge bigger segments (up to 50GB) 2021-10-31 11:33:42 +01:00
dictionaries changed way to integrate dictionary files: 2009-09-02 18:42:13 +00:00
docker aded dockerfiles for 32 and 64 bit ARM/Raspberry Pi 2020-12-31 00:02:23 +01:00
examples move example code SearchClient out of yacycore package 2016-03-14 02:22:06 +01:00
gradle/wrapper downgrading gradle to 6.9 2021-10-25 18:32:34 +02:00
htroot Add Sorting functionality to Crawler Queue Table 2022-01-09 16:06:14 +01:00
kubernetes removed Debian and Red Hat build process 2021-07-19 20:33:52 +02:00
langdetect Use language-detection library for increased accuracy 2015-07-02 18:41:13 +02:00
lib updating slf4j 1.7.25 -> 1.7.32 2021-12-13 12:26:49 +01:00
libbuild Obsolete since replacement of Maven by Gradle build script 2022-01-16 05:36:24 +01:00
libt replace org.junit.Assert.assertThat by 2020-07-28 19:09:26 +02:00
LICENSES creating LICENSES directory 2021-03-11 12:16:37 +01:00
locales removed ymarks 2021-09-16 22:23:51 +02:00
skins added stub of rc3assembly style 2021-02-09 20:30:10 +01:00
snap Added a stop command using the existing stop script to the snap package 2019-02-04 14:34:37 +01:00
source fixed missing thread name revert after balancer waiting 2021-12-22 01:46:18 +01:00
test fixed doku link 2021-08-03 16:57:24 +02:00
vocabularies moved yacy.logging to defaults according to request in 2012-05-17 04:26:03 +02:00
.checkstyle problems with code style 2009-06-29 22:22:35 +00:00
.classpath updating slf4j 1.7.25 -> 1.7.32 2021-12-13 12:26:49 +01:00
.dockerignore added a dockerignore file 2020-12-29 20:19:45 +01:00
.env Removed unnecessary variables for local heroku run 2016-07-13 01:07:11 +02:00
.gitignore add gradle to gitignore 2021-07-19 20:12:03 +02:00
.project removes some warnings: unused imports, params 2020-07-27 22:20:49 +02:00
.travis.yml removed Xms java memory startup parameter 2021-07-19 20:04:11 +02:00
app.json Updated YaCy home page embedded links from http to https scheme 2018-05-22 17:46:12 +02:00
AUTHORS added flori and me 2008-06-13 10:05:31 +00:00
build.gradle Enable Gradle test and add manifest to yacycore.jar, set outputdir to lib 2022-01-18 11:55:21 +01:00
build.nsi upd windows installer script to Java 8 update 211 2020-01-19 04:42:03 +01:00
build.properties new version for solr 8 2021-03-06 13:37:06 +01:00
build.xml updating slf4j 1.7.25 -> 1.7.32 2021-12-13 12:26:49 +01:00
CONTRIBUTING.md Add contributor guidelines; closes #214 2018-08-15 23:23:30 +07:00
COPYRIGHT updated copyright message; included LGPL for 'cora' and a warranty 2013-06-30 11:30:39 +02:00
fixMacBuild.sh attempt to make a Mac Release using gradle 2021-10-25 18:37:39 +02:00
getWin32MaxHeap.bat update for memory observer algorithm 2009-12-06 17:45:48 +00:00
gpl.txt initial load with yacy 0.36 2005-04-07 19:19:42 +00:00
gradle.properties attempt to make a Mac Release using gradle 2021-10-25 18:37:39 +02:00
gradlew downgrading gradle to 6.9 2021-10-25 18:32:34 +02:00
gradlew.bat replaced maven with gradle 2021-07-14 13:58:30 +02:00
Heroku.md Simplified Heroku variables configuration 2016-07-28 02:04:51 +02:00
installYaCyWindowsService.bat removed Xms java memory startup parameter 2021-07-19 20:04:11 +02:00
killYACY.sh Fix for http://mantis.tokeek.de/view.php?id=432 2014-08-25 22:47:33 +02:00
lgpl21.txt migrated all my LGPL 3 -licensed files to the LGPL 2.1 because LGPL 3 is not compatible to the GPL 2 2010-06-28 16:25:14 +00:00
NOTICE * updated jxpath to latest v1.3 2009-07-15 16:13:24 +00:00
Procfile Simplified Heroku variables configuration 2016-07-28 02:04:51 +02:00
README.md Update README.md 2022-01-18 11:45:43 +01:00
settings.gradle replaced maven with gradle 2021-07-14 13:58:30 +02:00
startYACY_debug.bat removed Xms java memory startup parameter 2021-07-19 20:04:11 +02:00
startYACY.bat removed Xms java memory startup parameter 2021-07-19 20:04:11 +02:00
startYACY.sh addressing better GC behavior after removing Xms with earlier heap increase strategy 2021-08-05 09:16:52 +02:00
stopYACY.bat upd classpath in batches (remove not necessary htroot) 2016-02-03 21:50:50 +01:00
stopYACY.sh fixed apicall call method parameters 2020-12-22 00:46:47 +01:00
uninstallYaCyWindowsService.bat added Windows Service installer 2013-12-26 05:07:26 +01:00
updateYACY.sh fixed apicall call method parameters 2020-12-22 00:46:47 +01:00
yacy-packages.readme bump to commons-codec-1.14, commons-compress-1.20, 2020-07-26 21:58:15 +02:00
yacy.yellow performance setting for remote indexing configuration and latest changes for 0.39 2005-07-22 13:56:19 +00:00

YaCy

Gitter Build Status

Deploy

What is this?

The YaCy search engine software provides results from a network of independent peers, instead of a central server. It is a distributed network where no single entity decides what to list or order it appears in.

User privacy is central to YaCy, and it runs on each user's computer, where search terms are hashed before they being sent to the network. Everyone can create their individual search indexes and rankings, and a truly customized search portal.

Each YaCy user is either part of a large search network (search indexes can be exchanged with other installation over a built-in peer-to-peer network protocol) or the user runs YaCy to produce a personal search portal that is either public or private.

YaCy search portals can also be placed in an intranet environment, making it a replacement for commercial enterprise search solutions. A network scanner makes it easy to discover all available HTTP, FTP and SMB servers.

To create a web index, YaCy has a web crawler for everybody, free of censorship and central data retention:

  • Search the web (automatically using all other YaCy peers)
  • Co-operative crawling; support for other crawlers
  • Intranet indexing and search
  • Set up your own search portal
  • All users have equal rights
  • Comprehensive concept to anonymise the users' index

To be able to perform a search using the YaCy network, every user has to set up their own node. More users means higher index capacity and better distributed indexing performance.

License

This project is available as open source under the terms of the GPL 2.0 Or later. However, some elements are being licensed under GNU Lesser General Public License. For accurate information, please check individual files. As well as for accurate information regarding copyrights. The (GPLv2+) source code used to build YaCy is distributed with the package (in /source and /htroot).

Where is the documentation?

All these have (YaCy) search functionality combining all these locations into one search result.

Dependencies? What other software do I need?

You need Java 1.8 or later to run YaCy. (No Apache, Tomcat or MySQL or anything else)

YaCy also runs on IcedTea 3. See https://icedtea.classpath.org

Start and stop it

Startup and shutdown:

  • GNU/Linux and OpenBSD:

    • Start by running ./startYACY.sh
    • Stop by running ./stopYACY.sh
  • Windows:

    • Start by double-clicking startYACY.bat
    • Stop by double-clicking stopYACY.bat
  • macOS: Please use the Mac app and start or stop it like any other program (double-click to start)

The administration interface

A web server us brought up after starting YaCy. Open this URL in your web-browser:

http://localhost:8090

This presents you with the personal search and administration interface.

(Headless) YaCy server installation

YaCy will authorize users automatically if they access the server from its localhost. After about 10 minutes a random password is generated and then it is no longer possible to log in from a remote location. If you install YaCy on a server that is not your workstation you must set an admin account immediately after the first start-up. Open:

http://<remote-server-address>:8090/ConfigAccounts_p.html

and set an admin account.

YaCy in a virtual machine or a container

Use virtualization software like VirtualBox or VMware.

The following container technologies can deployed locally, on remote machines you own, or in the 'cloud' using a provider by clicking "Deploy" at the top of the page:

Docker

More details in the docker/Readme.md.

Heroku

PaaS (Platform as a service) More details in Heroku.md.

Port 8090 is bad, people are not allowed to access that port

You can forward port 80 to 8090 with iptables:

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8090

On some operation systems, access to the ports you are using must be granted first:

iptables -I INPUT -m tcp -p tcp --dport 8090 -j ACCEPT

Scaling, RAM and disk space

You can have many millions web pages in your own search index. By default 600MB RAM is available to the Java process. The GC process will free the memory once in a while. If you have less than 100000 pages you could try 200MB till you hit 1 million. Here you can adjust it. Several million web pages may use several GB of disk space, but you can adjust it Here to fit your needs.

Help develop YaCy

Join the large number of contributors that make YaCy what it is; community software.

To start developing YaCy in Eclipse:

  • Clone https://github.com/yacy/yacy_search_server.git
  • File → Import as Git → Projects from Git → Existing local repository
  • → Add → Your Git clone of yacy_search_server
  • "Import existing Eclipse projects" → Finish
  • Run → External Tools → External Tools Configuration → Double-click "Ant Build"
  • → Name: "YaCy Build" → Buildfile: Browse Workspace → build.xml → Run
  • In the Package Explorer, right-click on YaCy → Run as → Java Application -> Select "yacy - net.yacy" -> OK

To join our development community, got to https://searchlab.eu

Send pull requests to https://github.com/yacy/yacy_search_server

Compile from source

The source code is bundled with every YaCy release. You can also get YaCy from https://github.com/yacy/yacy_search_server by cloning the repository.

git clone https://github.com/yacy/yacy_search_server

Compiling YaCy:

  • You need Java 1.8 or later and Apache Ant.
  • Compile: ant clean all - then you can ./startYACY.sh or ./startYACY.bat.
  • Create a release tarball: ant dist.
  • Create a macOS release: ant distMacApp (only works on macOS).
  • Create a Debian release: ant deb.
  • Work with Eclipse: Within Eclipse you also need to start the ant build process. because the servlet pages are not compiled by the Eclipse build process. after the dist procedure, the release can be found in the RELEASE subdirectory.

APIs and attaching software

YaCy has many built-in interfaces, and they are all based on HTTP/XML and HTTP/JSON. You can discover these interfaces if you notice the orange "API" icon in the upper right corner of some web pages in the YaCy web interface. Click it and you will see the XML/JSON version of the respective webpage. You can also use the shell script provided in the /bin subdirectory. The shell scripts also calls the YaCy web interface. By cloning some of those scripts you can easily create more shell API access methods.

Contact

Visit the international YaCy forum where you can start a discussion there in your own language.

Questions and requests for paid customization and integration into enterprise solutions. can be sent to the maintainer, Michael Christen per e-mail (at mc@yacy.net) with a meaningful subject including the word 'YaCy' to prevent it getting stuck in the spam filter.

  • Michael Peter Christen