Metadata-Version: 2.4
Name: file-brain
Version: 0.1.6
Summary: Advanced file search engine powered by AI
License: GPL-3.0-or-later
Keywords: search,file-indexing,semantic-search,local-search,search-engine,gui,filesystem,fuzzy-search,file,artificial-intelligence,desktop-application,image-search,file-management,embedding,apache-tika,filesystem-indexer,document-search,typesense,archive-search,ocr
Author: Hamza Abbad
Author-email: contact@file-brain.com
Requires-Python: >=3.11,<3.15
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Desktop Environment :: File Managers
Classifier: Topic :: Text Processing :: Indexing
Classifier: Environment :: GPU :: NVIDIA CUDA
Requires-Dist: aiohttp (>=3.13.2,<4.0.0)
Requires-Dist: chardet (>=5.2.0,<6.0.0)
Requires-Dist: docker (>=7.1.0,<8.0.0)
Requires-Dist: fastapi[standard-no-fastapi-cloud-cli] (>=0.121.0,<0.122.0)
Requires-Dist: huggingface-hub (>=1.2.4,<2.0.0)
Requires-Dist: platformdirs (>=4.5.1,<5.0.0)
Requires-Dist: podman (>=5.6.0,<6.0.0)
Requires-Dist: posthog (>=7.5.1,<8.0.0)
Requires-Dist: psutil (>=6.0.0,<7.0.0)
Requires-Dist: py-machineid (>=1.0.0,<2.0.0)
Requires-Dist: pydantic (>=2.12.4,<3.0.0)
Requires-Dist: pydantic-settings (>=2.11.0,<3.0.0)
Requires-Dist: python-magic (>=0.4.27,<0.5.0)
Requires-Dist: sqlalchemy (>=2.0.44,<3.0.0)
Requires-Dist: tika (>=3.1.0,<4.0.0)
Requires-Dist: typesense (>=1.1.1,<2.0.0)
Requires-Dist: watchdog (>=6.0.0,<7.0.0)
Project-URL: Homepage, https://file-brain.com
Project-URL: Issues, https://github.com/Hamza5/file-brain/issues
Project-URL: Repository, https://github.com/Hamza5/file-brain
Description-Content-Type: text/markdown

<div align="center">
  <img src="https://raw.githubusercontent.com/hamza5/file-brain/main/docs/images/logo.svg" alt="File Brain Logo" width="120" />
  <h1>File Brain</h1>
  <p><strong>Your Local AI Search Engine</strong></p>

[![CI](https://github.com/hamza5/file-brain/actions/workflows/ci.yml/badge.svg)](https://github.com/hamza5/file-brain/actions/workflows/ci.yml)
[![Release](https://github.com/hamza5/file-brain/actions/workflows/release.yml/badge.svg)](https://github.com/hamza5/file-brain/actions/workflows/release.yml)

</div>

<p align="center">
  Find what you mean, not just what you say. File Brain runs locally on your machine to index and understand your files.
</p>

## What is File Brain?

File Brain is a desktop application that helps you find files instantly using natural language. Instead of remembering exact filenames, you can ask questions like "flight ticket invoice", and File Brain uses AI to understand the meaning and show the relevant files.

## Key Features

- **🧠 Find what you mean**: Uses advanced Semantic Search -in addition to full text search- to understand the intent behind your query (e.g., search for "worker", find documents mentioning "employee").
- **📝 Typo Resistance**: Robust against typos. Search for "iphone" even if you typed "ipnone".
- **📄 Supports Everything**: Extracts the content of over 1400+ file formats (PDF, Word, Excel, PowerPoint, images, archives, and more).
- **🌍 Cross-Language Search**: Search in one language to find documents written in another (e.g., search for "Chair", find documents mentioning "Silla" -in Spanish-).
- **🚀 Fast Matching**: Search results are shown within milliseconds, not minutes.
- **👁️ OCR Support**: Automatically extracts text from screenshots, and scanned documents.
- **⚡ Auto-Indexing**: Detects changes in real-time and updates the index instantly.
- **🔒 Privacy First**: All indexing and AI processing happens 100% locally on your machine. Your data never leaves your computer.

## Prerequisites

- **Python 3.11** or higher
- **Docker** or **Podman** (Must be installed and ready to run)

## Installation

Install File Brain easily using pip:

```bash
pip install -U file-brain
```

## Getting Started

1.  **Run the App**:

    ```bash
    file-brain
    ```

2.  **Initialization Wizard**:
    On the first run, a simple wizard will guide you:
    1.  **System Check**: Verifies Docker is running.
    2.  **Download Components**: Downloads the necessary search services.
    3.  **Initialize Engine**: Starts the background search components.
    4.  **Download AI Model**: Fetches the AI model for intelligent search.
    5.  **Finalize Setup**: Initializes the search engine database.

    ![Initialization Wizard](https://raw.githubusercontent.com/hamza5/file-brain/main/docs/images/wizard.png)
    _The easy-to-use setup wizard that guides you through downloading models and initializing the search database._

3.  **Select Folders**:
    Choose the folders you want to index via the dashboard settings.

4.  **Indexing**:
    - **Manual Indexing**: Performs a deep scan of all files. Great for initial setup.
    - **Auto-Indexing**: Watches for new or changed files and processes them instantly.

    > **Note**: File Brain must be running for the background indexing to process your files.

## Visualizing the Interaction

### Dashboard

See all your indexed files, storage usage, and recently indexed files at a glance.

![Dashboard Overview](https://raw.githubusercontent.com/hamza5/file-brain/main/docs/images/dashboard.png)

### Semantic Search

Search naturally, like "Airplane ticket" to find relevant documents even if the filename is different.

![Semantic Search](https://raw.githubusercontent.com/hamza5/file-brain/main/docs/images/search.png)

## **PRO** Version

Want more power? The **PRO** version is on the way with advanced capabilities:

- **Chat with Files**: Ask questions and get answers from your documents.
- **Search by File**: Find semantically similar files.
- **Video Search**: Find scenes in your videos.
- **Cloud & Network Drives**: Connect Google Drive, Dropbox, Box, and network drives.

[Check out the website](https://file-brain.com/) to learn more.

