Skip to content

About

Octopus takes care of your Mac: cleanup, app management, security checks and system tools, in one native macOS window.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Octopus icon

Octopus

Latest version macOS 14+ Universal app MIT License

🇬🇧 English · 🇫🇷 Français


Octopus takes care of your Mac: cleanup, app management, security checks and system tools, in one native macOS window.

Its cleanup and maintenance functions are a graphical interface for Mole, tw93's command-line tool: every Mole command, including those missing from the mo menu, is grouped by category with its options as checkboxes, and runs in a real embedded terminal (Mole's interactive screens, sudo and Touch ID work just like in Terminal). Around it, Octopus adds its own native tools: security checks in the spirit of SilentKnight, SSH keys, network ports, startup items, Homebrew, hidden settings and more.

Octopus is available in English and French, following your Mac's language or the one chosen in its settings.

Note

Built with the help of AI. Octopus is a personal project I built with Claude, Anthropic's AI assistant: my skills alone wouldn't have been enough to code it entirely by myself. I decided what the app should do, made the design choices and tested every version on my own Mac; Claude wrote a large part of the code. Just being upfront about it.

Important

Octopus isn't affiliated with Mole or its author. It drives the mo installed on your Mac, without modifying it. Commands that delete files are Mole's: preview them first.

📸 Screenshots

Octopus home

System status Disk explorer
System status Disk explorer
Clean the disk Security checks
Clean the disk Security checks
Homebrew SSH keys
Homebrew SSH keys
Section page VirusTotal
Security section page VirusTotal

Menu bar and notifications
Menu bar and monitoring settings

✨ Features

🏠 Home

Your Mac's health score and its rings (CPU, memory, security, disk, battery), the things to do (Mole to install or update, disk almost full, security issues, Full Disk Access), the latest commands you ran, and a card for each section, in its color, with its tools.

🧹 Cleanup (Mole)

  • Clean the disk: caches, logs, temporary files and leftovers of apps already uninstalled. Protected paths can be edited.
  • Project artifacts: old build artifacts (node_modules, target, dist, .venv…). Pick the root folders of your projects with the macOS file picker, see which folders Mole scans, and remove any of them. Artifacts modified in the last 7 days (such as a project you are building) are left unchecked by Mole.
  • Installer files: .dmg, .pkg, .iso, .xip, .zip lying around.
  • Time Machine snapshots: local snapshots and their deletion, free space, and the purgeable space macOS frees on its own.
  • Toolchains and SDKs: what Mole points out but leaves alone: Rust toolchains, Android NDK versions, Xcode archives and simulator runtimes, each with its size. The default toolchain, the newest version and the latest archive of each app are marked; NDK versions and archives go to the Trash.
  • Preview first: --dry-run is checked by default on every command that deletes; a real run asks for confirmation. The generated command line is always shown before launch. In Settings, the preview can be turned off by default, tool by tool, for the commands you often run for real.

