Skip to content

🔎 A search engine for technical blogs and articles.

License

Notifications You must be signed in to change notification settings

JParramore/search-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python, Flask, etc. React

search-engine

This project allows users to search technical blogs!


There are three core modules:

  • crawler.py — a web crawler that utilizes the requests module to crawl entire websites from a seed file in db/seed.yaml

  • indexer.py — an indexer which exports functionality to store websites in an SQLite database with efficient indexing

  • query.py — a query module which, given a search term, retrieves and ranks websites by three heuristics (frequency, location, distance)


A Flask application in server.py serves a React application that allows users to interact with the project.


Preview

An image of search results for 'C99'


Ubtuntu 20.04 installation

sudo ufw enable
sudo ufw allow 8080
sudo apt update
sudo apt install gunicorn
sudo apt install python3-pip
pip3 install -r requirements.txt
bash setup.sh

Run:

bash start.sh

About

🔎 A search engine for technical blogs and articles.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published