bno-cli 1.0.4 → 1.0.5
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/README.md +87 -37
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,77 +1,127 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://bnochat.cc/favicon.ico" width="80" alt="bnochat logo">
|
|
3
|
+
</p>
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
<h1 align="center">bno-cli</h1>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
Chat from your terminal. Fast, simple, cross-platform.
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://bnochat.cc">Website</a> •
|
|
13
|
+
<a href="https://github.com/bnochat/cli/releases">Download</a> •
|
|
14
|
+
<a href="#installation">Installation</a> •
|
|
15
|
+
<a href="#usage">Usage</a>
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
---
|
|
4
19
|
|
|
5
20
|
## Installation
|
|
6
21
|
|
|
7
|
-
###
|
|
22
|
+
### Download Binary (Recommended)
|
|
8
23
|
|
|
9
|
-
Download
|
|
24
|
+
No dependencies required. Download and run.
|
|
10
25
|
|
|
11
|
-
|
|
|
12
|
-
|
|
13
|
-
| Windows | `bno.exe` |
|
|
14
|
-
| macOS (Intel) | `bno-macos-x64` |
|
|
15
|
-
| macOS (
|
|
16
|
-
| Linux | `bno-linux` |
|
|
26
|
+
| Platform | Download | Notes |
|
|
27
|
+
|----------|----------|-------|
|
|
28
|
+
| **Windows** | [`bno.exe`](https://github.com/bnochat/cli/releases/latest/download/bno.exe) | Run directly |
|
|
29
|
+
| **macOS (Intel)** | [`bno-macos-x64`](https://github.com/bnochat/cli/releases/latest/download/bno-macos-x64) | See setup below |
|
|
30
|
+
| **macOS (Apple Silicon)** | [`bno-macos-arm64`](https://github.com/bnochat/cli/releases/latest/download/bno-macos-arm64) | See setup below |
|
|
31
|
+
| **Linux** | [`bno-linux`](https://github.com/bnochat/cli/releases/latest/download/bno-linux) | See setup below |
|
|
17
32
|
|
|
18
|
-
|
|
33
|
+
#### macOS Setup
|
|
19
34
|
|
|
20
35
|
```bash
|
|
21
|
-
#
|
|
22
|
-
brew tap bnochat/cli && brew install bnochat
|
|
23
|
-
|
|
24
|
-
# Or manual (replace VERSION with latest)
|
|
36
|
+
# Download (Apple Silicon)
|
|
25
37
|
curl -L -o bno https://github.com/bnochat/cli/releases/latest/download/bno-macos-arm64
|
|
38
|
+
|
|
39
|
+
# Make executable & remove quarantine
|
|
26
40
|
chmod +x bno && xattr -d com.apple.quarantine bno
|
|
41
|
+
|
|
42
|
+
# Move to PATH
|
|
27
43
|
sudo mv bno /usr/local/bin/
|
|
28
44
|
```
|
|
29
45
|
|
|
30
|
-
|
|
46
|
+
#### Linux Setup
|
|
31
47
|
|
|
32
48
|
```bash
|
|
33
|
-
#
|
|
49
|
+
# One-line install
|
|
34
50
|
curl -fsSL https://raw.githubusercontent.com/bnochat/cli/main/scripts/install.sh | bash
|
|
35
51
|
|
|
36
|
-
# Or
|
|
37
|
-
curl -L -o
|
|
38
|
-
sudo
|
|
52
|
+
# Or manual
|
|
53
|
+
curl -L -o bno https://github.com/bnochat/cli/releases/latest/download/bno-linux
|
|
54
|
+
chmod +x bno && sudo mv bno /usr/local/bin/
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
#### Homebrew (macOS)
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
brew tap bnochat/cli && brew install bnochat
|
|
39
61
|
```
|
|
40
62
|
|
|
41
|
-
###
|
|
63
|
+
### npm (Requires Node.js)
|
|
42
64
|
|
|
43
65
|
```bash
|
|
44
66
|
npm install -g bno-cli
|
|
45
67
|
```
|
|
46
68
|
|
|
69
|
+
---
|
|
70
|
+
|
|
47
71
|
## Usage
|
|
48
72
|
|
|
73
|
+
### Quick Start
|
|
74
|
+
|
|
49
75
|
```bash
|
|
50
|
-
|
|
51
|
-
bno -a
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
bno -
|
|
55
|
-
bno -u, --update #Update to latest version
|
|
56
|
-
bno -l, --logout #Logout
|
|
76
|
+
# 1. Login (opens browser)
|
|
77
|
+
bno -a
|
|
78
|
+
|
|
79
|
+
# 2. Join a room
|
|
80
|
+
bno -j ROOM_CODE
|
|
57
81
|
```
|
|
58
82
|
|
|
59
|
-
|
|
83
|
+
### Commands
|
|
84
|
+
|
|
85
|
+
| Flag | Description |
|
|
86
|
+
|------|-------------|
|
|
87
|
+
| `-a, --auth` | Login via browser |
|
|
88
|
+
| `-j, --join [code]` | Join a chat room |
|
|
89
|
+
| `-l, --logout` | Logout |
|
|
90
|
+
| `-c, --check` | Check for updates |
|
|
91
|
+
| `-u, --update` | Update to latest version |
|
|
92
|
+
| `-v, --version` | Show version |
|
|
93
|
+
| `-h, --help` | Show help |
|
|
94
|
+
|
|
95
|
+
### Chat Commands
|
|
96
|
+
|
|
97
|
+
While in a room:
|
|
60
98
|
|
|
61
99
|
| Command | Action |
|
|
62
100
|
|---------|--------|
|
|
63
|
-
| `/q` | Leave room |
|
|
64
|
-
| `/quit` | Leave room |
|
|
65
|
-
| `/exit` | Leave room |
|
|
101
|
+
| `/q` `/quit` `/exit` | Leave room |
|
|
66
102
|
|
|
67
|
-
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## Update
|
|
68
106
|
|
|
69
107
|
```bash
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
108
|
+
# Check for updates
|
|
109
|
+
bno -c
|
|
110
|
+
|
|
111
|
+
# Update to latest
|
|
112
|
+
bno -u
|
|
73
113
|
```
|
|
74
114
|
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Links
|
|
118
|
+
|
|
119
|
+
- 🌐 **Website**: [bnochat.cc](https://bnochat.cc)
|
|
120
|
+
- 📦 **Releases**: [GitHub Releases](https://github.com/bnochat/cli/releases)
|
|
121
|
+
- 🐛 **Issues**: [Report a bug](https://github.com/bnochat/cli/issues)
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
75
125
|
## License
|
|
76
126
|
|
|
77
|
-
MIT
|
|
127
|
+
MIT © [bnochat](https://bnochat.cc)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bno-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Terminal chat application for Ubuntu, Windows, and macOS",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"package:mac": "npm run build && pkg dist/index.js --targets node18-macos-x64 --output bin/bno-macos-x64",
|
|
16
16
|
"package:mac-arm": "npm run build && pkg dist/index.js --targets node18-macos-arm64 --output bin/bno-macos-arm64",
|
|
17
17
|
"package:linux": "npm run build && pkg dist/index.js --targets node18-linux-x64 --output bin/bno-linux",
|
|
18
|
-
"package:linux-arm64": "npm run build && pkg dist/index.js --targets node18-linux-arm64 --output bin/bno-linux-arm64"
|
|
18
|
+
"package:linux-arm64": "npm run build && pkg dist/index.js --targets node18-linux-arm64 --output bin/bno-linux-arm64",
|
|
19
|
+
"publish": "npm run build && npm publish"
|
|
19
20
|
},
|
|
20
21
|
"keywords": [
|
|
21
22
|
"chat",
|