惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园_首页
雷峰网
雷峰网
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
WordPress大学
WordPress大学
腾讯CDC
T
Tailwind CSS Blog
A
About on SuperTechFans
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
T
The Blog of Author Tim Ferriss
G
Google Developers Blog
The Cloudflare Blog
D
DataBreaches.Net
Recent Announcements
Recent Announcements
Engineering at Meta
Engineering at Meta
B
Blog
博客园 - 聂微东
阮一峰的网络日志
阮一峰的网络日志
月光博客
月光博客
博客园 - 司徒正美
MongoDB | Blog
MongoDB | Blog
Google DeepMind News
Google DeepMind News
Apple Machine Learning Research
Apple Machine Learning Research

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - cuiheng511/filepilot-ai: 🚀 Smart File Management...
cui511511 · 2026-05-15 · via Hacker News - Newest: "AI"

FilePilot AI logo

A local-first AI file manager for scanning, searching, deduplicating, summarizing, and organizing your files.

Python PySide6 Search Privacy License

Version 0.4.1


Overview

FilePilot AI is a local-first desktop file manager that helps you inspect, index, search, deduplicate, summarize, and organize your local storage — all through a preview-first workflow.

Your files stay on your machine unless you explicitly choose a cloud AI provider for summarization.

Demo

FilePilot AI demo

Highlights

Smart scanning

  • Recursive directory scanning with depth controls
  • File type, category, MIME, and hash detection
  • Rich metadata: size, date, dimensions, duration
  • Respects hidden-file and .gitignore filters

Fast local search

  • Whoosh-powered full-text index
  • Keyword, fuzzy, and boolean queries
  • Filter by type, date range, and file size
  • Export results to CSV

AI summaries

  • Built-in extractors for PDF, Markdown, code, images, DOCX, XLSX, and PPTX
  • Local (Ollama, llama.cpp) or cloud AI providers (OpenAI, Anthropic)
  • Batch summary workflow for multi-file processing
  • Pluggable provider interface with unified API

Duplicate cleanup

  • Size-bucket grouping for first pass
  • Fast partial-hash pre-filter
  • Full SHA-256 content verification
  • Safe deletion via system Recycle Bin (send2trash)

Safe organization

  • Organize by file type, date, extension, or size range
  • Custom rename templates with variables
  • Preview changes before applying
  • Undo-log support for rollback

Desktop workflow

  • Native PySide6 desktop interface
  • Light and dark theme support
  • System tray integration with background file watcher
  • Toast notifications and 18 UI languages

Screenshots

Browse Search
Browse local folders Search indexed files
Organize Duplicates
Preview file organization Detect duplicate files
AI Summary Index
Generate AI summaries Manage search index

Quick Start

Requirements

  • Python 3.10 or newer
  • Windows, macOS, or Linux
  • Optional: Ollama, llama.cpp, or LM Studio for local AI
  • Optional: OpenAI, Anthropic, or any OpenAI-compatible endpoint for cloud AI

Install and Run

git clone https://github.com/cuiheng511/filepilot-ai.git
cd filepilot-ai

python -m venv .venv

# Windows
.venv\Scripts\activate

# macOS / Linux
source .venv/bin/activate

pip install -r requirements.txt
python -m filepilot.main

Development Setup

pip install -e ".[test,dev]"
pytest
ruff check .
ruff format --check .
mypy

CLI Examples

# Scan a folder
python -m filepilot.cli scan ~/Documents

# Find duplicate files
python -m filepilot.cli duplicates ~/Downloads

# Export an inventory report
python -m filepilot.cli export ~/Projects --format csv -o report.csv

# Analyze disk usage
python -m filepilot.cli disk-usage ~/

# Search indexed files
python -m filepilot.cli search ~/Documents "machine learning"

# Preview an organization plan before moving anything
python -m filepilot.cli organize ~/Downloads ~/Sorted --dry-run --rules category date

AI Providers

FilePilot AI supports both local and cloud AI providers through a unified interface. See docs/AI-PROVIDERS.md for setup guides, configuration reference, and privacy details for each provider.

