Privacy

Lightspot works on your Mac and keeps what it learns there. This page lists every source it reads, everything it stores, the network requests it makes and when, and the commands it runs, as of version 1.4.3.

Lightspot guide
  1. Overview
  2. Install, update and uninstall
  3. Searching and the app grid
  4. Calculator and conversions
  5. Developer tools
  6. Terminal history and projects
  7. Custom commands, web search and snippets
  8. Browser, clipboard and system
  9. Clean Dev Mac
  10. Mac Tweaks
  11. Turning off Apple Spotlight
  12. Menu bar and settings
  13. Privacy
  14. How Lightspot works

In short

  • No file index. Clean Dev Mac measures cache folders while it is open, and looks for git repos in your home folder only when you ask it to. Mac Tweaks reads a fixed list of places, and only the section you open.
  • No account, no analytics, no crash reporting, no ads.
  • Three network requests: a daily check for a new release on GitHub, which you can turn off; your public IP address from Cloudflare’s 1.1.1.1, only when you ask for it; and CleanDevMac’s cleaning rules from GitHub, when you open Clean Dev Mac.
  • Clean Dev Mac removes only what you tick, after showing the plan, and logs each clean to ~/.cleandevmac/clean.log.
  • Mac Tweaks, likewise, changes only what you tick, after showing the plan, and logs each apply to ~/Library/Application Support/Lightspot/mac-tweaks.log. Its Settings section saves each value it changes, and Background Items each item it turns off or deletes, to an undo journal first. It makes no network request.
  • Clipboard history stays in memory and is gone when Lightspot quits.
  • Search history keeps what you opened, not what you copied. Everything Lightspot stores is in its preferences and one folder, which the uninstaller deletes, except Mac Tweaks’ undo journal and Dock backup, which it keeps so that a reinstalled Lightspot can still undo.

What Lightspot reads

