lannotebook 1.0.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 ADDED
@@ -0,0 +1,13 @@
1
+ # lannotebook
2
+
3
+ Shared LAN notebook — one full-page textarea, autosaved to a file, everyone on the LAN sees the same text.
4
+
5
+ ```sh
6
+ npx lannotebook # :8081, file ~/cicy-ai/db/lanshare-note.txt
7
+ npx lannotebook ~/notes/lan.md -p 9001 # custom file + port
8
+ npx lannotebook -a team:pass # HTTP Basic auth
9
+ npx lannotebook --daemon && npx lannotebook status && npx lannotebook stop
10
+ npx lannotebook --help
11
+ ```
12
+
13
+ Wrapper around [`lanshare-cli`](https://www.npmjs.com/package/lanshare-cli) (`lanshare note ...`). MIT
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire } from 'node:module';
3
+ const require = createRequire(import.meta.url);
4
+ await import(require.resolve('lanshare-cli/bin/lannotebook.js'));
package/package.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "lannotebook",
3
+ "version": "1.0.0",
4
+ "description": "Shared LAN notebook: one full-page textarea served over HTTP, autosaved to a file, optional HTTP Basic auth. Thin wrapper around `lanshare note`.",
5
+ "type": "module",
6
+ "bin": { "lannotebook": "bin/lannotebook.js" },
7
+ "files": ["bin", "README.md"],
8
+ "engines": { "node": ">=18" },
9
+ "dependencies": { "lanshare-cli": "^1.0.0" },
10
+ "keywords": ["lan", "notebook", "textarea", "share", "basic-auth", "npx"],
11
+ "repository": { "type": "git", "url": "git+https://github.com/cicy-ai/lanshare.git", "directory": "packages/lannotebook" },
12
+ "homepage": "https://github.com/cicy-ai/lanshare#readme",
13
+ "author": "cicy-ai",
14
+ "license": "MIT"
15
+ }