Provider Mode Default URL
Ollama Local http://localhost:11434
llama.cpp / vLLM Local http://localhost:8080
LM Studio Local http://localhost:1234
OpenAI Cloud https://api.openai.com/v1
Anthropic Cloud https://api.anthropic.com
Custom endpoint Cloud / Local User-defined

Cloud providers only receive the content you choose to summarize. Local scanning, indexing, organization, and duplicate detection do not require AI.

Project Structure

filepilot-ai/
|-- filepilot/
|   |-- ai/                  # AI providers and summarization
|   |-- core/                # Scanner, indexer, organizer, duplicates, watcher
|   |-- extractors/          # PDF, Markdown, code, image, DOCX, XLSX, PPTX
|   |-- resources/           # Application icons
|   |-- styles/              # Theme manager and QSS themes
|   |-- ui/                  # PySide6 panels, tray, settings, notifications
|   |-- app.py               # Application bootstrap
|   |-- cli.py               # Command-line interface
|   |-- i18n.py              # Translation catalog
|   `-- main.py              # GUI entry point
|-- tests/                   # Unit and UI tests
|-- scripts/                 # Build scripts (Windows/macOS/Linux installers)
|-- .github/workflows/       # CI pipeline (3-platform builds)
|-- FilePilot.spec           # PyInstaller build config (Windows)
|-- pyproject.toml           # Package metadata and tooling
`-- requirements.txt         # Runtime dependencies

Architecture

flowchart LR
    UI["PySide6 UI"] --> Core["Core services"]
    CLI["CLI"] --> Core
    Core --> Scanner["File scanner"]
    Core --> Indexer["Whoosh indexer"]
    Core --> Duplicates["Duplicate finder"]
    Core --> Organizer["Organizer"]
    Core --> Watcher["Directory watcher"]
    Scanner --> Extractors["Content extractors"]
    Extractors --> Summarizer["AI summarizer"]
    Summarizer --> Providers["Local and cloud AI providers"]
    Duplicates --> send2trash["send2trash"]
    send2trash --> RecycleBin["System Recycle Bin (safe deletion)"]
Loading

Security and Privacy

Area Design
Local-first workflow File scanning, indexing, duplicate detection, and organization run locally
Optional AI Summarization can use local models or explicit cloud providers
Key storage API keys use OS keyring when available, with encrypted fallback storage
Deletion safety Duplicate removal uses the system recycle bin through send2trash
Telemetry No analytics, tracking, or background phone-home behavior

Quality Gates

The CI pipeline runs:

  • pytest — unit and UI tests
  • ruff check . — linting
  • ruff format --check . — formatting
  • mypy — static type checking
  • pip check — dependency consistency

Run the same checks locally before pushing.

Build (Cross-Platform)

FilePilot AI is packaged with PyInstaller on all three platforms. See docs/BUILD.md for complete build instructions, prerequisites, and troubleshooting.

# Quick build (auto-detect platform)
./scripts/build.sh

CI Pipeline

The GitHub Actions workflow (.github/workflows/ci.yml) automatically builds all three platforms:

Job Platform Runner Artifact Retention
build-windows Windows windows-latest .exe installer 30 days
build-linux Linux ubuntu-latest .AppImage 30 days
build-macos macOS macos-latest .dmg 30 days

Each CI run produces SHA256 checksums alongside the artifacts.

Auto-Update

FilePilot AI includes a threaded auto-update checker that queries GitHub Releases for new versions. See docs/AUTO-UPDATE.md for the full API reference and configuration details.

  • Background check every 24 hours (1 hour on failure)
  • Results cached to ~/.filepilot/update_check_cache.json
  • Fully thread-safe — runs in a daemon thread

Documentation

Guide Description
docs/BUILD.md Cross-platform build and packaging guide
docs/AI-PROVIDERS.md AI provider setup and configuration
docs/AUTO-UPDATE.md Auto-update system API reference

See docs/README.md for the full documentation index.

Roadmap

  • Application screenshots and demo GIFs
  • Summary cache with invalidation
  • Large-folder indexing performance tuning
  • More organization templates
  • More end-to-end packaging tests

Contributing

Contributions are welcome. See CONTRIBUTING.md for environment setup, style rules, and pull request guidance.

License

FilePilot AI is released under the MIT License.