lomasub 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +5 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,17 +2,18 @@
2
2
 
3
3
  Create subtitles from a local audio or video file. Requires Node.js 20+ and a Loma Sub API key. No runtime npm dependencies.
4
4
 
5
+ Sign in to the editor, open your account dialog, and generate your personal API key. Copy it when shown: it is displayed only once. Each account has one active key; replacing or revoking it immediately invalidates the old key. Your CLI/SDK requests use your account's quota and create jobs in your own history. Inactive accounts cannot use personal keys. The shared deployment secret is reserved for internal scripts and workers.
6
+
5
7
  ## Install
6
8
 
7
- From this repository (the package has not been published to npm):
9
+ Run directly with npx:
8
10
 
9
11
  ```bash
10
- npm install --global ./cli-sdk
11
12
  export LOMA_API_SECRET_KEY="<your-api-key>"
12
- lomasub transcribe ./video.mp4 --language th
13
+ npx lomasub transcribe ./video.mp4 --language th
13
14
  ```
14
15
 
15
- For a Node.js project, run `npm install /path/to/loma_fastsrt/cli-sdk` instead.
16
+ For a Node.js project, run `npm install lomasub`. For a persistent CLI, run `npm install --global lomasub`. From a repository checkout, `npm install --global ./cli-sdk` also works.
16
17
 
17
18
  ## CLI
18
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lomasub",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Lomasub cli is a command-line tool for creating subtitles from local audio or video in Node.js or the terminal, using lomasub.ai cloud service. ",
5
5
  "type": "module",
6
6
  "engines": { "node": ">=20" },