pi-cyber-ui
Standalone Pi UI package with a cyber-inspired theme, custom editor, footer, and working animation.
Package details
Install pi-cyber-ui from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-cyber-ui- Package
pi-cyber-ui- Version
0.1.2- Published
- Apr 15, 2026
- Downloads
- 862/mo · 266/wk
- Author
- 22gnus
- License
- unknown
- Types
- extension, theme
- Size
- 77 KB
- Dependencies
- 0 dependencies · 3 peers
Pi manifest JSON
{
"themes": [
"./themes"
],
"extensions": [
"./extensions/pi-cyber-ui/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-cyber-ui
A standalone Pi package that bundles a cyber-inspired editor, compact footer, and working animation together with a matching dark theme.
The visual direction was inspired by Tokyo Night, but this is a new project with its own palette, naming, and packaging structure.
The editor is split into small modules for easier maintenance:
editor.tswires events and the/cyber-vimtoggle commandcyber-editor.tsowns the cyber shell, prompt marker, and HUD chromevim-editor.tscontains the standalone Vim behavior layereditor-state.tshandles session state and token accountingeditor-hud.tsrenders the HUDtoken-usage.tscontains protocol-aware exact/estimated token helpers
Contents
themes/cyber-ui-dark.json— Pi themeextensions/pi-cyber-ui/index.ts— extension entrypointextensions/pi-cyber-ui/editor.ts— editor event wiringextensions/pi-cyber-ui/editor-state.ts— editor/session stateextensions/pi-cyber-ui/cyber-editor.ts— Cyber editor shellextensions/pi-cyber-ui/vim-editor.ts— standalone Vim behavior layerextensions/pi-cyber-ui/editor-hud.ts— HUD renderingextensions/pi-cyber-ui/token-usage.ts— token usage helpersextensions/pi-cyber-ui/footer.ts— compact footerextensions/pi-cyber-ui/working.ts— working message animation
Local development
cd ~/Developer/pi-cyber-ui
npm install
npm run typecheck
Using with Pi
Install from the remote repository:
pi install git:github.com/22GNUs/pi-cyber-ui.git
For local development, you can also install from a local checkout path:
pi install /path/to/pi-cyber-ui
The package is structured to be publishable later via git or npm without changing the directory layout.
When it is published, install it with one of these forms:
pi install npm:pi-cyber-ui
# or
pi install git:github.com/22GNUs/pi-cyber-ui.git
Commands
/cyber-vim— toggle Vim mode on/off inside the cyber editor/cyber-vim status— show current Vim mode state- Cyber UI settings are persisted to
~/.pi/agent/pi-cyber-ui.json
Example settings:
{
"vimModeEnabled": true,
"jjEscapeTimeoutMs": 250
}
jjEscapeTimeoutMscontrols the insert-modejjwindow in milliseconds
Notes
- Package name:
pi-cyber-ui - Theme name:
cyber-ui-dark - Extension entrypoint:
extensions/pi-cyber-ui/index.ts - Exact streaming usage is protocol-aware; Anthropic Messages API can surface cumulative in-flight usage, while other APIs fall back to estimates
- Theme format follows the official Pi theme schema