Giter VIP home page Giter VIP logo

finder's Introduction

Home Page

Finder

Personal Project

Introduction · Algorithm · Setting Up Locally · Tech Stack . Routes


Introduction

Uncovering the vast ocean of information on the web requires sophisticated tools that can navigate the complexities of content, context, and relevance. My project, which I've playfully nicknamed "Finder", is a powerful crawler that digs through websites and meticulously indexes every word on every page. It doesn’t stop there; it also calculates the frequency of each term and tracks the network of links between pages.

At the heart of "Finder" are the sophisticated TF-IDF (Term Frequency-Inverse Document Frequency) algorithm and PageRank (simplify). This dual approach allows “Finder” not only to index, but also to understand the importance of content, thus making search results more relevant and useful.

Algorithm

TF = Total number of words in the page / Term frequency in the page
IDF = log(Number of pages containing the term / Total number of pages)
TF-IDF = TF×IDF
Total TF-IDF Score = ∑terms(TF-IDF of the term)

​PageRank = Number of incoming links

Final Score=α(Total TF-IDF Score)+β(PageRank)

Setting Up Locally

To configure Finder locally, you will need to clone the repository and configure the following environment variables (in the .env file):

DB_HOST="database"
DB_PORT="5432"
DB_USER="root"
DB_PASSWORD="root"
DB_NAME="postgres"

To run the app locally, you can run the following commands:

docker-compose up -d
cd server
make db-up

Tech Stack

Finder is built on the following stack:

Back End:

Front End:

Database:

Infrastructure & Deployment:

Routes

Crawler Routes:

http://localhost:3000/swagger Displays the crawler swagger

Search Routes:

http://localhost:5173/ Displays the search page

finder's People

Contributors

clementpnn avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.