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.
- Crawling
- Indexing
- Ranking system
In order to crawl a website, you must navigate to the public/js folder and run node index.js https://example.com
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:
- Clone the repository:
git clone https://github.com/nineby-nine/search-engine.git
- Navigate to the project directory:
cd search-engine
- Install dependencies:
pnpm install
- Start the express server:
node server.js
- On another terminal, start the indexer (change directory to
public/js
):node server.js
@ClaytonTDM - Crawler and Indexer (modified by nineby-nine)
Contributions are welcome! If you have any ideas or improvements, feel free to submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more information.