@pikibun/tui 0.0.1 → 0.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +38 -2
- package/app/app.json +4 -0
- package/app/assets/src/assets/logo.png +0 -0
- package/app/bundle.js +127 -0
- package/app/bundle.js.map +1 -0
- package/app/capabilities.json +1 -0
- package/bin/pikibun-tui.js +137 -0
- package/package.json +27 -19
- package/index.d.ts +0 -1
- package/index.js +0 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 OpenCara
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,7 +1,43 @@
|
|
|
1
1
|
# @pikibun/tui
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[Pikibun](https://pikibun.com) in your terminal: sign in, start sessions, follow and answer their chats, review their
|
|
4
|
+
changes and manage your workspaces, as in the Pikibun app, drawn in the terminal by
|
|
5
|
+
[Native Shell](https://github.com/longbridge/nsh)'s terminal backend. It runs where the terminal does: over SSH on a
|
|
6
|
+
server, in tmux, in a container.
|
|
4
7
|
|
|
5
8
|
```sh
|
|
6
|
-
npm install @pikibun/tui
|
|
9
|
+
npm install -g @pikibun/tui
|
|
10
|
+
pikibun-tui
|
|
7
11
|
```
|
|
12
|
+
|
|
13
|
+
or, with the connector installed, `pikibun tui`, which starts it (and runs it from npm when it isn't installed).
|
|
14
|
+
|
|
15
|
+
It signs in with a code, as the desktop and phone apps do: under **Settings → Profile → Signed-in apps** on the web
|
|
16
|
+
or in another app, choose **Sign in an app**, and paste its link. Its sign-ins and settings are its own, apart from the
|
|
17
|
+
desktop app's.
|
|
18
|
+
|
|
19
|
+
| Keys | Do |
|
|
20
|
+
|---|---|
|
|
21
|
+
| Tab, Shift+Tab, the arrows | Move between controls |
|
|
22
|
+
| Enter, Space | Press the focused control |
|
|
23
|
+
| Escape | Leave a field; otherwise go back |
|
|
24
|
+
| Ctrl+S, Ctrl+R | Search the text on screen |
|
|
25
|
+
| F10 | The menu bar |
|
|
26
|
+
| Ctrl+C | Copy the selection; with none, quit |
|
|
27
|
+
| Ctrl+H, then E | The log |
|
|
28
|
+
|
|
29
|
+
The mouse works too, where the terminal reports it: clicks, the wheel, dragging to select text. `--no-mouse` leaves it to
|
|
30
|
+
the terminal and its own selection. `pikibun-tui --help` lists the options.
|
|
31
|
+
|
|
32
|
+
## Requirements
|
|
33
|
+
|
|
34
|
+
Linux, macOS or Windows, on x64 or arm64, and Node.js 18 or newer for the launcher. npm installs the terminal host for
|
|
35
|
+
the computer it installs on (`@pikibun/tui-<platform>-<arch>`, an optional dependency): don't leave optional
|
|
36
|
+
dependencies out. A terminal with 256 colors or true color looks best; 16 colors and `NO_COLOR` work too.
|
|
37
|
+
|
|
38
|
+
## Versions
|
|
39
|
+
|
|
40
|
+
`@pikibun/tui` is released with the Pikibun app (its `app-v` releases) and has the app's version. It updates with npm:
|
|
41
|
+
`npm install -g @pikibun/tui@latest`.
|
|
42
|
+
|
|
43
|
+
The launcher is MIT licensed, as Pikibun is. Native Shell's terminal host is Apache-2.0, as Native Shell publishes it.
|
package/app/app.json
ADDED
|
Binary file
|