Search README

README проекта с github.com/driceroland/Search. Одним файлом markdown: README.md.

Search

A small, fast, quiet web browser for the Mac, by Office Commun.

Search, with its tabs down the left and a page taking the rest of the window

Download for macOS → · macOS 14 or later · free · about 14 MB

Or with Homebrew: brew install --cask driceroland/tap/search


What it is

Search is a browser with nothing in the way. A row of tabs — down the left, or across the top if you prefer — and the page. There is no toolbar, no start page, no sidebar of suggestions, no account to sign into, nothing that wants your attention. You type an address or a few words in one field and you are on the page.

It uses WebKit, the engine already inside every Mac (it is what Safari runs on). That is why the whole app is about 14 MB on disk and opens instantly: there is no second copy of Chromium to download, update and keep in memory.

It was built by a design studio that spends its whole day in a browser and was tired of the ones that had become products. This one is a tool.

What it does

What it doesn't do

On purpose:

Privacy, concretely

What Where it is Who can read it
Passwords The macOS login keychain, as ordinary keychain items tagged Search Search, signed by Office Commun. Any other app triggers the system's permission dialog.
History, bookmarks, open tabs, hidden elements Small JSON files in ~/Library/Application Support/Search/ You.
Cookies and site data WebKit's own store for the app The sites that set them, as in any browser.
Extensions Unpacked in ~/Library/Application Support/Search/Extensions/, their data in WebKit's extension store Each extension, within the permissions you accepted when adding it.
News by email, the iPhone beta Only if you type your email and press Join or Ask (the What's New card, the welcome, Settings › About): one HTTPS POST to searchbrowser.app with the address, where you pressed (app-whats-new, app-welcome, app-settings), which Mac download you have and, if ticked, that you want the iPhone beta. Your Mac keeps two yes/no flags, never the address. See OptIn.swift. Office Commun, to send those emails through Resend; every one has a link to stop them, and [email protected] removes the address.
Sync with iCloud While it is on (Settings › General; on for a new install from the moment you leave the welcome, off for a Search you had before until you turn it on): open tabs, pins, spaces, bookmarks, your search engine (and its suggestions address) and look, in Search's own zone of your private iCloud database, their contents end to end encrypted. Never private tabs, history, passwords, cookies or sign-ins. See SYNC.md and ICloudSync.swift. You, on your devices signed in to your Apple Account. Not Office Commun: there is no server of ours.
Handoff While it is on (Settings › General; on for a new install from the moment you leave the welcome, off for a Search you had before until you turn it on): the address and title of the page in front, handed to macOS, which offers it to your iPhone, iPad and other Macs. Never a private tab. See Handoff.swift. Your devices signed in to your Apple Account, through Apple's Handoff.
Anything else Nowhere. There is no server. —

A private tab (⇧⌘N) has its own cookie jar and leaves nothing behind when it closes.

Apps you allow in System Settings › Privacy & Security › Automation can read the address and title of your tabs with AppleScript, and the name of the space and profile each window is in; private tabs are never shown, and a window with one in front shows neither name.

Keyboard

⌘L address · ⌘K switch tab · ⌘T new tab · ⌘W close · ⇧⌘T reopen ⌘[ ⌘] back, forward · ⇧⌘[ ⇧⌘] previous, next tab · ⌘1–⌘9 jump
⇧⌘S tabs down the left or across the top · ⌘S fold the sidebar away · ⇧⌘B bookmark this page ⇧⌘R reading mode · ⇧⌘P float the video · ⇧⌘H hide something · ⇧⌘U what is hidden here
⌘F find · ⌘D duplicate tab · ⇧⌘C copy address · ⇧⌘V paste and go ⌘Y history · ⇧⌘J downloads · ⌘, settings · ⌥⌘L passwords

Space keys (Control+1–9 by default) and the modifier used to peek at a link can be changed in Settings › Shortcuts while those features are enabled.

⌘R reloads the page; ⌥⌘R reloads it from origin, checking everything cached with the site again, as Safari's Reload Page From Origin, which is also in a right-click on the reload button.

⌃Tab and ⌃⇧Tab walk along the row of tabs; Tab stays the page's, for moving through a form. esc puts away whatever is open.

With Split View on, ⌥⌘N splits the current page and ⌃⌘← / ⌃⌘→ go from one page to the other. ⌘W closes the focused tab and gives the remaining page the whole area. Tabs › Separate Split Tabs keeps both tabs open separately.


For developers

Why the source is here

So anyone can read exactly what a browser handling their passwords and history is doing, build it themselves, or fix something that bothers them. The code is small enough to actually read — about 42,000 lines of Swift, no dependencies beyond what Apple ships with macOS, one file per concern.

Building it

A build you make yourself won't be notarized or carry Office Commun's Developer ID, so the first launch needs a right-click → Open (or an allow in System Settings → Privacy & Security). That's expected — it's the same thing that happens with any app that isn't from the App Store or a notarized DMG. Your own build also keeps its passwords apart from a signed Search's: the keychain tells the two apart by their signatures.

./build.sh release dmg also makes Search.dmg / Search.zip. ./build.sh release ship additionally notarizes and staples — that step needs a Developer ID certificate and Apple credentials, so it only really does anything for Office Commun's own releases.

How it's put together

Testing it without closing it

Turn on Settings › General › Let a script drive Search and the running app listens on a Unix socket in its own folder (readable by your user only). ./bench at the root of the repository speaks it:

./bench open https://example.com     # a tab of its own, at the end of your row, marked with a flask
./bench wait 2e7e7e89                 # until it has loaded
./bench text 2e7e7e89                 # the page's text
./bench shot 2e7e7e89 out.png         # a picture of it
./bench click 2e7e7e89 "button.go"    # click, type, submit — through the page's own events
./bench probe                         # the window's state: open panels, a modal, every window
./bench close all

Bench tabs are never selected for you, never enter the session or the history, and go when the script says so. It is how this browser is tested while somebody is using it.

An agent can drive an isolated copy of Search through ./bench-mcp, an MCP server over the same socket. Run ./build.sh from the repository root first, then register the server with your client:

claude mcp add search-bench -- "$PWD/bench-mcp"
codex mcp add search-bench -- "$PWD/bench-mcp"
agy mcp add --type stdio search-bench "$PWD/bench-mcp"

Each session starts this checkout's build/Search.app hidden, in a test world of its own, and wipes that world when it closes; the browser you use is never in reach. Its tools read a page as roles and names, or as an outline of its sections to open one at a time, click with real mouse events, type and check what the field holds, and wait on a condition, and a handle that has gone stale or a button that is covered is an error, never a guess. python3 Tests/bench_mcp.py checks it end to end.

To let an agent use the Search you have open instead, turn on Settings › About › Developer › Let coding agents use Search, and give it ./search-mcp: claude mcp add search -- "$PWD/search-mcp". Search asks you in the window each time one connects, shows a pill with Stop while it is there, and keeps it to tabs of its own; the rules are in Sources/Search/AgentControl.swift, and python3 Tests/agent_control.py checks them in a hidden probe.

python3 Tests/split_view.py, after ./build.sh, checks Split View through the app's own model in a hidden test run with its own settings and files, all removed afterwards. It never makes or shows a window; what can only be seen (dragging onto a page's edge, the divider under the pointer, the motion) is checked by hand on a release candidate.

