This is a simple project which allows You to search something and find some links containing the words you're looking for, and shows the results sorted by count of words found.
There're three subprojects
- Crawler - Recursively goes from given websites, and their containing links, and saves the found data in database.
- Search - Creates a server listening HTTP requests, finds all links contain required content from client and sends an answer.
- UI (User Interface) - Reads from user texts to search and sends the HTTP request to the server, then shows an answer.
- Operating System - UNIX/Linux (or other UNIX/Linux based operating systems)
- Compiler - g++ 5.0+/clang++ 5.0+
- Build system - CMake
- Database - MySQL
Used libraries with their references are shown below.
- Build stage - do following steps in order in your bash terminal
sudo ./build.sh
- this will install all packages You need, create the database and compile all components of the program./bin/crawler_run &
./bin/search_run &
./bin/UI_run
- If You would like to use this project on non Linux machine - look on how to do it, but there's no warranty that it will work successfully!