Skip to content
المشاريع

حول

Rename files by what is inside them. A free, open-source Hazel alternative for Mac that needs no rules and runs on-device · 按内容自动起名的开源 Mac 文件整理

تطوير الويب والتطبيقات

كيف تُقاس هذه الأرقام

18 نجمة2 التفرعات +3 خلال 24 ساعة

النمو المقاس للنجوم

خلال 24 ساعة
+٣
خلال 7 أيام
جارٍ جمع السجل
خلال 15 يومًا
جارٍ جمع السجل
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Filewise

Filewise

Rename files by what is inside them. A free, open-source Hazel alternative for Mac that needs no rules and runs entirely on your machine.

English · 中文 · Website · Download

Stars Version MIT macOS 14+

Filewise before and after table

brew install --cask gatheon-apps/tap/filewise

Filewise and Hazel

Hazel is the classic Mac folder-automation app: you write rules ("if the name contains invoice, move it to Finance"), and it runs them. Filewise starts from the other end. It reads the file, then proposes a name, so a scan called Scan0007.pdf gets a name like 2026-07-01_Lease agreement.pdf without any rule written for it.

Hazel Filewise
Price $42 Free, MIT licensed
How it decides Rules you write and maintain Reads the content (PDF, Office, text, scans and screenshots) and proposes a name
Before anything changes Rules run automatically A table of proposals; only the rows you tick are renamed
Where the work happens On your Mac On your Mac, with a local model; no account, no upload

If you already have good Hazel rules, keep them. Filewise is for the folders where no rule fits: Downloads, Desktop, scans from your phone.

What it does

  • Names files from their content. PDFs, Office documents and text files are read directly; scans and screenshots go through the Vision framework that ships with macOS (Chinese and English text recognition). Names follow a "when, who, what type, about what" pattern.
  • Shows a table first. Each row lists what it read, the proposed name and how sure it is. Nothing is renamed until you tick the row.
  • Can undo. Every rename is written to an undo log, and one click restores the original names.
  • Keeps the original name when it cannot read a file. Garbled or weak content does not get an invented name.
  • Never deletes files. It only renames and moves.
  • Watches places where files land, such as Downloads and the Desktop, and prepares proposals in the background so you can confirm them later.
  • Works as an everyday file manager too: tabs, dual panes, search, preview. Once you turn on the content index in Settings, you can also search by words inside files.

Website: https://filewise.gatheon.com/en/

One real run

The numbers below come from a write-up on the website. It used 13 made-up demo files with names like IMG_4821 and 下载 (3), about 2.6 MB in total, on a Mac with an M3 chip and 16 GB of memory.

  • The first run took 21.4 seconds, including the time to load the local model into memory. With the model already loaded, running the same files again took 1.0 second.
  • 9 files received rename proposals: 6 correct, 1 roughly right, 2 wrong. The other 4 kept their original names.
  • All 3 proposals marked as high confidence were correct. The mistakes were all in medium confidence.
  • Applying the 9 renames took 0.1 seconds. After Undo, all 13 files had their original names back, and their contents were checked file by file and had not changed.

This ran the code from during the 0.8.1 development cycle, with the Qwen2.5-3B model of that time. 0.9.0 changed the default model and these numbers have not been re-measured. Thirteen files is a small sample and not an accuracy figure. Write-up (Chinese version of the page has the full table): https://filewise.gatheon.com/guides/real-test-organize-13-files-mac

Install

Requires Apple silicon and macOS 14 or later. The official installer is notarized by Apple and is about 3 MB. It does not contain a model. On first launch the app downloads a model file of about 2.7 GB from ModelScope or Hugging Face. If your Mac has Apple Intelligence turned on, the system model can be used and no download is needed. You can also point it at an Ollama you installed yourself.

Privacy

  • File contents, file names and paths are not uploaded. Reading, text recognition and naming all happen on your Mac. There is no account.
  • The official installer sends anonymous usage statistics by default: feature events, app and system version, a random device ID and coarse buckets. No file names, paths or contents. You can turn it off in Settings.
  • A build from source sends no statistics by default; the address has to be set explicitly at build time. In that case the Settings page says "this build has no analytics address configured".
  • Update checks and model downloads are ordinary network requests. A build from source has no auto-update by default.

