Install
With Nix
Section titled “With Nix”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.
Without Nix
Section titled “Without Nix”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’sSHA256SUMSand 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 theomfpcommand in~/.local/bin(OMFP_PREFIX=<dir>for another prefix than~/.local). Runomfp daemonand open the URL it prints. - On macOS it puts
omfp.appin/Applications, or in~/Applicationswhen/Applicationsis not writable (OMFP_APPLICATIONS=<dir>for another folder), and links itsomfpcommand into~/.local/bin. Open omfp from Launchpad or Spotlight.
- On Linux it installs the daemon and the web UI, without the desktop window, into
- macOS, by hand: open
omfp-<version>-macos-arm64.dmgand 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 runxattr -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.AppImageexecutable and run it: without arguments it opens the desktop window, with arguments it is theomfpcommand (e.g. itsdaemon,--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 withflatpak 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.gzand run itsbin/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.
From a checkout
Section titled “From a checkout”Inside the Nix dev shell:
nix developjust serve # build the web UI and run the daemon on its own places; open the printed URLjust 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.
Where omfp keeps things
Section titled “Where omfp keeps things”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> |
The daemon as a service
Section titled “The daemon as a service”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 ];andsystemd.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 youromfpin itsExecStart(in place of@omfp@), thensystemctl --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.