dev-null-tty 0.1.0__tar.gz → 0.2.0__tar.gz
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.
- {dev_null_tty-0.1.0 → dev_null_tty-0.2.0}/PKG-INFO +32 -8
- {dev_null_tty-0.1.0 → dev_null_tty-0.2.0}/README.md +31 -7
- {dev_null_tty-0.1.0 → dev_null_tty-0.2.0}/pyproject.toml +1 -1
- {dev_null_tty-0.1.0 → dev_null_tty-0.2.0}/pyproject.toml.orig +1 -1
- dev_null_tty-0.2.0/src/dev_null_tty/__init__.py +1478 -0
- {dev_null_tty-0.1.0 → dev_null_tty-0.2.0}/src/dev_null_tty/api.py +211 -3
- {dev_null_tty-0.1.0 → dev_null_tty-0.2.0}/src/dev_null_tty/styles.tcss +144 -3
- dev_null_tty-0.1.0/src/dev_null_tty/__init__.py +0 -758
- {dev_null_tty-0.1.0 → dev_null_tty-0.2.0}/src/dev_null_tty/__main__.py +0 -0
- {dev_null_tty-0.1.0 → dev_null_tty-0.2.0}/src/dev_null_tty/desktop.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: dev-null-tty
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: A terminal interface for /dev/null
|
|
5
5
|
Author: Avetis Avo Pisikyan
|
|
6
6
|
Author-email: Avetis Avo Pisikyan <apisikya@gmail.com>
|
|
@@ -18,10 +18,21 @@ The **Following**, **Latest**, and **Trending** journals load real commits from
|
|
|
18
18
|
the signed `/api/v1/log/{log}` endpoint after sign-in. Each journal supports
|
|
19
19
|
automatic cursor-based infinite scrolling and commit search. Guest users can
|
|
20
20
|
view the profile and sign in; journals require an approved device. Signed-in
|
|
21
|
-
users can
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
users can browse a cursor-paginated notifications inbox, publish commits,
|
|
22
|
+
reply to a commit, or quote it. Opening the notifications inbox marks
|
|
23
|
+
notifications read on /dev/null. Click detected
|
|
24
|
+
HTTP(S) links with the mouse to open them in your default browser. The modal
|
|
25
|
+
composer shows the original commit above the editor for replies and quotes,
|
|
26
|
+
and submits through the signed `POST /api/v1/commits` endpoint. Press
|
|
27
|
+
`Ctrl+P` to submit. Press `Ctrl+Q` or `Escape` to close the composer.
|
|
28
|
+
Press `Enter` on a selected journal entry to open its full commit and replies.
|
|
29
|
+
Use `j` / `k` to navigate replies, `Enter` to follow a reply into its own
|
|
30
|
+
thread, `u` to move to the parent comment, and `q` or `Escape` to return to the
|
|
31
|
+
previous screen. Commit details show the ancestor and parent-comment context
|
|
32
|
+
in a scrollable pane on the left, and the comment being replied to above its
|
|
33
|
+
replies on the right. Press `Ctrl+J` / `Ctrl+K` or use the mouse wheel to
|
|
34
|
+
scroll the ancestor history. Press `Ctrl+R` to reply to the thread's main
|
|
35
|
+
commit or selected comment. Scroll the replies list to load older replies.
|
|
25
36
|
|
|
26
37
|
The profile's **Sign in with GitHub** action starts the documented PKCE
|
|
27
38
|
device authorization flow. To preserve existing sign-ins, the app keeps its
|
|
@@ -68,12 +79,25 @@ uv run dev-null-tty
|
|
|
68
79
|
Keyboard shortcuts:
|
|
69
80
|
|
|
70
81
|
- `h` / `l` — Previous / next journal
|
|
71
|
-
- `
|
|
82
|
+
- `r` — Refresh the active journal
|
|
83
|
+
- `n` — Open notifications
|
|
84
|
+
- `j` / `k` — Next / previous commit or notification
|
|
85
|
+
- `Enter` — Open the selected commit/notification or follow a selected reply
|
|
86
|
+
- `Ctrl+J` / `Ctrl+K` — Scroll commit thread history
|
|
87
|
+
- `Ctrl+R` — Reply to the thread's main commit or selected comment
|
|
88
|
+
- `u` — Move up to the parent comment in a thread
|
|
89
|
+
- `q` (commit thread) — Return to the previous screen
|
|
90
|
+
- `Escape` — Return to the previous screen
|
|
72
91
|
- `Shift+C` — New commit
|
|
73
92
|
- `Shift+Q` — Quote selected commit
|
|
74
93
|
- `Shift+R` — Reply to selected commit
|
|
94
|
+
- `Ctrl+P` — Submit the commit, reply, or quote
|
|
75
95
|
- `q` — Quit
|
|
76
96
|
|
|
97
|
+
Journal navigation wraps between Latest, Following, and Trending. Loaded
|
|
98
|
+
journals remain visible when you switch away; a cached journal refreshes after
|
|
99
|
+
you leave it selected for two seconds.
|
|
100
|
+
|
|
77
101
|
## Test
|
|
78
102
|
|
|
79
103
|
```bash
|
|
@@ -88,8 +112,8 @@ version in `pyproject.toml` (and refresh `uv.lock`), then push a matching
|
|
|
88
112
|
version tag, for example:
|
|
89
113
|
|
|
90
114
|
```bash
|
|
91
|
-
git tag v0.
|
|
92
|
-
git push origin v0.
|
|
115
|
+
git tag v0.2.0
|
|
116
|
+
git push origin v0.2.0
|
|
93
117
|
```
|
|
94
118
|
|
|
95
119
|
The workflow checks that the tag matches the project version, runs the tests,
|
|
@@ -8,10 +8,21 @@ The **Following**, **Latest**, and **Trending** journals load real commits from
|
|
|
8
8
|
the signed `/api/v1/log/{log}` endpoint after sign-in. Each journal supports
|
|
9
9
|
automatic cursor-based infinite scrolling and commit search. Guest users can
|
|
10
10
|
view the profile and sign in; journals require an approved device. Signed-in
|
|
11
|
-
users can
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
users can browse a cursor-paginated notifications inbox, publish commits,
|
|
12
|
+
reply to a commit, or quote it. Opening the notifications inbox marks
|
|
13
|
+
notifications read on /dev/null. Click detected
|
|
14
|
+
HTTP(S) links with the mouse to open them in your default browser. The modal
|
|
15
|
+
composer shows the original commit above the editor for replies and quotes,
|
|
16
|
+
and submits through the signed `POST /api/v1/commits` endpoint. Press
|
|
17
|
+
`Ctrl+P` to submit. Press `Ctrl+Q` or `Escape` to close the composer.
|
|
18
|
+
Press `Enter` on a selected journal entry to open its full commit and replies.
|
|
19
|
+
Use `j` / `k` to navigate replies, `Enter` to follow a reply into its own
|
|
20
|
+
thread, `u` to move to the parent comment, and `q` or `Escape` to return to the
|
|
21
|
+
previous screen. Commit details show the ancestor and parent-comment context
|
|
22
|
+
in a scrollable pane on the left, and the comment being replied to above its
|
|
23
|
+
replies on the right. Press `Ctrl+J` / `Ctrl+K` or use the mouse wheel to
|
|
24
|
+
scroll the ancestor history. Press `Ctrl+R` to reply to the thread's main
|
|
25
|
+
commit or selected comment. Scroll the replies list to load older replies.
|
|
15
26
|
|
|
16
27
|
The profile's **Sign in with GitHub** action starts the documented PKCE
|
|
17
28
|
device authorization flow. To preserve existing sign-ins, the app keeps its
|
|
@@ -58,12 +69,25 @@ uv run dev-null-tty
|
|
|
58
69
|
Keyboard shortcuts:
|
|
59
70
|
|
|
60
71
|
- `h` / `l` — Previous / next journal
|
|
61
|
-
- `
|
|
72
|
+
- `r` — Refresh the active journal
|
|
73
|
+
- `n` — Open notifications
|
|
74
|
+
- `j` / `k` — Next / previous commit or notification
|
|
75
|
+
- `Enter` — Open the selected commit/notification or follow a selected reply
|
|
76
|
+
- `Ctrl+J` / `Ctrl+K` — Scroll commit thread history
|
|
77
|
+
- `Ctrl+R` — Reply to the thread's main commit or selected comment
|
|
78
|
+
- `u` — Move up to the parent comment in a thread
|
|
79
|
+
- `q` (commit thread) — Return to the previous screen
|
|
80
|
+
- `Escape` — Return to the previous screen
|
|
62
81
|
- `Shift+C` — New commit
|
|
63
82
|
- `Shift+Q` — Quote selected commit
|
|
64
83
|
- `Shift+R` — Reply to selected commit
|
|
84
|
+
- `Ctrl+P` — Submit the commit, reply, or quote
|
|
65
85
|
- `q` — Quit
|
|
66
86
|
|
|
87
|
+
Journal navigation wraps between Latest, Following, and Trending. Loaded
|
|
88
|
+
journals remain visible when you switch away; a cached journal refreshes after
|
|
89
|
+
you leave it selected for two seconds.
|
|
90
|
+
|
|
67
91
|
## Test
|
|
68
92
|
|
|
69
93
|
```bash
|
|
@@ -78,8 +102,8 @@ version in `pyproject.toml` (and refresh `uv.lock`), then push a matching
|
|
|
78
102
|
version tag, for example:
|
|
79
103
|
|
|
80
104
|
```bash
|
|
81
|
-
git tag v0.
|
|
82
|
-
git push origin v0.
|
|
105
|
+
git tag v0.2.0
|
|
106
|
+
git push origin v0.2.0
|
|
83
107
|
```
|
|
84
108
|
|
|
85
109
|
The workflow checks that the tag matches the project version, runs the tests,
|