SourceWhat exactlyWhen
Applications/Applications, ~/Applications, /System/Applications (+ Utilities), /System/Library/CoreServices/Applications: app names, icons, bundle IDs and categoriesAt launch and when the panel opens, at most once a minute
zsh historyThe last 2 MB of your history fileWhen the panel opens and the file changed
Editor recent projectsThe recent-folder lists of VS Code, Cursor, Zed, JetBrains IDEs, Android Studio and Sublime TextWhen the panel opens and a list changed
Default browserBookmarks, the last 3 or 7 days of history (or none), and open tab titles and addressesIn the background while you search
ClipboardText you copyEvery 0.6 seconds, by checking whether the clipboard changed
FinderThe folder of the front Finder windowWhen the Terminal in Finder Folder action matches your query
Processes and portsProcess names, CPU and memory use; processes listening on TCP portsWhen the panel opens, and while you type a kill query
HardwareLoad, memory, disk space, battery, uptime, network addressesOnly for sys and IP queries
System settings stateSpotlight’s shortcut, process and indexing state; which macOS shortcuts use Space; /etc/pam.d/sudo_local for Touch IDWhen the panel or menu opens, or the related action matches
System Settings search termsThe Info.plist of every System Settings pane and the list of search terms it names, from /System/Library/ExtensionKit/Extensions and System Settings’ own foldersOnce, at launch, in the background
Clean Dev Mac: cachesThe sizes of the folders cdm’s rules name, such as ~/Library/Developer/Xcode/DerivedData or ~/.npm/_cacache, a few of them in your own temp folders under /private/var/folders (clang’s module cache, Node’s compile cache, Chrome’s leftover copies); never ~/Library/Containers or ~/Library/Group ContainersWhen you open Clean Dev Mac, at most every five minutes
Clean Dev Mac: file datesThe dates of the files in each Android emulator’s folder and in Claude Code’s project folders, and the small ~/.claude/sessions files that name the sessions running now, never a conversation’s contents; for Chrome’s leftover copies, when each was made and which browser it is, and the start time and program path of your own running processes, kept for that scan onlyWith each Clean Dev Mac scan
Clean Dev Mac: notesHow much the swap volume uses; the size of the two temp folders a restart empties, your own and /private/tmp, and of Claude Code’s projects folder; deleted files that apps still hold open on your home volume, of which only the total and the three biggest holders’ names are kept; and two settings in Claude Code’s settings.json, which Lightspot never writesWith each Clean Dev Mac scan
Clean Dev Mac: code reposFolder names in your home folder, six levels deep, without entering ~/Library, Documents, Desktop, Downloads, Pictures, Movies or Music; each repo’s list of git-ignored files; the sizes of what is offeredOnly when you press ⇥ or Scan repos in Clean Dev Mac
Clean Dev Mac: rules and appsYour ~/.cleandevmac/rules if it exists; the names of running apps, to warn about the ones that would rewrite a ticked cacheWhen you open Clean Dev Mac and when it shows the plan
Free Up Space: appsThe names in /Applications, and the Info.plist of each Install macOS app and of GarageBand, iMovie, Keynote, Numbers and Pages there; whether LaunchServices knows of Logic Pro or MainStageWhen you open Mac Tweaks on Free Up Space; a scan is kept for five minutes
Free Up Space: foldersThe entries of ~/Library/iTunes/iPhone Software Updates and iPad Software Updates, /Library/Application Support/com.apple.idleassetsd/Customer, GarageBand’s three library folders and ~/Library/Caches, with the size and owner of each one offered; the wallpaper index (~/Library/Application Support/com.apple.wallpaper/Store/Index.plist), only when there are aerial videos to offer; Clean Dev Mac’s rules, from memory, ~/.cleandevmac/rules or the app’s copyWith each Mac Tweaks scan
Free Up Space: toolsThe unavailable simulators Xcode’s simctl lists, only once ~/Library/Developer/CoreSimulator/Devices exists; the dates of Time Machine’s local snapshots of the startup diskWith each Mac Tweaks scan
Free Up Space: applyingEach ticked item, through the checks again; names in ~/.Trash looked up one at a time, never a listing of the Trash; the size of whatever is still there afterwardsOnly when you apply the plan
Mac Tweaks: Apple IntelligenceApple’s asset service: its inventory of the model sets and their sizes, read by a short-lived Lightspot helper (Lightspot --asset-service) that reads no folders; within a removal only, for a set the inventory gives no bytes, the entry counts of its folder in /System/Library/AssetsV2, never a listing. Through macOS’s preferences service: the features’ restrictions and preferences, and the markers of Lightspot’s and RemoveMacAI’s profilesWhen you open the Apple Intelligence section, and while an apply waits for the profile and the models
Mac Tweaks: SettingsThrough macOS’s preferences service: the preferences and restrictions of the 41 settings, the Dock’s icons and the profile’s marker. launchctl’s list of disabled services, and whether com.apple.rcd and Music’s launch entry are still loaded; the inode numbers of Music.app and its executable; the Library folder’s hidden flag; the undo journal, and, while it holds background items, the three launchd folders as Background Items reads them, once, for Undo everything’s plan; whether rcd’s plist and the Dock backup existWhen you open the Settings section, and again when you apply it
Mac Tweaks: Background ItemsThe names in ~/Library/LaunchAgents, /Library/LaunchAgents and /Library/LaunchDaemons, and each .plist there, only as a regular file of at most 1 MB, and a symbolic link where it leads, unless the way passes through a folder macOS guards, another disk or ~/Library/CloudStorage; of a plist only its label, program, arguments, associated app identifiers and Disabled key are kept, and the arguments are never shown or logged. launchctl’s lists of disabled services for your account and for the system, and whether each item is loaded, keeping only the exit status of launchctl print, whose output lists the job’s environment. Each program a plist names, or the script an interpreter runs, looked up one folder at a time, never inside a folder macOS guards, another disk or ~/Library/CloudStorage; the owner of each plist; LaunchServices, for the apps a plist names; the undo journal’s background entriesWhen you open the Background Items section. An apply reads the folders and launchd again before it changes anything and the ticked items’ state after, and looks up names in ~/.Trash one at a time, and checks that a deleted plist’s copy is there; Undo everything reads the same for the items it turns back on, and the Trash copies of the ones it puts back
Dock quick actionsThe Dock’s icons and the Dock backup, when you run Clear or Restore Dock Icons; whether the backup exists, for their subtitlesWhen you run them; the backup check in the background, once a search shows their rows
Installed toolsWhether setup-zsh’s install-dev-tool exists and whether MacStats is installedWhile an installer row matches your query, at most every ten seconds

Everything read is kept in memory for searching and is not copied anywhere. Browser databases are opened read-only where they are. Only the default browser is read; bookmarks and history of your other browsers are left alone.

What Lightspot stores

Lightspot writes its settings to its preferences (com.lightspot.app); the full list of keys is on the settings page. Apart from your settings, that is:

  • Your custom commands, pinned commands and the five text snippets.
  • Up to 30 apps you opened through Lightspot, for the recent-apps row.
  • Search history: for each result you open, the text you typed, the result’s title and subtitle, what it does and when, up to 200 entries. Results that only copy something are treated differently: clipboard entries, calculator answers, developer tools and kill actions are not recorded at all, and other copy results (snippets, the hardware readout) only count towards ranking, without their text. Older history saved by earlier versions is cleaned the same way. Clear Search History in the menu deletes it.
  • The date of the last update check, and a version you chose to skip.

Outside its preferences, Lightspot keeps a small lock file in ~/Library/Application Support/Lightspot, so that only one copy runs. While an update installs, it unpacks the download in a temporary folder that it deletes afterwards, and keeps the previous version beside the app as Lightspot.app.lightspot-old until the new one has started, so it can be put back.

Clean Dev Mac appends each clean to ~/.cleandevmac/clean.log, the log cdm keeps: when the clean started and ended, and every path it removed or moved to the Trash. Past 1 MB the log keeps its newest 256 KB, and the uninstaller leaves it in place, since cdm writes to it too. The sizes of a scan stay in memory only.

Mac Tweaks appends each apply to ~/Library/Application Support/Lightspot/mac-tweaks.log: when it started and ended, what it changed, moved to the Trash or deleted, what stayed and why, and how much it freed. It writes the log only when you apply something; past 1 MB the log keeps its newest 256 KB, and the uninstaller deletes it. A scan stays in memory: once it is older than five minutes, closing Mac Tweaks drops what it found, keeping only Free Up Space’s total for its row and what Apple Intelligence’s scan read about the models.

Mac Tweaks’ Settings section writes other apps’ preferences, such as Finder’s, the Dock’s and the ones every app reads, but only the settings you apply, and each one is saved first to ~/Library/Application Support/Lightspot/tweaks-journal.json: the value it had before Lightspot changed it, until you undo the change. Background Items saves each launch agent or daemon it turns off or deletes to the same file first, with whether launchd had it switched off and whether it was loaded, and for a delete where its plist was and where it went in the Trash, until it is back on. Clear Dock Icons saves the Dock’s icons to dock-backup.plist in the same folder, which Restore Dock Icons deletes once they are back. While an apply changes Lightspot’s configuration profile, LightspotMacTweaks.mobileconfig waits there for your approval and is deleted once the profile is installed. The profile itself is installed by you, in System Settings, for every account on your Mac. The uninstaller keeps the journal, any journal Lightspot couldn’t read and set aside, and the Dock backup, and says what stays and how to undo it: background items for all users that Lightspot turned off stay off for every account, and the plists of the ones it deleted are in the Trash, where Undo everything can put them back only while they are still there.

Versions up to 1.2.0 sent the update check, and before 1.2.0 the IP lookup, through macOS’s shared web session, which kept the responses (your public IP among them) in ~/Library/Caches/com.lightspot.app and cookies in ~/Library/HTTPStorages. Since 1.2.2, Lightspot deletes those files at launch where they exist.

The clipboard history itself is never written to disk. Lightspot skips copies that password managers mark as concealed (org.nspasteboard.ConcealedType, com.agilebits.onepassword and similar types).

Network

Lightspot makes three kinds of requests, all over HTTPS:

  • Update check: a request to api.github.com/repos/openhoangnc/mac-lightspot/releases/latest, without any account, whose user agent says Lightspot/<version> and the project’s URL. It runs five seconds after launch and when you open the menu, only if Automatically Check for Updates is on (the default) and the last successful check was more than 24 hours ago; a failed check is retried at the next launch or menu open. Check for Updates… runs it on demand. When you choose Install and Relaunch, Lightspot downloads the release’s build for your Mac, Lightspot-arm64.zip or Lightspot-x86_64.zip (for a release that has neither, Lightspot.zip), only from GitHub addresses. Since version 1.2.1, neither the check nor the download leaves a cache or cookies on disk.
  • Public IP: a request to Cloudflare’s trace page, https://1.1.1.1/cdn-cgi/trace, sent only when your query clearly asks for the IP address (ip, my ip, public ip, ipv4) or you press ↵ on the IP Address row. It uses a session that stores nothing on disk and waits at most 3 seconds. It goes to that address directly, so there is no DNS lookup. Cloudflare sees your IP address and a standard macOS user agent, as any web server would; its answer also names its data center, your country and the TLS version, and Lightspot keeps only the address, in memory for 15 minutes. Up to 1.4.1 this request went to api.ipify.org.
  • Clean Dev Mac’s rules: when you open Clean Dev Mac and have no ~/.cleandevmac/rules folder, Lightspot fetches cdm’s rule files from raw.githubusercontent.com/cleandevmac/cdm/main/rules/, at most once an hour. Only that host is accepted, the session stores nothing on disk, and each file gets 8 seconds; if the fetch fails, Lightspot uses the copy built into the app.

Nothing else goes out. Mac Tweaks makes no request: to leave Clean Dev Mac’s caches to Clean Dev Mac, it uses the rules Lightspot already has, in memory, in ~/.cleandevmac/rules or built in, and never fetches them. Web searches, search prefixes, bookmarks and URL commands open in your browser, which then connects as usual. The installer downloads the app from GitHub and sends nothing else. The installer rows and ⌘↵ in Clean Dev Mac run curl … | bash in your terminal, which downloads the script from GitHub and runs it in front of you.

Commands Lightspot runs

Actions run only when you press ↵ (or ⌘↵, ⌥↵) or choose a menu item. These are the programs involved, for read-only checks and for actions:

ForRuns
Checking Apple Spotlight’s statelaunchctl print-disabled, mdutil -s /
Changing Apple SpotlightactivateSettings -u, launchctl enable/disable, killall Spotlight, mdutil -a -i (admin)
Reading Zed’s, VS Code’s and Cursor’s recent projectssqlite3, read-only
kill queriesps -axo pid,pcpu,rss,comm and lsof -iTCP -sTCP:LISTEN
Open tabs and the Finder folderAppleScript sent to your browser and to Finder
Quick actionsosascript, pmset, screencapture, open, and for admin actions sudo
macOS tweaksdefaults read / write / delete; killall Dock, Finder or SystemUIServer; osascript for Dock auto-hide. Clear and Restore Dock Icons write the Dock’s icons through macOS’s preferences service, then killall Dock
Clean Dev Macgit ls-files --others --ignored --exclude-standard --directory in each repo, for the repo scan only; lsof -a -nP +L1 on your home volume, with each scan, for the restart note. Files are removed and trashed by Lightspot itself, without a shell
Mac Tweaks: Free Up Spacexcode-select -p and Xcode’s simctl list devices unavailable -j, only once ~/Library/Developer/CoreSimulator/Devices exists, never /usr/bin/xcrun; tmutil listlocalsnapshotdates /. When you apply: simctl delete unavailable, and one /bin/sh script as administrator with tmutil deletelocalsnapshots and mv -n into your Trash, only when it has something to do. Lightspot moves your own files to the Trash itself, without a shell
Mac Tweaks: Apple IntelligenceLightspot --asset-service inventory, and reset <set> for each model set it removes, each a short-lived child; opening the profile file and System Settings’ Device Management; to turn Apple Intelligence back on, /usr/bin/profiles remove -identifier com.lightspot.app.tweaks -forced as administrator, in Free Up Space’s one-script form
Mac Tweaks: Settingslaunchctl print-disabled and print; launchctl disable and bootout, or enable and bootstrap, for Music’s launch entry and com.apple.rcd; preferences written through macOS’s preferences service and read back; the Library folder’s hidden flag; killall Finder, Dock or SystemUIServer, once each; the profile approved in System Settings, or removed with profiles remove as administrator. For Undo everything, launchctl enable, then bootstrap for what was loaded before, for the background items Lightspot turned off, the daemons’ in the same administrator script as the profile’s removal
Mac Tweaks: Background Itemslaunchctl print-disabled gui/<uid> and system, and launchctl print for each item, run directly, never through a shell, with stdin from /dev/null and 10 seconds each. When you apply: for your own agents, launchctl disable then bootout, or enable then bootstrap gui/<uid> <plist>, and for a delete bootout, disable and the move to the Trash; for daemons, and plists only an administrator can move (another account’s, or one in /Library/LaunchAgents), one /bin/sh script as administrator in Free Up Space’s one-script form, with the same launchctl verbs and mv -n into your Trash. Where your account can, Lightspot moves a deleted item’s plist to the Trash itself, without a shell. For Undo everything, the plist goes back from the Trash the same way, with mv -n in the administrator script for root’s, before it is switched back on
Installers and the full cdmcurl … | bash, in your terminal
Installing an updateditto, xattr, codesign and mv in a /bin/sh script (admin only if the app folder is not writable); Lightspot starts the new version itself
Custom commandsWhatever you wrote in them, with /bin/sh, osascript or your terminal

Admin commands run through sudo with Touch ID when you enabled Touch ID for sudo, otherwise through the macOS administrator password dialog. Lightspot never stores your password. Since 1.4.0, a command that started under Touch ID is never run a second time behind the password dialog, and the system log gets only an admin command’s outcome, never its text, which can hold file paths.

To open System Settings, Lightspot reads which System Settings processes of yours are running from the process list and compares them with what LaunchServices lists. It opens the pane in the running one, if needed with the Apple Event that opens a link or a file, addressed to that process, and starts a new System Settings only when none is running. It never quits System Settings.

Permissions macOS may ask for

  • Automation: to control Finder (Terminal in Finder Folder, Empty Trash, New Finder Window, Show Desktop), System Events (Lock Screen, Restart, Shut Down, Toggle Dark Mode, Force Quit, Toggle Dock Auto-Hide), your browser (reading open tabs) and Terminal or iTerm2 (running commands). macOS asks once per app; you can change the answer in System Settings → Privacy & Security → Automation.
  • Administrator: for switching Spotlight indexing, Flush DNS Cache, Purge Inactive Memory, Toggle Touch ID for Sudo, killing processes of other users, installing an update into a folder your account cannot write to, and in Mac Tweaks for deleting Time Machine local snapshots, moving files that another user owns or a folder’s permissions keep you from moving, turning daemons off or back on, and removing Lightspot’s configuration profile.
  • Configuration profile: Mac Tweaks’ Apple Intelligence section, and the Settings rows tagged Profile, need the Lightspot Mac Tweaks profile, which you install yourself in System Settings → General → Device Management. It applies to every account on your Mac, and removing it there undoes everything it changed.
  • App Management: from macOS 13 on, moving an app another developer made to the Trash takes this permission, which Lightspot doesn’t have unless you give it. When macOS refuses, the Mac Tweaks receipt says so, and you can drag the app to the Trash in Finder instead or allow Lightspot under System Settings → Privacy & Security → App Management.

The global shortcut does not need Accessibility permission. The source code is on GitHub if you want to check any of this yourself.