@yagnikpt/tpaper 0.1.1 → 0.2.1
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 +35 -16
- package/dist/index.js +401 -400
- package/dist/libopentui-0r5w9btr.so +0 -0
- package/dist/libopentui-430t0qv0.dylib +0 -0
- package/dist/libopentui-c48jzvfh.so +0 -0
- package/dist/libopentui-c8ye7mqw.dylib +0 -0
- package/dist/libopentui-smaejjb8.so +0 -0
- package/dist/libopentui-xtk56e94.so +0 -0
- package/dist/opentui-c5en9p2g.dll +0 -0
- package/dist/opentui-drfwd3v7.dll +0 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -12,6 +12,39 @@ Yes its a [heynote](https://github.com/heyman/heynote) rip-off for the terminal
|
|
|
12
12
|
- **Buffer** — a named collection of blocks, stored as a Markdown file on disk. Roughly analogous to a notebook or a tab.
|
|
13
13
|
- **Block** — an individual note within a buffer, written in Markdown and rendered with syntax highlighting in the terminal.
|
|
14
14
|
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
brew install yagnikpt/tap/tpaper
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
bun install -g @yagnikpt/tpaper
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Keybindings & Features
|
|
26
|
+
* `ctrl+h` — opens the keymaps menu
|
|
27
|
+
|
|
28
|
+
### Editing
|
|
29
|
+
* `i` — Edit the block inline using the built-in editor
|
|
30
|
+
* `ctrl+i` — Edit the block using your external system editor (configured via `$EDITOR`, defaults to `nano`)
|
|
31
|
+
* `enter` — Edit block (opens the built-in inline editor by default, or your system editor if configured)
|
|
32
|
+
|
|
33
|
+
## Configuration
|
|
34
|
+
|
|
35
|
+
Run `tpaper --help` to see the necessary flags and options.
|
|
36
|
+
|
|
37
|
+
The configuration file is located at `~/.config/tpaper-cli/config.yaml` (Linux example).
|
|
38
|
+
|
|
39
|
+
You can customize the following settings:
|
|
40
|
+
|
|
41
|
+
```yaml
|
|
42
|
+
# ~/.config/tpaper-cli/config.yaml
|
|
43
|
+
|
|
44
|
+
# If true, pressing enter/return on a block opens it in your external system editor by default.
|
|
45
|
+
systemEditorByDefault: false
|
|
46
|
+
```
|
|
47
|
+
|
|
15
48
|
## Data storage
|
|
16
49
|
|
|
17
50
|
Everything is stored locally. The exact paths depend on your OS.
|
|
@@ -23,16 +56,6 @@ Everything is stored locally. The exact paths depend on your OS.
|
|
|
23
56
|
|
|
24
57
|
Buffers are plain Markdown files. Blocks are delimited by HTML comments so the files remain human-readable outside the app.
|
|
25
58
|
|
|
26
|
-
## Installation
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
brew install yagnikpt/tap/tpaper
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
bun install -g @yagnikpt/tpaper
|
|
34
|
-
```
|
|
35
|
-
|
|
36
59
|
## Development
|
|
37
60
|
|
|
38
61
|
```bash
|
|
@@ -43,14 +66,10 @@ bun dev # run with file watching
|
|
|
43
66
|
## Building
|
|
44
67
|
|
|
45
68
|
```bash
|
|
46
|
-
bun run build
|
|
69
|
+
bun run build
|
|
47
70
|
```
|
|
48
71
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
BUN_TARGET=bun-darwin-arm64 OUTFILE=./dist/tpaper-mac bun run build
|
|
53
|
-
```
|
|
72
|
+
Builds for all supported platforms (linux-x64, darwin-arm64, linux-arm64, windows-x64, darwin-x64).
|
|
54
73
|
|
|
55
74
|
## Stack
|
|
56
75
|
|