Contributing

Issues and pull requests are genuinely welcome — see CONTRIBUTING.md for how this is reviewed and what tends to get merged. The short version: small changes, no new dependencies, nothing that phones home. Found a security problem? Please report it privately, as SECURITY.md says.

License

MIT — see LICENSE. Do what you want with the code. "Search" and the app icon are Office Commun's; please rename a fork before distributing it under another name.

Search (driceroland/Search)

Ищем в базе…

Что это такое?Search — это небольшой быстрый браузер на WebKit для macOS от Office Commun, созданный без панели инструментов, стартовой страницы, боковой панели или аккаунта, которые мешали бы работе.
Это браузер на Chromium или что-то полегче?Он использует WebKit, тот же движок, что и Safari, вместо встраивания Chromium, поэтому всё приложение занимает на диске лишь около 3 МБ.
Он для продвинутых пользователей Mac или для всех?Он рассчитан на всех, кому нужен спокойный минималистичный браузер, но разработчики особенно приглашаются, поскольку вся кодовая база на Swift (~12 700 строк) достаточно мала, чтобы её можно было прочитать и проверить.
Какая версия macOS нужна для запуска?macOS 14 или новее для самого браузера, и macOS 15.4 или новее, если хотите использовать расширения Chrome.
А он вообще куда-то стучится в сети?Единственная сетевая активность, кроме запрашиваемых вами страниц, — небольшая ежедневная проверка новой версии приложения; телеметрии, аналитики и отчётов о сбоях нет.
Что происходит с моими паролями и данными о просмотре?Пароли хранятся в связке ключей macOS, зашифрованы системой и читаемы только Search; история, закладки и списки скрытых элементов лежат в локальных JSON-файлах, и ничего не синхронизируется ни на какой сервер.
Замедляет ли блокировщик рекламы страницы?Нет — это WKContentRuleList, компилируемый один раз при запуске и применяемый внутри сетевого стека WebKit до отправки запроса, поэтому блокировка не имеет никаких издержек во время работы, в отличие от блокировщика на JavaScript.
Можно ли перенести пароли из Chrome или других браузеров?Да, Search может импортировать сохранённые аккаунты из Chrome, Arc, Dia, Brave или Edge в один клик, и при импорте ничего не покидает Mac.
Что на самом деле делает функция скрытия ⇧⌘H?Она позволяет кликнуть любой элемент, вроде баннера с куки или всплывающей формы подписки, чтобы навсегда скрыть его на этом сайте, причём скрытие внедряется как таблица стилей до того, как страница даже отрисуется, поэтому элемент никогда не мелькает.
Почему Office Commun создал ещё один браузер, вместо того чтобы пользоваться Safari или Chrome?Дизайн-студия проводит в браузере весь день и устала от браузеров, ставших раздутыми «продуктами», полными отвлекающих вещей, поэтому вместо этого они сделали минималистичный инструмент.
Какие есть похожие проекты?tinycast, tendedero, MacPacker, OpenYoink, Maccy, clients, Crest, DockDoor
Автор
driceroland
Размер
9.5 MB
Звёзды
3.3K
Возраст
2 мес
Коммиты · 90 дней