dev-null-tty
A keyboard-first terminal client for /dev/null, built with Textual and managed with uv.
The Following, Latest, and Trending journals load real commits from
the signed /api/v1/log/{log} endpoint after sign-in. Each journal supports
automatic cursor-based infinite scrolling and commit search. Guest users can
view the profile and sign in; journals require an approved device. Signed-in
users can browse a cursor-paginated notifications inbox, publish commits,
reply to a commit, or quote it. Opening the notifications inbox marks
notifications read on /dev/null. Click detected
HTTP(S) links with the mouse to open them in your default browser. The modal
composer shows the original commit above the editor for replies and quotes,
and submits through the signed POST /api/v1/commits endpoint. Press
Ctrl+P to submit. Press Ctrl+Q or Escape to close the composer.
Press Enter on a selected journal entry to open its full commit and replies.
Use j / k to navigate replies, Enter to follow a reply into its own
thread, u to move to the parent comment, and q or Escape to return to the
previous screen. Commit details show the ancestor and parent-comment context
in a scrollable pane on the left, and the comment being replied to above its
replies on the right. Press Ctrl+J / Ctrl+K or use the mouse wheel to
scroll the ancestor history. Press Ctrl+R to reply to the thread's main
commit or selected comment. Scroll the replies list to load older replies.
The profile's Sign in with GitHub action starts the documented PKCE
device authorization flow. To preserve existing sign-ins, the app keeps its
dedicated Ed25519 keypair under ~/.dev-null-tui/ (directory mode 0700,
private key mode 0600, no passphrase). It opens the authorization page and,
after approval, signs POST /api/v1/devices with the devnull-api namespace.
The verifier and state remain in memory. The private key stays on the device
and is never included in API requests.
Before opening the authorization page, the app registers its per-user XDG
desktop handler for devnull:// (no sudo). After approval, the handler
queues the callback for the running TUI, which checks the state before
redeeming the one-time code. Pasting the full devnull://auth/callback?...
URL remains available if callback handling is unavailable.
The device key stays in ~/.dev-null-tui/. On each launch, the app checks that
key with a signed GET /api/v1/me and restores the profile when the device is
still approved. A revoked or unapproved key is retained, but the app remains
signed out so you can authorize a device again.
Log out removes the local private and public key files and clears the in-memory session; callback handoff data and the callback-handler registration are left untouched. This API does not expose a device-revocation endpoint, so use Settings → Devices to revoke the device's server-side approval too.
The handler can also be registered manually from the command line:
uv run dev-null-tty --register-handler
This registers a per-user XDG desktop entry for devnull:// (no sudo). The
handler queues the callback in ~/.dev-null-tui/ with owner-only permissions;
the running TUI validates its state and removes the handoff file. Manual paste
remains available if registration is unavailable.
Run
uv run dev-null-tty
Keyboard shortcuts:
h/l— Previous / next journalr— Refresh the active journaln— Open notificationsj/k— Next / previous commit or notificationEnter— Open the selected commit/notification or follow a selected replyCtrl+J/Ctrl+K— Scroll commit thread historyCtrl+R— Reply to the thread's main commit or selected commentu— Move up to the parent comment in a threadq(commit thread) — Return to the previous screenEscape— Return to the previous screenShift+C— New commitShift+Q— Quote selected commitShift+R— Reply to selected commitCtrl+P— Submit the commit, reply, or quoteq— Quit
Journal navigation wraps between Latest, Following, and Trending. Loaded journals remain visible when you switch away; a cached journal refreshes after you leave it selected for two seconds.
Test
uv run pytest
Release
Configure a PyPI trusted publisher for this GitHub repository using the
.github/workflows/publish.yml workflow and the pypi environment. Update the
version in pyproject.toml (and refresh uv.lock), then push a matching
version tag, for example:
git tag v0.2.0
git push origin v0.2.0
The workflow checks that the tag matches the project version, runs the tests, builds the wheel and source distribution, and publishes them to PyPI using OpenID Connect. No PyPI API token is required.
The upstream project is nunomaduro/dev-null.sh.
Metadata
Release files for dev-null-tty 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dev_null_tty-0.2.0.tar.gz | 23.0 kB | With provenance | Details for dev_null_tty-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dev_null_tty-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for dev_null_tty-0.2.0-py3-none-any.whl |
Total release size: 47.8 kB
Release files / dev_null_tty-0.2.0.tar.gz
| Download URL | dev_null_tty-0.2.0.tar.gz |
|---|---|
| Size | 23.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b799ca6a65d91bec80b99d8e517547a2f35251dccbd5586a95b153cde60f8c70
|
|
BLAKE2b-256 checksum How to use checksums |
c452eb4879124965fa4f31eb6200118404a71c245bc1176e4c7d6ed8ef3ac55d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logRelease files / dev_null_tty-0.2.0-py3-none-any.whl
| Download URL | dev_null_tty-0.2.0-py3-none-any.whl |
|---|---|
| Size | 24.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b6cde8031a7ca08ff63920471750829a3c660481a9628ba7e9600d2c568ed0f
|
|
BLAKE2b-256 checksum How to use checksums |
870c9867f25b6b09c647e8fab140c5e17d83ae41068c7fc378380e385bc5ea1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logSecurity for dev-null-tty 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for dev_null_tty-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.