px[1]
๐Ÿด a lean fork of px0 by Arpit Bhayani

Your browser, as a code viewer.

px1 is a single static binary that turns any directory into an instant, zero-config code workspace: browse, navigate, edit, stage/unstage, generate a commit message, and search. Nothing else.

$ curl -fsSL https://px1.pranitpatil.com/install.sh | sh
View on GitHub Build from source
127.0.0.1:7777
px1's file tree, an open Go file with syntax highlighting, and the Source Control panel showing staged and unstaged changes
1
static binary
<1ms
cold start
~20MB
resident memory
0
runtime deps

Seven features. That's it.

Everything else from the original project โ€” LSP, an AI agent harness, markdown preview, telemetry, self-update, settings โ€” was cut on purpose.

01 Directory viewing

Open any folder and get a fast file tree, gitignore-aware, dirty-status badges included.

02 File navigation

Fuzzy quick-open, jump-to-line, workspace regex search, all in single-digit milliseconds.

03 Live read/write editing

Click into an open file and type โ€” no separate edit mode. Mod+S saves, with on-disk conflict detection.

04 Git stage/unstage

A Source Control panel, VS Code-style: staged and unstaged changes as separate groups, one click each way.

05 Commit message generator

Shells out to the claude CLI on your staged diff and drafts a Conventional Commits summary.

06 Syntax highlighting

~280 languages via Chroma, windowed rendering so huge files cost the same as small ones.

07 Code search

Workspace-wide text and regex search, plus in-file find, without leaving the keyboard.

Install

One binary, no dependencies. Works the same on your laptop or a remote box.

Quick install (macOS / Linux / BSD)

# installs to ~/.local/bin or /usr/local/bin curl -fsSL https://px1.pranitpatil.com/install.sh | sh

Build from source

# requires Go 1.24+, no npm/node/CGO at runtime git clone https://github.com/programmerpranit/px1.git cd px1 && make build install -d ~/.local/bin install px1 ~/.local/bin/

Usage

Run px1 with an optional file or directory.

px1 # view current workspace px1 ~/src/kernel # view another repository px1 main.go:42 # open directly to a line number px1 -d ~/work/repo # run in the background, keep your shell

-d runs px1 detached and hands your terminal straight back โ€” start several workspaces at once, each stacking onto the next free port automatically.

FlagDefaultDescription
-port N7777Port to listen on (0 picks a free one)
-host H127.0.0.1Address to bind
-dfalseRun detached in the background, return the shell immediately
-no-openfalseDon't launch a browser automatically
-no-gitfalseDisable git awareness (status, diff, staging)
px1 is a fork of px0 (px0.ai) by Arpit Bhayani, trimmed to seven features. All credit for the original architecture, the virtualized rendering engine, and the reads-first design philosophy goes to the upstream project. Licensed MIT, same as upstream.