An unofficial desktop client for dev-null.sh, built with F# and Avalonia.
We are not affiliated with or endorsed by /dev/null in any way. This is an independent project exploring their public API, with the goal of providing a simple client for desktop platforms. The service and its API can change at any time; expect breakage.
With Scoop:
scoop install https://github.com/AngelMunoz/DevNull.Client/releases/latest/download/devnull-client.json
That URL always serves the newest stable release's manifest. Scoop checks
the SHA-256 it carries before installing, and scoop update picks up each
new release from the same URL. Scoop installs the native win-x64 or
win-arm64 build automatically, depending on the device. Pre-release
builds never ride the channel; install one by its exact release URL
instead. Once installed, devnull starts the app from any terminal.
With Flatpak:
flatpak install --user --from https://angelmunoz.github.io/DevNull.Client/me.tunaxor.devnull.unoffclient.flatpakref
That address installs the newest stable release and registers the
project's own channel; flatpak update --user picks up every new
release from it. Flatpak installs the native x86_64 or aarch64 build
automatically, depending on the device. The Flatpak bundle includes Noto Color Emoji. The app runs sandboxed: the browser sign-in callback,
the tray, voice notes, and your ssh keys all work inside, while alerts
stay silent because the sandbox cannot reach the desktop's sound
theme.
- Three layouts in one window — Website (default), Workbench, and Editor — switched live from Settings: feeds, threads, guilds, organizations, Remotes (DMs with voice notes and reactions), scheduled commits, translations, notifications, saved commits, profiles, a tray icon, and a dark theme that follows the site's tokens.
- The UI is written in code with NXUI (no XAML). Routing runs on Navs.Avalonia. Page state runs on MVUish.Avalonia: Model-View-Update over observables, with keyed subscriptions for everything that arrives from outside (the clock, the session, the settings store).
DevNull.Client.Corecarries the protocol layer (the signed JSON API and the plain-text CLI routes),DevNull.Client.UIcarries the shared Avalonia client, and platform heads (DevNull.Client.Windows,DevNull.Client.Linux,DevNull.Client.Mac) provide native OS services while shipping the sameDevNull.Clientexecutable.
Requires the .NET 11 SDK.
dotnet build DevNull.Client.slnx— must end with zero errors and zero warnings.- Run the head for your OS against
dev-null.sh:dotnet run --project src/DevNull.Client.Windowsdotnet run --project src/DevNull.Client.Linuxdotnet run --project src/DevNull.Client.Mac
dotnet run --project tests/DevNull.Client.Core.Tests— protocol suite (Expecto; no network, no disk, no processes).dotnet run --project tests/DevNull.Client.UI.Tests— headless UI suite over the real shell, routes, and pages, answered by a fake API. Sibling suites cover features (UI.Features.Tests), Remotes (UI.Remotes.Tests), and snapshots (UI.Snapshots.Tests); seetests/README.md.dotnet fantomas .— formats every F# file (dotnet tool restorefirst).
Close the app before building after a run: a running instance locks the build output.
The devnull:// callback is launched by the desktop session, and that
session does not export DOTNET_ROOT. A framework-dependent Debug
build therefore dies at the callback, and the browser looks like it
cannot find the app. Sign in once with a self-contained build instead:
./linux-login.sh
The script publishes the app with its own runtime, runs it, and the
app registers itself as the devnull:// handler. The session, the
device key, and the settings live in ~/.local/share/DevNull and are
shared with the Debug build: after this one login, dotnet run starts
signed in. Whichever binary started last owns the devnull://
registration, so run the script again whenever you need a new login.
Alternatively, export DOTNET_ROOT for the whole session through
~/.config/environment.d/ and log in from any build.
macOS only lets an app bundle claim the devnull:// scheme, and it
hands the callback to the running app as an activation rather than a
command-line argument. Sign in once with a self-contained bundle:
./mac-login.sh
The script publishes the app with its own runtime, wraps it into
dist/DevNull.Client.app, ad-hoc signs it (no notarization needed for
local dev), registers the scheme with LaunchServices, and launches it.
The browser sign-in returns to the running app. The session, the device
key, and the settings live in ~/Library/Application Support/DevNull
(the standard LocalApplicationData folder) and are shared with the
Debug build: after this one login,
dotnet run --project src/DevNull.Client.Mac starts signed in.
AGENTS.md— the architecture map and the working rules for this repository.tests/README.md— the testing philosophy and the headless-session quirks, including every known way a UI test can hang.