Giter Site home page Giter Site logo

search-engine's Introduction

search-engine - ARCHIVED

THIS PROJECT IS ARCHIVED

Explanation: This project was started as a simple project but it came with numerous vulnerabilities and simply decided not to maintain it anymore. The crawler was also getting pretty shitty and decided not to maintain that either. This project should theoretically still work, but like I said, I am no longer maintaining this.

A simple search engine with a crawler and indexer.

Features

  • Crawling
  • Indexing
  • Ranking system

Crawling

In order to crawl a website, you must navigate to the public/js folder and run node index.js https://example.com

Installation

Important

You should first crawl sites for some data so you can get the crawldata.db file. Then, run the site with the commands below.

Warning

Web services (Vercel, Netlify, Render, etc.) have not yet been tested.

To run this project locally, follow these steps:

  1. Clone the repository: git clone https://github.com/nineby-nine/search-engine.git
  2. Navigate to the project directory: cd search-engine
  3. Install dependencies: pnpm install
  4. Start the express server: node server.js
  5. On another terminal, start the indexer (change directory to public/js): node server.js

Credits

@ClaytonTDM - Crawler and Indexer (modified by nineby-nine)

Contributing

Contributions are welcome! If you have any ideas or improvements, feel free to submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

search-engine's People

Contributors

dependabot[bot] avatar xytrux avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

jacobi090

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.