noupload 1.0.0 → 1.0.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/.github/workflows/release.yml +18 -7
- package/README.md +8 -9
- package/package.json +13 -1
|
@@ -17,24 +17,29 @@ jobs:
|
|
|
17
17
|
include:
|
|
18
18
|
- os: ubuntu-latest
|
|
19
19
|
target: linux-x64
|
|
20
|
-
|
|
20
|
+
pkg_target: node18-linux-x64
|
|
21
21
|
- os: ubuntu-latest
|
|
22
22
|
target: linux-arm64
|
|
23
|
-
|
|
23
|
+
pkg_target: node18-linux-arm64
|
|
24
24
|
- os: macos-latest
|
|
25
25
|
target: darwin-x64
|
|
26
|
-
|
|
26
|
+
pkg_target: node18-macos-x64
|
|
27
27
|
- os: macos-latest
|
|
28
28
|
target: darwin-arm64
|
|
29
|
-
|
|
29
|
+
pkg_target: node18-macos-arm64
|
|
30
30
|
- os: windows-latest
|
|
31
31
|
target: windows-x64
|
|
32
|
-
|
|
32
|
+
pkg_target: node18-win-x64
|
|
33
33
|
|
|
34
34
|
steps:
|
|
35
35
|
- uses: actions/checkout@v4
|
|
36
36
|
|
|
37
|
-
- name: Setup
|
|
37
|
+
- name: Setup Node.js
|
|
38
|
+
uses: actions/setup-node@v4
|
|
39
|
+
with:
|
|
40
|
+
node-version: '18'
|
|
41
|
+
|
|
42
|
+
- name: Setup Bun (for building dist)
|
|
38
43
|
uses: oven-sh/setup-bun@v1
|
|
39
44
|
with:
|
|
40
45
|
bun-version: latest
|
|
@@ -42,8 +47,14 @@ jobs:
|
|
|
42
47
|
- name: Install Dependencies
|
|
43
48
|
run: bun install
|
|
44
49
|
|
|
50
|
+
- name: Build dist
|
|
51
|
+
run: bun run build
|
|
52
|
+
|
|
53
|
+
- name: Install pkg
|
|
54
|
+
run: npm install -g pkg
|
|
55
|
+
|
|
45
56
|
- name: Build Binary
|
|
46
|
-
run:
|
|
57
|
+
run: pkg dist/index.js --target ${{ matrix.pkg_target }} --output noupload-${{ matrix.target }}
|
|
47
58
|
|
|
48
59
|
- name: Upload Artifact
|
|
49
60
|
uses: actions/upload-artifact@v4
|
package/README.md
CHANGED
|
@@ -17,22 +17,21 @@ All processing happens locally on your machine. No uploads. No cloud. No data le
|
|
|
17
17
|
|
|
18
18
|
## Installation
|
|
19
19
|
|
|
20
|
-
###
|
|
21
|
-
Install the standalone binary (no Node.js required):
|
|
22
|
-
|
|
20
|
+
### Using npm (Recommended)
|
|
23
21
|
```bash
|
|
24
|
-
|
|
22
|
+
npm install -g noupload
|
|
25
23
|
```
|
|
26
24
|
|
|
27
|
-
###
|
|
25
|
+
### Using Bun
|
|
28
26
|
```bash
|
|
29
|
-
# Install globally via npm
|
|
30
|
-
npm install -g noupload
|
|
31
|
-
|
|
32
|
-
# Or use via Bun
|
|
33
27
|
bun install -g noupload
|
|
34
28
|
```
|
|
35
29
|
|
|
30
|
+
### Using npx (No install required)
|
|
31
|
+
```bash
|
|
32
|
+
npx noupload <command>
|
|
33
|
+
```
|
|
34
|
+
|
|
36
35
|
### First Run Setup
|
|
37
36
|
NoUpload relies on industry-standard tools (FFmpeg, Ghostscript) for heavy lifting.
|
|
38
37
|
Run the setup command to automatically detect and install missing dependencies for your OS.
|
package/package.json
CHANGED
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "noupload",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Privacy-first CLI for PDF, Image, Audio, and QR operations - all processed locally",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"bin": {
|
|
8
8
|
"noupload": "./dist/index.js"
|
|
9
9
|
},
|
|
10
|
+
"pkg": {
|
|
11
|
+
"assets": [
|
|
12
|
+
"node_modules/sharp/**/*"
|
|
13
|
+
],
|
|
14
|
+
"targets": [
|
|
15
|
+
"node18-linux-x64",
|
|
16
|
+
"node18-linux-arm64",
|
|
17
|
+
"node18-macos-x64",
|
|
18
|
+
"node18-macos-arm64",
|
|
19
|
+
"node18-win-x64"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
10
22
|
"scripts": {
|
|
11
23
|
"dev": "bun run src/index.ts",
|
|
12
24
|
"build": "bun build src/index.ts --outdir dist --target bun --minify",
|