physa-rex

module
v0.0.0-...-60f5ded Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2026 License: MIT

README

physa-rex

Physa's views in the Rex terminal. Each view is a small layer that opens over your work, does one job and closes, drawn with rexuikit in Physa's look.

Views

  • Ideas: the repo's ideas, newest first. Type to filter, then press enter for an idea's page: who it belongs to, its pursuit's state, its appetite, its signal, its planned changes and what landed, what needs you, and the evidence behind it. Esc goes back.
  • Add an idea: one field. The idea belongs to you.

Needs you and watching a live session come when Physa's engine runs them. An idea's page shows its strength once Physa works strength out; until then it shows the facts behind it.

Install

You need Physa's physa CLI on your PATH. The views start its engine when it isn't running.

go install github.com/dphaener/physa-rex/cmd/physa-rex@latest
physa-rex rex install

If your Go comes from mise, run mise reshim after the install, so Rex's login shell finds physa-rex.

rex install writes physa.lua beside Rex's init.lua and requires it from there once. Press ctrl+a y to enter Physa's key mode, then i for the ideas or a to add one. Both are also in Rex's command palette. Change the key in the settings block at the top of physa.lua; a reinstall keeps it.

The views show the repo of the pane you open them from. The engine names you when you add an idea, the same way the physa CLI does.

How it works

The views call the engine's local API only through Physa's public client package, as every Physa plugin does. They never read Physa's store. Physa's colours, light and dark, are mapped onto rexuikit's theme in internal/look, and every text colour clears WCAG AA on every ground.

Developing

go vet ./... && go test ./...

License

MIT. Physa's core is under Apache-2.0.

Directories

Path Synopsis
cmd
physa-rex command
Command physa-rex is Physa's views in the Rex terminal: `app ideas` and `app add` run a view inside a Rex layer, and `rex install` adds the actions and keys that open them.
Command physa-rex is Physa's views in the Rex terminal: `app ideas` and `app add` run a view inside a Rex layer, and `rex install` adds the actions and keys that open them.
internal
link
Package link connects a view to the machine's Physa engine through Physa's public client, starting the engine with the physa CLI when it is not running, and names the repo a view shows.
Package link connects a view to the machine's Physa engine through Physa's public client, starting the engine with the physa CLI when it is not running, and names the repo a view shows.
look
Package look is Physa's look in the terminal: Physa's colour tokens, light and dark, mapped onto rexuikit's theme, so every view drawn with rexuikit's components reads as Physa.
Package look is Physa's look in the terminal: Physa's colour tokens, light and dark, mapped onto rexuikit's theme, so every view drawn with rexuikit's components reads as Physa.
rexlua
Package rexlua puts Physa's views into Rex: it writes physa.lua beside Rex's init.lua, with an action per view and a key mode to open them, keeps the person's settings block across reinstalls, and requires the file from init.lua once.
Package rexlua puts Physa's views into Rex: it writes physa.lua beside Rex's init.lua, with an action per view and a key mode to open them, keeps the person's settings block across reinstalls, and requires the file from init.lua once.
views
Package views is Physa's views in a Rex layer: the ideas in a repo, an idea's page with its pursuit, and adding an idea, each a bubbletea model drawn with rexuikit's components in Physa's look.
Package views is Physa's views in a Rex layer: the ideas in a repo, an idea's page with its pursuit, and adding an idea, each a bubbletea model drawn with rexuikit's components in Physa's look.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL