@adrianmg/noted 1.0.0 → 1.1.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 CHANGED
@@ -4,7 +4,7 @@
4
4
  <br>
5
5
  noted
6
6
  </h1>
7
- <p align="center">Markdown notes in your terminal, as if they ran on MS-DOS.<br>Opens instantly, saves as you type, keeps every note as a plain Markdown file.</p>
7
+ <p align="center">Markdown notes in your terminal, as if they ran on MS-DOS.<br>Opens in 2.5 ms, saves as you type, keeps every note as a plain Markdown file.</p>
8
8
  <p align="center">
9
9
  <a href="https://www.npmjs.com/package/@adrianmg/noted"><img src="https://img.shields.io/npm/v/%40adrianmg%2Fnoted?label=npm&color=0000aa" alt="npm version" height="18"></a>
10
10
  <a href="https://github.com/adrianmg/noted/releases"><img src="https://img.shields.io/github/v/release/adrianmg/noted?label=release&color=00aaaa" alt="Latest release" height="18"></a>
@@ -34,6 +34,15 @@ curl -fsSL https://noted.computer/install | sh # macOS, Linux
34
34
  irm https://noted.computer/install.ps1 | iex # Windows, in PowerShell
35
35
  ```
36
36
 
37
+ If npm warns that an install script was blocked, noted is still installed:
38
+ run `noted`. The optional script improves startup speed on macOS and Linux.
39
+ To allow that optimization, reinstall with an npm version that supports
40
+ `--allow-scripts`:
41
+
42
+ ```sh
43
+ npm install -g @adrianmg/noted --allow-scripts=@adrianmg/noted
44
+ ```
45
+
37
46
  ## Usage
38
47
 
39
48
  ```sh
@@ -46,17 +55,43 @@ noted --path # print where your notes are
46
55
  noted --help # every option
47
56
  ```
48
57
 
58
+ ## Import existing notes or change location
59
+
60
+ Already have notes in Obsidian, iA Writer, or another app that saves
61
+ Markdown? Open their folder with `--dir`; quote paths with spaces:
62
+
63
+ ```sh
64
+ noted --dir ~/Notes
65
+ noted --dir "$HOME/Documents/My Notes"
66
+ ```
67
+
68
+ Existing notes open in place, including notes in nested folders, and new
69
+ notes are saved there. There is no separate import or conversion step.
70
+ `--dir` applies only to this run: it does not change the default or move
71
+ notes from your previous folder.
72
+
73
+ To change the default permanently, use Noted ▸ Notes folder…. The current
74
+ location is shown read-only, and "Folder to use" starts with that path.
75
+ **Use new folder** becomes available when you choose a valid, different
76
+ location. **Bring existing notes from '…'** then lets you move your current
77
+ notes along, or leave them where they are by unticking it. Existing notes
78
+ in the chosen folder appear either way; Cancel changes nothing.
79
+
49
80
  ## What it does
50
81
 
51
- noted opens on a new note in about 2.5 ms and saves as you type, so there's
52
- no save button and nothing to lose. Each note is a plain Markdown file named
82
+ noted opens on a new note in about 2.5 ms, answers each key in under 0.1 ms
83
+ (about 0.1 ms in a 30,000-line note), and saves as you type, so there's no
84
+ save button and nothing to lose. Each note is a plain Markdown file named
53
85
  after its first line, in a `Noted` folder in iCloud Drive when it's on, or
54
86
  else in Documents, where any editor can open it: `noted --path` prints where,
55
- and Noted ▸ Notes folder… moves them elsewhere. Markdown is lit as you type,
87
+ and Noted ▸ Notes folder… chooses where notes open and save. Markdown is lit as you type,
56
88
  finding searches every note as you type, and it all looks like MS-DOS:
57
89
  pull-down menus, Norton Commander panes and eleven themes. It runs on macOS,
58
90
  Linux and Windows, in any terminal.
59
91
 
92
+ How it compares with Apple Notes, Obsidian, VS Code, vim and Emacs, measured
93
+ on one Mac with every sample published: [benchmarks](https://github.com/adrianmg/noted/tree/main/benchmarks).
94
+
60
95
  ## Keys
61
96
 
62
97
  | Key | |
@@ -98,7 +133,8 @@ up on [Twitter](https://twitter.com/adrianmg).
98
133
 
99
134
  This repository holds noted's releases, its Homebrew formula and this README;
100
135
  the npm package, [@adrianmg/noted](https://www.npmjs.com/package/@adrianmg/noted),
101
- ships the same builds.
136
+ ships the same builds, and is published from here, with provenance. To report
137
+ a vulnerability, see [SECURITY.md](https://github.com/adrianmg/noted/blob/main/SECURITY.md).
102
138
 
103
139
  ## License
104
140
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adrianmg/noted",
3
- "version": "1.0.0",
4
- "description": "Markdown notes in your terminal, as if they ran on MS-DOS: opens instantly, saves as you type, and keeps each note as a plain .md file.",
3
+ "version": "1.1.0",
4
+ "description": "Markdown notes in your terminal, as if they ran on MS-DOS: opens in about 2.5 ms, saves as you type, and keeps each note as a plain .md file.",
5
5
  "keywords": [
6
6
  "notes",
7
7
  "markdown",
Binary file
Binary file
Binary file
Binary file