Cogniq Search Engine is an advanced web application designed to streamline the search experience by integrating Google and YouTube searches, providing concise summaries, and delivering real-time query suggestions. It aims to help users quickly find relevant information by summarizing web content and videos.
-
Integrated Search:
- Perform simultaneous searches on Google and YouTube.
- Display search results from both platforms in a unified interface.
-
Content Summarization:
- Automatically summarize articles and YouTube video transcripts.
- Highlight key sentences and important information for quick understanding.
-
Real-Time Suggestions:
- Offer real-time search query suggestions as users type.
- Enhance user experience with relevant search terms.
-
Error Handling and Filtering:
- Filter out irrelevant or low-quality search results.
- Ensure the provided summaries are useful and informative.
- FastAPI: For building a high-performance web API.
- aiohttp: For asynchronous HTTP requests.
- BeautifulSoup4: For parsing HTML and XML content.
- Newspaper3k: For extracting and summarizing articles.
- YouTube Transcript API: For fetching transcripts of YouTube videos.
- Transformers: For natural language processing and summarization.
- NLTK: For text processing and analysis.
- Jinja2: For rendering HTML templates.
- Uvicorn: For running the ASGI server.
-
Clone the repository:
git clone https://github.com/Ahilan-1/cogniq-final.git cd cogniq-final
-
Create a virtual environment and activate it:
python -m venv env source env/bin/activate # On Windows use `env\Scripts\activate`
-
Install the dependencies:
pip install -r requirements.txt
-
Download NLTK data:
import nltk nltk.download('punkt') nltk.download('stopwords')
-
Run the application:
python app.py
-
Open your browser and navigate to
http://127.0.0.1:8000
to access Cogniq Search Engine.
Contributions are welcome! Please fork the repository and submit a pull request for any enhancements or bug fixes.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
For any questions or suggestions, please open an issue on GitHub.
Cogniq Search Engine combines the power of Google and YouTube searches with advanced summarization techniques to enhance the search experience. It delivers concise and relevant information, helping users find what they need quickly and efficiently.