Skip to content

Install

On Linux and on macOS with Apple silicon: nix profile install github:aciceri/omfp, or try it with nix run github:aciceri/omfp -- desktop. It brings the pinned pi with it.

nix build .#omfp (or the flake’s packages.<system>.omfp in your configuration) builds bin/omfp with the desktop window, the daemon and the web UI, on x86_64-linux, aarch64-linux and aarch64-darwin; .#omfp-headless is the daemon and the web UI alone, for servers. On macOS the package also holds Applications/omfp.app: in environment.systemPackages of nix-darwin it shows up in /Applications/Nix Apps, in home.packages of home-manager in ~/Applications/Home Manager Apps, so Spotlight and Launchpad find it. The app is ad-hoc signed: macOS asks for the microphone again after each update.

Download from the releases; each package comes with Bun, the daemon, the web UI and the fd and ripgrep that pi’s tools run. git must be installed.

  • Linux (x86_64) or macOS (Apple silicon): run curl -fsSL https://github.com/aciceri/omfp/releases/latest/download/install.sh | sh. It downloads the package for your machine, checks it against the release’s SHA256SUMS and installs it; run it again to update (quit omfp first).
    • On Linux it installs the daemon and the web UI, without the desktop window, into ~/.local/lib/omfp, with the omfp command in ~/.local/bin (OMFP_PREFIX=<dir> for another prefix than ~/.local). Run omfp daemon and open the URL it prints.
    • On macOS it puts omfp.app in /Applications, or in ~/Applications when /Applications is not writable (OMFP_APPLICATIONS=<dir> for another folder), and links its omfp command into ~/.local/bin. Open omfp from Launchpad or Spotlight.
  • macOS, by hand: open omfp-<version>-macos-arm64.dmg and drag omfp to Applications. The app is not notarized: macOS refuses to open it the first time; open it once, then allow it in System Settings → Privacy & Security → Open Anyway (or run xattr -dr com.apple.quarantine /Applications/omfp.app). macOS asks for the microphone again after each update.
  • Linux desktop (x86_64), AppImage: make omfp-<version>-linux-x86_64.AppImage executable and run it: without arguments it opens the desktop window, with arguments it is the omfp command (e.g. its daemon, --version). It needs FUSE (or run it with --appimage-extract-and-run). The daemon the window starts keeps running in the background, and with it the AppImage’s process. On Ubuntu 24.04 and later, AppArmor denies the window’s sandbox unless unprivileged user namespaces are allowed (sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0).
  • Linux desktop (x86_64), Flatpak: flatpak install --user omfp-<version>-linux-x86_64.flatpak, then start omfp from your app menu or with flatpak run io.github.aciceri.omfp. The window lives in the sandbox, but the daemon, and with it the agents’ commands, the jobs and the terminals, runs on your machine on purpose (they need your tools, repositories and environment), so the app has full access to your account. It needs an x86_64 glibc system (not NixOS, which has the Nix package).
  • Linux, by hand: unpack omfp-<version>-linux-x86_64.tar.gz and run its bin/omfp daemon (no desktop window).

To check a download, compare shasum -a 256 <file> (macOS) or sha256sum <file> (Linux) with its line in the release’s SHA256SUMS.

Inside the Nix dev shell:

Terminal window
nix develop
just serve # build the web UI and run the daemon on its own places; open the printed URL
just desktop # the desktop window on the local daemon (started in the background if none answers)

just serve passes its arguments to the daemon, e.g. just serve --listen 127.0.0.1:7421; just --list shows the other recipes. AGENTS.md is the contributor guide.

omfp keeps everything in these places; each has an option to put it elsewhere.

What Where Option
Data (threads, store, logins, token) $XDG_DATA_HOME/omfp, else ~/.local/share/omfp --data <dir>
Workspaces root ~/.omfp --home <dir>
Config folder (init.ts, theme.css) $XDG_CONFIG_HOME/omfp, else ~/.config/omfp --config <dir>
Address 127.0.0.1:7420 --listen <host:port>

omfp desktop starts a daemon in the background when none answers, and it keeps running after the window closes; it appends its log to daemon.log in the data directory. On Linux that daemon runs under omfp daemon --tray, which shows it in the system tray with its threads and a menu to open windows and quit it. To start the daemon with your session and restart it when it fails, run omfp daemon (every argument goes to the daemon; --tray first) as a systemd user service:

  • home-manager: import the flake’s module and enable it; it restarts the daemon whenever the package changes.

    imports = [ omfp.homeManagerModules.default ];
    services.omfp = {
    enable = true;
    tray = true; # in the system tray, with the graphical session (needs the `omfp` package)
    # package = omfp.packages.${pkgs.system}.omfp-headless; # a server: no window, no tray
    # extraArgs = [ "--listen" "127.0.0.1:7421" ];
    };
  • NixOS without home-manager: systemd.packages = [ omfp.packages.${pkgs.system}.omfp ]; and systemd.user.services.omfp.wantedBy = [ "default.target" ];. A profile install: systemctl --user link ~/.nix-profile/lib/systemd/user/omfp.service && systemctl --user enable --now omfp.

  • Elsewhere: copy contrib/systemd/omfp.service to ~/.config/systemd/user/, put the path of your omfp in its ExecStart (in place of @omfp@), then systemctl --user enable --now omfp.

The service runs with the user manager’s environment: tools the agents need must be on its PATH (systemctl --user show-environment; systemctl --user import-environment PATH from your session, or Environment= in the unit). Its log goes to the journal. After an upgrade, systemctl --user restart omfp switches to the new package; a stop marks the turns it cuts, and their threads offer Resume.