Privacy policy of the official build: https://filewise.gatheon.com/en/privacy

Build from source and run the tests

Requirements: a Mac with Apple silicon, macOS 14 or later, Xcode with command line tools. Package.swift declares Swift tools version 5.9 as the minimum; the build and tests in this repository were verified with Xcode 27.2 (Swift 6.4.2). You also need python3 for the localization check script. The first build fetches Sparkle from GitHub.

Run the tests:

cd GuiweiApp
python3 Localization/loc.py build   # generate the language tables first; some tests read them
swift test

Some tests render views off-screen and some need a real model. The ones that need a model skip themselves unless the environment variables are set (FILEWISE_REAL_MODEL=<path to gguf>, FW_PERF_REAL=1). To run only the logic tests without rendering views:

swift test --skip Offscreen --skip Hosting --skip PermissionGuide

Build the app:

./build.sh

The output is dist/Filewise.app. The script runs the localization check, compiles, assembles the bundle and signs it ad hoc. Set CODESIGN_IDENTITY to use your own signing identity. It does not install into /Applications, does not notarize and uploads nothing.

A build from source differs from the official one in a few ways:

  • No auto-update. The Sparkle feed is written and the updater started only when both FILEWISE_FEED_URL and FILEWISE_SU_PUBLIC_KEY are set.
  • The default Bundle ID is dev.local.filewise, different from the official one, so macOS treats them as two separate apps. On the first run of your own build, permissions such as Full Disk Access have to be granted again. With ad-hoc signing you have to grant them again after every rebuild. Use FILEWISE_BUNDLE_ID to choose another value.
  • No anonymous statistics. To use your own receiver, set FILEWISE_TELEMETRY_ENDPOINT and FILEWISE_OPTIN_ENDPOINT.
  • The model is not bundled and is downloaded on first launch, like the official slim build.

On first launch the app guides you through granting Full Disk Access, which it needs to read file contents in Downloads, Desktop and Documents.

Data lives in ~/Library/Application Support/Filewise. Deleting the app and that folder clears everything.

Layout

GuiweiApp/                 Swift package
  Sources/Guiwei/          the app: UI, organizing engine, naming, undo, model download, updates
  Sources/FilewiseCore/    shared code such as string lookup
  Sources/CLlamaBridge/    a thin C bridge to llama.cpp
  Sources/FWCLI/           the fw command line tool
  Sources/FilewiseMCP/     a read-only MCP interface (experimental)
  Tests/                   unit tests
  Localization/            Chinese and English strings and the loc.py check
vendor/                    prebuilt llama.xcframework (macOS slice, about 10 MB)
assets/                    app icons
licenses/                  original license texts of llama.cpp and Sparkle
build.sh                   builds dist/Filewise.app from source
install.sh                 reads the official update feed and installs the latest official build

The app target in Package.swift is called Guiwei. That was an early internal name; the product has always been Filewise.

Model and licenses

The default model is Qwen3.5-4B (Q4_K_M, about 2.7 GB), licensed under Apache-2.0, from the Qwen team at Alibaba Cloud. The GGUF conversion comes from unsloth/Qwen3.5-4B-GGUF. The repository contains no model weights; the download URLs and sha256 are in GuiweiApp/Sources/Guiwei/ModelDownloader.swift. Filewise also supports Apple Intelligence and Ollama. See THIRD-PARTY-NOTICES.md for the licenses of each model.

License

The source code is released under the MIT License, see LICENSE. The name and icons of Filewise are not covered by the MIT License, see TRADEMARK.md. Licenses of third-party components and models are in THIRD-PARTY-NOTICES.md.

Other Mac tools by the same developer

  • Shotbox: a menu bar screenshot tool that recognizes the text in each screenshot on your Mac, so one remembered word finds the original image later.
  • Zapthen: hold the right mouse button for 0.3 seconds to open a panel that searches apps, does quick math and browses the clipboard.

Feedback

Open an issue in this repository, or write to [email protected].

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…