Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

SIDDHU123M/AI-SearchEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A modern, AI-powered search engine that combines the intelligence of OpenAI with web search capabilities to provide comprehensive answers to your questions.


🌟 Features

  • AI-Powered Answers: Get detailed, context-aware responses generated by OpenAI's language model
  • Web Sources: See the web sources used to generate answers
  • Voice Search: Ask questions using your voice (browser + microphone required)
  • Related Questions: Discover related queries to explore topics further
  • Bookmarking: Save important search results for future reference
  • Search History: Keep track of your previous searches
  • Dark Mode: Toggle between light and dark themes
  • Responsive Design: Works on desktop and mobile
  • Caching: Faster responses for repeated queries

🛠️ Technology Stack

Backend

  • Python 3.12+
  • Flask: Web server framework
  • OpenAI API: For generating AI responses
  • DuckDuckGo Search API: For retrieving web search results
  • BeautifulSoup4 & Readability: For web content extraction
  • SpeechRecognition & PyAudio: For voice recognition

Frontend

  • HTML5/CSS3/JavaScript
  • Tailwind CSS: For responsive styling
  • Font Awesome: For icons
  • Highlight.js: For code syntax highlighting
  • Markdown-it: For rendering markdown content

📋 Prerequisites

  • Python 3.12 or higher
  • OpenAI API key
  • Microphone (for voice search)

🚀 Installation

  1. Clone the repository

    git clone https://github.com/SIDDHU123M/AI-SearchEngine.gitcd AI-searchEngine
  2. Create a virtual environment

    python -m venv venvvenv\Scripts\activate
  3. Install dependencies

    pip install -r requirements.txt
  4. Set up environment variables

    • Create a.env file in the root directory
    • Add your OpenAI API key:
      openaiAPI = "your-openai-api-key-here"
  5. Create required directories

    mkdir cache bookmarks
  6. Run the application

    python app.py
  7. Access the application

    • Open your browser and go tohttp://localhost:5000

💻 Usage

  • Type your question in the search box and click Search or press Enter
  • Use voice search by clicking the microphone icon
  • Bookmark results for later reference
  • View your search history and revisit previous queries
  • Toggle dark mode for comfortable viewing

📁 Project Structure

AI-searchEngine/├── app.py                  # Main Flask application├── main_engine.py          # Search engine core logic├── requirements.txt        # Python dependencies├── .env                    # Environment variables (not in repo)├── static/                 # Static assets (CSS)├── templates/              # HTML templates├── cache/                  # Cached search results├── bookmarks/              # Saved bookmarks└── README.md               # Project documentation

🔮 Future Improvements

  • User accounts for personalized experience
  • Advanced search filters
  • Mobile app version
  • Browser extension
  • Multi-language support
  • PDF/document search

📄 License

This project is licensed under the MIT License.


🙏 Acknowledgements


Created with ❤️ by Sidharth and Copilot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp