Skip to content

imran-prog/wembra-search-engine

Repository files navigation

Search Engine

Search Engine using PHP with a crawler for both sites and images...

This project was made just for the learning purpose. So, I uploaded it on Github because i thought if anyone wants some of help whie making their own project, they may take this open source code and apply it with their own code.

Steps To Start Working ⚒

  1. Download a web server tool: my recommendation is xampp, you can download according to your PC requirments.

  2. After this, install the software in the PC, and start the xampp server and one more thing that you only need to start first two modules which the required...

Xampp user Interface

If you face any help pls consult the internet there are alot of content available to guide you through the installation process.

  1. Now you have completed the main installation process and succesfully started the server. Now head towards your brwoser and write the following URl 'localhost\dashboard'. If it doesn't gives an error then you are fully setup for the search engine.

  2. Now open up the directory of Xampp in your local computer and find the the folder named as 'htdocs'. This is the main folder in which all the code which is to be shown on the website will be available...

Xampp Folder

Just clone the repository in this directory.

  1. Let's jump to the last process of completely start working with the search engine. Go to the browser and writhe the fllowing address in the search bar "localhost/phpmyadmin" and a new website will open. mostly like this...

Phpmyadmin user inerface

Just click on create a new database.

  1. Now write the name of your database mine is "wembra". If you give your own name, then you just need to change it in 'config.php' file. You can see the file by clicking this link.

  2. Now create three tables and name them as 'sites', 'images' and 'search' respectively and add the following fields to the table(sites): id, url, title, decription, keywords, clicks.

Annotation-2020-11-01-113641

Now, for the table(images): id, siteurl, imageurl, alt, title, clicks, broken.

Annotation-2020-11-01-114142

And for table(search): id, words, times.

  1. Now You are all done. Just go to 'localhost/wembra-search-engine' or any name you have taken for the folder.

Annotation-2020-11-01-120019

  1. You are all done, Feel free to do your own tweeks.

Work With The Crawler

  1. I hope you have already configured PHP in your PC. If not then first go to the internet and search for the process of doing that. After that yuo can continue on.

  2. Goto the folder where all the files of the search engine are store. open command prompt or any software you use. and write the following command...

php crawl.php

  1. Your crawler is start, you can see in your Phpmyadmin tables it's continually adding data to the tables.

Features

  1. Fully Advanced Search Engine, It crawls both the websites and images fromt eh internet.
  2. Info box of some results like (Google, Facebook etc)
  3. It also have a fully advanced modalbox for the images results
  4. Fully mobile responsive

Credits

© 2018-2020 created by @imran-prog - Github: I hope You will Love It.

About

A fully featured Search Engine using PHP. Plus the web crawler for both sites and images.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published