@brianlovin/hn-cli 0.1.7 → 0.2.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/README.md +10 -10
- package/dist/cli.js +109 -90
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,31 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
A terminal UI for browsing Hacker News, modeled after the HN reader on my [personal website](https://brianlovin.com/hn).
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Quick Start
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
bunx @brianlovin/hn-cli
|
|
9
|
+
```
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
> Requires [Bun](https://bun.sh). Install with `curl -fsSL https://bun.sh/install | bash`
|
|
12
|
+
|
|
13
|
+
## Installation
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
# Run directly (no install needed)
|
|
12
17
|
bunx @brianlovin/hn-cli
|
|
13
18
|
|
|
14
19
|
# Or install globally
|
|
15
20
|
bun install -g @brianlovin/hn-cli
|
|
16
|
-
hn
|
|
21
|
+
hn
|
|
17
22
|
```
|
|
18
23
|
|
|
19
24
|
### From source
|
|
20
25
|
|
|
21
26
|
```bash
|
|
22
|
-
# Clone the repository
|
|
23
27
|
git clone https://github.com/brianlovin/hn-cli.git
|
|
24
28
|
cd hn-cli
|
|
25
|
-
|
|
26
|
-
# Install dependencies
|
|
27
29
|
bun install
|
|
28
|
-
|
|
29
|
-
# Run the app
|
|
30
30
|
bun run start
|
|
31
31
|
```
|
|
32
32
|
|