📦 App management

  • Uninstall apps (Mole): an app and all its related files.
  • Slim universal apps (Mole, Apple Silicon): removes the Intel code.
  • Default apps: which app opens which file type or link, and changing it, for one type or several at once. Extensions can be added to the list.
  • Startup items: LaunchAgents and LaunchDaemons installed by apps, with their signature and state; one-click filters (running, disabled, to check), marking a checked item OK so it no longer counts as to check (it comes back if its plist changes), enabling, disabling and moving several items to the Trash at once, and showing the plist. Login items tab: apps that open at login, with those whose app can't be found flagged, and removal from the list in a few clicks.
  • Homebrew: outdated packages and one-click upgrades, installed formulae and casks (with each cask's app icon), services, cleanup and autoremove. Every package has its own sheet: versions, dependencies, packages that use it, size on disk and Homebrew's caveats. Octopus also detects and repairs a cask stuck on “already an App at…”. A package can be excluded from updates and brought back at any time; apps that update themselves are flagged and left out of “Update all”. Uninstalling can also erase the app's data (--zap), warns before removing a formula other packages need, and runs autoremove afterwards. A Consistency tab finds apps updated outside Homebrew (to resync them, or to make Homebrew forget them without touching the app), manually installed apps a cask could manage (to hand over one by one or in batches), and duplicate apps. Lists scroll on their own: tabs and buttons stay in view. Upgrades never stop on Homebrew's [y/n] confirmation.

📊 System (Mole)

  • System status: CPU, memory, disks, network, battery and the most demanding processes, live and charted, with shortcuts to the related tools.
  • Disk explorer: a fast native scan of the Mac or a folder, as rings or rectangles you click to drill down; with the largest files, old and large files, development artifacts, and moving to the Trash.
  • Optimize: refreshes system caches and services, and runs safe maintenance tasks.
  • History: Mole's recent operations and deletions.

🛡️ Security

  • Checks: SIP, signed system volume, boot security policy, Gatekeeper, FileVault, firewall, automatic updates, XProtect and its last scans, firmware, and pending macOS and security updates (checked when the view opens).
  • App inspector: who signed an app, whether it comes from the App Store or is notarized (an automated scan by Apple, not a review), whether it's sandboxed, its quarantine and entitlements; removing the quarantine attribute. The raw spctl and codesign checks can also be run in the terminal.
  • VirusTotal: drop files (or apps) to have them checked by over 70 antivirus engines. Only the file's SHA-256 hash is sent; a file VirusTotal doesn't know can be uploaded on request, after a warning, with live upload and analysis progress. Detailed report per engine, account quotas (hour, day, month). Needs a free VirusTotal API key, kept in the macOS Keychain.

🧰 Tools

  • SSH keys: your keys and the agent's (1Password included), the hosts in ~/.ssh/config with a form editor (inherited options, address checks), known hosts, connection testing, and sending a public key to a host.
  • Network ports: which process listens on which port, with its icon and command line; root processes included, with Touch ID.
  • Network: addresses, router, DNS and public IP; Wi-Fi (signal, band, channel, standard, link rate); live throughput for each interface; a speed test (macOS's networkQuality tool); local network devices, with their names, Bonjour services (printer, AirPlay, Home Assistant…) and vendor; diagnostics (ping, traceroute, DNS lookup, DNS cache flush) and a hosts file editor.
  • Hidden settings: Finder, screenshot, Dock and maintenance options usually only reachable with defaults write.

⚙️ Mole itself

Touch ID for sudo and shell completion, with their current state shown when the tool opens. Mole updates: Octopus spots a new version and updates it with Homebrew or mo update, depending on how Mole was installed. Settings › Updates shows Octopus and Mole versions side by side (green when up to date, orange when an update is available), and a discreet link to uninstall Mole. If Mole is missing, Octopus says so in every Mole tool and offers to install it.

🧭 Section pages

Click a section title in the sidebar, a card on the home screen, or press ⌘1 to ⌘6: the section's page lists its tools with a detailed description, tags (Mole or native, deletes files, administrator, network…), their live status (Homebrew updates, startup items to check, security, space to reclaim, Mac health…), when you last opened them, and a quick action (run the preview, check now, choose files, enable Touch ID…). Arrow keys move between tools, ⌘0 goes back home. An orange dot next to a section in the sidebar means one of its tools needs your attention. On the Security page, drop an app to inspect it, or other files to have them checked by VirusTotal.

🎨 Interface

English or French; Light, Black, Abyssal or system themes; sidebar sections and tool headers colored by category, the sidebar fitting its longest label or resized by dragging its edge; an embedded terminal (xterm.js) for Mole's colored output and keyboard-driven screens.

🔔 Menu bar and notifications

Settings › Monitoring: Octopus checks what you choose in the background, each check with its own frequency: Homebrew updates (except pinned and excluded packages), new Mole version, low disk space (adjustable threshold), security checks turning into warnings, suggested cleanup (mo clean preview, adjustable threshold), new startup items (LaunchAgents and LaunchDaemons) and macOS updates. A notification is only sent when something is new, and clicking it opens the right tool. Menu bar option: closing the window hides it and removes Octopus from the Dock, its icon sums up what is waiting, with the number of available Homebrew updates next to it: a click shows the available Homebrew updates, a double-click opens Octopus, a right-click shows the full menu; ⌘Q always quits. Open at login option (starts without a window when the menu bar is on) and a do not disturb at night period. Everything is off by default.

  • Limitation: an app that automatically quits apps with no open window will also quit Octopus when you close its window. Add Octopus to its exceptions to keep it in the menu bar.

🧩 Compatibility

macOS 14 (Sonoma) or later, on Apple Silicon and Intel Macs.

Mole is needed for the cleanup, app uninstall and system functions: Octopus can install it for you. The other tools work without it. Homebrew is only needed for the Homebrew view.

🔐 Required permissions

Permission Why When
Full Disk Access Lets Mole clean protected folders, and the security checks read system logs. Flagged on the home screen; granted from Settings › Permissions.
Administrator password / Touch ID Commands that need root (some checks, root ports, snapshots, hosts, system startup items, the network device list). Only when you launch one of them. Touch ID is used if it's enabled for sudo.
Location (optional) macOS only gives the Wi-Fi network name to allowed apps. Octopus never reads your Mac's location. When you click Allow location access in the Network view.
1Password (optional) Using the keys of the 1Password SSH agent. When an SSH connection needs a key.
Notifications (optional) Let you know when monitoring finds something to do. When you turn monitoring on, or from Settings › Menu bar and notifications.
System Events automation (optional) Reading and removing apps that open at login. When you open the Login items tab of Startup items.
Keychain (optional) Keeping your VirusTotal API key. When you save the key in the VirusTotal tool.

🔒 Privacy

Octopus collects nothing and sends nothing about you: no account, no analytics, no tracking. The only network requests it makes itself are:

  • the latest Mole version (GitHub);
  • your public IP address, in the Network view and only when you ask for it (ipify);
  • VirusTotal, only in the VirusTotal tool and with your API key: the SHA-256 hash of the files you check, your account quotas, and a file itself only if you choose to upload it (it then becomes available to VirusTotal's partners);
  • the speed test, only when you run it (Apple's servers, through macOS's networkQuality tool);
  • the IEEE's public vendor list, only if you download it (none of your devices' addresses are sent);
  • monitoring checks, if you turn it on: the same requests as the latest Mole version, Homebrew and softwareupdate above;
  • Octopus updates (this GitHub repository);
  • the tools you launch (Homebrew, softwareupdate, ping, SSH…), exactly as they would from Terminal.

📥 Installation

  1. Download Octopus-x.y.z.dmg from the latest release.
  2. Open it and drag Octopus onto the Applications folder.
  3. Launch Octopus from your Applications folder.

Warning

Octopus isn't notarized by Apple. It's signed with the author's own certificate, not with a paid Apple Developer account, so macOS blocks it the first time it's opened. This is expected; you only need to allow it once:

  1. Open Octopus: macOS says it can't verify it. Click Done.
  2. Open System Settings › Privacy & Security and scroll down to the Security section.
  3. Next to the message about Octopus, click Open Anyway, then confirm with your password.

If you prefer the Terminal: xattr -dr com.apple.quarantine /Applications/Octopus.app

You can check that the download is genuine by comparing its SHA-256 checksum (shasum -a 256 Octopus-x.y.z.dmg) with the one given in the release notes.

🔄 Updating

Octopus checks for a new version at launch, then once a day. A banner announces it with what's new, in the app's language; Install and relaunch does the rest. You can also check from Settings › Updates. Updates are signed, and Octopus refuses any file that wasn't signed by the author.

From a 0.x version (the Swift version), the update to 1.0 installs as usual, and your preferences (theme, language, Homebrew exclusions) carry over.

📝 Changelog

1.5.0

  • Toolchains and SDKs (new tool, Cleanup section): older Rust toolchains, Android NDK versions, Xcode archives and simulator runtimes, which Mole points out without removing. Each comes with its size and a button to show it in the Finder; the default toolchain, the newest version and the latest archive of each app are marked. NDK versions and archives go to the Trash.
  • Menu bar: the number of available Homebrew updates is shown next to the icon.
  • Updates: the release notes in the update banner and in Settings follow the app's language (from the next update on).

1.4.0

  • Startup items: mark an item to check as OK once you have checked it: it no longer counts as to check (card, sidebar dot, section page). It comes back if its plist changes, and "Check again" undoes it.
  • Menu bar: a click on the icon lists the available Homebrew updates (five at most, with their versions), a double-click opens Octopus, a right-click keeps the full menu.
  • Homebrew: upgrades no longer stop on the [y/n] confirmation added in Homebrew 6.
  • VirusTotal: the analysis status is the one read from VirusTotal ("queued", "being scanned") instead of always "queued"; a report that is still empty (file just sent, by Octopus or another app) is read again until it is complete; "Waiting for its turn" for Octopus's own queue.
  • Project artifacts: explains why recent artifacts (less than 7 days old, such as a Rust project's target/ you are building) stay unchecked in Mole.

1.3.0

  • Section pages: click a section title in the sidebar (or press ⌘1 to ⌘6) to open its page. Every tool shows a detailed description, tags (Mole or native, deletes files, administrator…), its live status, when you last opened it, and a quick action (run the preview, check now, choose files…). Arrow keys move between tools.
  • Home: a card for each section, in its color, under the latest commands; the latest commands now fit on two columns.
  • Sidebar: an orange dot next to a section when one of its tools needs your attention.
  • Security page: drop an app to open it in the App inspector, or other files to have them checked by VirusTotal.
  • ⌘0 goes back to the home screen.
  • Homebrew: "Everything is up to date" in green, a single Refresh button in the Consistency tab (it also rescans the apps), and "0 bytes" in green when there is nothing to clean.
  • Terminal: clearer text before a command is run.

1.2.0

  • VirusTotal: new Security tool. Drop files or apps to have them checked by over 70 antivirus engines: only the file's hash is sent. An unknown file can be uploaded on request, with live upload progress (percentage, speed, time left) and analysis progress. Detailed report per engine, account quotas, and the API key kept in the Keychain.
  • Project artifacts: choose the root folders of your projects with the macOS file picker, see the folders Mole scans and remove any of them.
  • Settings: the --dry-run preview can be turned off by default, tool by tool. A real run still asks for confirmation.
  • Settings › Updates: Mole's version next to Octopus's, in green when up to date and orange when an update is available, with install and update buttons. "Uninstall Mole" moves here, as a discreet link, and leaves the sidebar.
  • Touch ID for sudo and Shell completion: the current state shows up as soon as the tool opens. The "Status" button is gone.
  • Sidebar: its width fits the longest label ("Slim universal apps" is no longer cut off), and it can be resized by dragging its edge (double-click to go back to automatic).
  • Homebrew: lists scroll on their own, tabs, buttons and column headers stay in view.
  • Mole missing: every Mole tool shows an orange banner with an "Install Mole" button.
  • Terminal: when a command waits in another tool (a confirmation, a password), a button takes you to it.
  • The latest Mole version is checked again after installing Mole, or if GitHub didn't answer at launch.
  • "About" window: clearer wording ("it drives the Mole command-line tool installed on your Mac").

1.1.2

  • Menu bar: the number of Homebrew updates follows what the Homebrew tool shows. Updates made between two checks and packages excluded in the meantime no longer linger there.

1.1.1

  • Startup items: new Login items tab, with the apps that open at login, the ones "Login Items" checks in Optimize. Apps that can't be found (leftovers from uninstalled apps) are flagged and can be removed from the list, even when several share the same name.
  • Text fields: no more automatic capitalization or correction in searches, host names or paths.
  • Menu bar: Settings explain why Octopus may quit along with its window (an app that quits apps without windows) and how to avoid it.

1.1.0

  • Menu bar and notifications: Octopus monitors Homebrew and Mole updates, disk space, security, cleanup, new startup items and macOS updates in the background, each at its own frequency, and notifies you. Options to keep it in the menu bar (no Dock icon), open it at login and not disturb you at night.
  • "About Octopus" window brought back from the Swift version: version, Mole, credits and links. Open it from the Octopus menu or from Settings.
  • App menu in French or English, following the chosen language, with "Settings…" (⌘,).
  • The window keeps its size and position between launches.
  • Home and System status: health status, memory pressure and battery condition are translated.
  • System status in terminal mode: the display no longer scrolls in a loop (the terminal got the wrong size).
  • Hidden settings: cards spread across balanced columns, the page fits better on small screens.
  • Time Machine snapshots: clearer action bar, no useless buttons when there is nothing to delete.

1.0.0

  • A new version of Octopus, rewritten with Tauri (Rust and React): redesigned interface, Light, Black and Abyssal themes, sidebar colored by category.
  • Disk explorer: a new native scan, much faster, as rings or rectangles, with the largest files, old and large files, and development artifacts.
  • Network: Wi-Fi (signal, band, channel), live throughput, speed test, and local network devices with their names, services and vendors.
  • Homebrew: a detailed sheet for each package, clearer exclusions, apps handed over to Homebrew in batches.
  • System status: network throughput chart and shortcuts to the related tools. Startup items: one-click filters.
  • SSH keys: address and user name checks in the host editor.
  • Updates: a banner announces new versions, installed and relaunched in one click. Your preferences from the previous version carry over.

0.3.1

  • Security: installing XProtect data updates from Pending updates no longer fails with “No such update”.

0.3.0

  • Homebrew: new Consistency tab. It finds apps updated outside Homebrew (a DMG installed by hand…) and resyncs them, or makes Homebrew forget an app without touching it (a beta, for example). It also lists apps installed by hand that a cask could manage, and apps installed twice.
  • Homebrew: updates show the version actually on your Mac; apps that update themselves are flagged and left out of Update all.
  • Homebrew: uninstalling can also delete the app's data (--zap), warns when other packages need a formula, and removes unneeded dependencies afterwards (autoremove).
  • Works with the new location of Homebrew's package catalog (Homebrew 7).
  • Time Machine: purgeable space explained (macOS frees it on its own), shown in grey instead of orange.
  • New card design for the figures in Time Machine and the disk explorer, and outlined cards on the home page and in system status.

0.2.0

  • Each tool now has its own terminal: switching tools no longer shows the previous tool's command.
  • Homebrew: exclude a package from updates (right-click), and include it again later.
  • App inspector: sandbox status always shown, what notarization does and doesn't mean, full signing chain, and a button that runs spctl and codesign in the terminal.
  • Clearer description of Optimize.
  • Closing the main window now quits Octopus, instead of leaving the Settings window open.

0.1.0

  • First public version, in English and French.
  • Every Mole command with its options, run in an embedded terminal; Mole install and update.
  • Native views for system status, disk explorer and history.
  • Security checks, app inspector, SSH keys, network ports, network, startup items, Homebrew, Time Machine snapshots, default apps and hidden settings.
  • Home view, light and dark mode, About window, app icon made for macOS 26, Sparkle updates.

🛠️ Building from source

Requirements: Node.js 20 or later and Rust (Xcode isn't needed, only its command line tools: xcode-select --install).

git clone https://github.com/Aervorn/MacOS_Octopus.git
cd MacOS_Octopus
npm install
npm run tauri dev

npm run tauri build builds the app and its DMG in src-tauri/target/release/bundle/.

src/                    interface (React, TypeScript)
├── app/                window, sidebar, update banner
├── features/           one view per tool (disk, security, network, Homebrew, SSH…)
├── terminal/           embedded terminal (xterm.js)
├── ui/                 shared components (cards, rings, charts…)
└── locales/en.json     English translations (keys are the French texts)
src-tauri/              the app's core (Rust)
├── src/mole/           Mole detection, commands and updates
├── src/tools/          native tools (security, network, Homebrew, SSH, startup…)
├── src/disk/           disk scanner
└── mole-commands.json  the catalog of Mole commands and their options
Design/                 icon and DMG background
scripts/release.sh      builds a release: DMG, signed update, notes

Mole commands are described in src-tauri/mole-commands.json (title, options, actions): a new Mole option usually only needs a line there. For safety, the interface never sends a command line: the Rust core rebuilds it from this catalog.

scripts/release.sh builds a release like the published ones (signed universal app, DMG, signed update archive, latest.json, notes). It needs create-dmg, a signing certificate (its name is set at the top of the script, and only src-tauri/tauri.release.conf.json uses it: anyone can build without one), an update key (npm run tauri signer generate) whose public part goes into src-tauri/tauri.conf.json, and Sparkle's sign_update for the users of the old Swift version.

🤝 Contributing & issues

Bug reports, ideas and pull requests are welcome!

  • Found a bug? Open an issue with your macOS version, your Mole version (mo --version), what you did and what happened.
  • A problem with a cleanup itself? It probably comes from Mole: check whether it also happens with mo in Terminal, and if so, report it on Mole's repository.
  • A pull request? Keep it focused on one change. Interface texts are written in French in the code and translated into English in src/locales/en.json.

⚠️ Disclaimer

Octopus is provided “as is”, without any warranty. Cleanup and system commands delete files and change settings: preview them, and keep a backup of your Mac. The author can't be held responsible for any data loss or other damage.

Octopus isn't affiliated with Mole, Apple, Homebrew, 1Password or The Eclectic Light Company. Their names are used only to describe how the app works.

📄 License

Octopus is released under the MIT License.

It drives Mole (GPL-3.0), which isn't included and must be installed separately. It's built with Tauri (MIT / Apache-2.0) and its terminal uses xterm.js (MIT).

About

Octopus takes care of your Mac: cleanup, app management, security checks and system tools, in one native macOS window.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages