Linux + WSL2 support (drop macOS-only)#35
Merged
Merged
Conversation
The engine (Hermes) and the privacy stack (Python via uv) are cross-platform; only the service wiring was macOS-specific. Generalize it: - install.sh: accept Darwin + Linux; on Linux/WSL2 run the scrubber + og-veil via systemd --user (auto-restart + reboot persistence via linger), with a plain background-process fallback where systemd --user isn't available - add systemd/ user-unit templates (ghost-scrubber, ghost-veil) - OS-guard the macOS-only bits (open -a Ollama) - README: 'on macOS, Linux, or WSL2' and a platform badge to match macOS path is unchanged (launchd); verified it still starts both services. The Linux/WSL2 path is implemented but not yet verified on a real Linux box.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hermes and ghost's privacy stack are already cross-platform (Python via uv); only the service wiring was macOS-specific. This generalizes it:
install.shaccepts macOS and Linux/WSL2. On Linux it runs the scrubber + og-veil as systemd --user services (auto-restart, reboot persistence viaenable-linger), with a background-process fallback where systemd --user isn't available (some WSL2 setups).systemd/user-unit templates.open -a Ollama).macOS path is byte-for-byte the same launchd flow (verified both services still start). The Linux/WSL2 path is implemented but not yet tested on a real Linux/WSL2 machine -- worth a smoke test there before relying on it.