Thanks to visit codestin.com
Credit goes to github.com

Skip to content

dukesky/PolarBear

Repository files navigation

PolarBear Logo

PolarBear 🐻‍❄️

The Open-Source Hybrid Search Engine for SMEs

License: MIT Python Next.js Docker

FeaturesGetting StartedDocumentationContributing


🌟 Introduction

PolarBear is a powerful, no-code, AI-enhanced search engine designed specifically for Small and Medium-sized Enterprises (SMEs). It democratizes access to advanced search technology, allowing business owners to create a professional search experience for their products, services, or inventory in minutes—completely free and open source.

Unlike complex enterprise solutions, PolarBear focuses on simplicity without compromising on power. It combines Keyword Search (Meilisearch) and Semantic Vector Search (FAISS) to deliver results that are both accurate and contextually relevant.

🚀 Features

  • 🔍 Hybrid Search: seamlessly blends keyword matching (BM25) with AI-powered semantic search (Embeddings) for superior result relevance.
  • ⚡ No-Code Ingestion: Upload your data via CSV, Excel, or Google Sheets. No coding required.
  • 🧠 AI-Ready: Built-in vectorization pipeline using state-of-the-art embedding models.
  • 📊 Insights Dashboard: Track user behavior, top queries, zero-result searches, and conversion metrics.
  • 🛍️ Product Management: Built-in catalog management to edit products and upload images directly.
  • ☁️ Cloud-Native: Dockerized for easy deployment on Google Cloud Run, AWS, or your own server.
  • 🔓 Open Source: 100% free to use, modify, and distribute.

🛠️ Tech Stack

Component Technology Description
Frontend Next.js (React) Modern, responsive admin and search UI.
Backend FastAPI (Python) High-performance API for ingestion and search.
Search Meilisearch Lightning-fast keyword search engine.
Vector DB FAISS Efficient similarity search for embeddings.
Infrastructure Docker Containerized for consistent deployment.

🚀 Getting Started

Prerequisites

  • Node.js 18+
  • Python 3.11+
  • Docker & Docker Compose

Quick Start

  1. Clone the Repository

    git clone https://github.com/dukesky/PolarBear.git
    cd PolarBear
  2. Start Infrastructure

    cd infrastructure
    docker-compose up -d
  3. Start Backend

    cd backend
    poetry install
    poetry run uvicorn app.main:app --reload --port 8000
  4. Start Frontend

    cd frontend
    npm install
    npm run dev
  5. Experience PolarBear

    • Upload Data: Go to http://localhost:3000/upload and upload a CSV (e.g., sample_products.csv).
    • Search: Visit http://localhost:3000/search to try the hybrid search.
    • Insights: Check http://localhost:3000/insights for analytics and product management.

📚 Documentation

Detailed walkthroughs for each development phase:

🤝 Contributing

We welcome contributions from the community! Whether it's fixing bugs, improving documentation, or suggesting new features, your help is appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

Distributed under the MIT License. See LICENSE for more information.

📬 Contact

Project Link: https://github.com/dukesky/PolarBear


Made with ❤️ for the Open Source Community

About

Fully Open Source Search Engine for SME (Small Medium Size Enterprise)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published