A web-based search engine built with Python, Flask, and Whoosh that crawls and indexes web content.
- Web crawler that follows links within a domain
- Full-text search indexing using Whoosh
- Simple web interface for searching
- Preview of search results with titles and content snippets
-
Clone the repository:
bash git clone https://github.com/Sigurius23/search-engine.git cd search-engine -
Create a virtual environment and install dependencies:
bash python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install -r requirements.txt -
Run the application:
bash python app.py
- The application will start crawling the test website automatically
- Access the search interface at
http://localhost:5000 - Enter search terms and click "Search"
For deployment on university servers:
- Connect via SSH (requires university VPN)
- Place files in
~/public_html/search_engine/ - Access at
http://vmXXX.rz.uni-osnabrueck.de/uXXX/search_engine/search.wsgi