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

推荐订阅源

IT之家
IT之家
博客园_首页
S
SegmentFault 最新的问题
罗磊的独立博客
博客园 - 【当耐特】
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
阮一峰的网络日志
阮一峰的网络日志
D
Docker
雷峰网
雷峰网
Google DeepMind News
Google DeepMind News
博客园 - 司徒正美
V
V2EX
大猫的无限游戏
大猫的无限游戏
V
Visual Studio Blog
腾讯CDC
宝玉的分享
宝玉的分享
酷 壳 – CoolShell
酷 壳 – CoolShell
人人都是产品经理
人人都是产品经理
T
Tailwind CSS Blog
Vercel News
Vercel News
H
Help Net Security
博客园 - Franky
D
DataBreaches.Net
aimingoo的专栏
aimingoo的专栏

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - DanielZ1-tech/shelve: Automatically sorts your D...
danielzx1 · 2026-06-21 · via Hacker News: Show HN

A native macOS menu bar app that automatically organizes your Downloads folder. Built entirely in Swift and SwiftUI — no Python, no Electron.

macOS Swift License


Features

  • Auto-classify — watches your Downloads folder and sorts files into subfolders automatically
  • Smart rules — match by file extension, keyword, or date (older than X days, newer than X weeks, etc.)
  • Auto-rename — add date prefixes, lowercase filenames, replace spaces, add custom prefixes/suffixes
  • Move to Trash — rules can trash files instead of sorting them (great for old installers)
  • TF-IDF search — fast full-text search across all your organized files
  • History mode — see every move Shelve has made, with one-click undo
  • Setup wizard — first-launch onboarding to get you configured in seconds
  • Liquid Glass UI — native macOS 26 design language throughout

Getting Started

Requirements

  • macOS 26+
  • Xcode 16+

Run in Xcode

  1. Clone the repo and open the shelve-native folder in Xcode (it detects Package.swift automatically)
  2. Set the scheme to Shelve and destination to My Mac
  3. Hit ⌘R

Build a distributable .app

# After building in Xcode (⌘B):
./build-app.sh

Drag Shelve.app to /Applications.


Keyboard Shortcuts

Shortcut Action
⌘⇧F Open search
⌘K Classify now
⌘Z Undo last move
↑ ↓ Navigate results
Tab Toggle Files / History
Open in Finder
Close search

How Rules Work

Each rule has:

  • Extensions — e.g. .pdf, .docx
  • Keywords — matched against the filename
  • Date conditions — e.g. "modified older than 30 days"
  • Rename steps — applied in order before moving
  • Move to Trash — trashes the file instead of sorting it

A file is moved if it matches an extension or keyword or any date condition. Rules are fully editable in Settings → Rules.


Config

Stored at ~/Library/Application Support/Shelve/config.json. Editable via the Settings window (menu bar icon → Settings).


Project Structure

File Purpose
AppDelegate.swift App entry point, setup wizard gate
MenuBarManager.swift Menu bar icon and menu
SearchPanel.swift Native NSPanel for the search window
SearchView.swift SwiftUI search UI
SearchEngine.swift TF-IDF search in pure Swift
Classifier.swift Rule matching, file moves, trash, rename
FileWatcher.swift FSEvents-based folder watching
Config.swift JSON config persistence
Models.swift Shared data types
SetupWizard.swift First-launch onboarding flow
SettingsView.swift Settings window (General, Rules, About)