@yom-official/rigcheck 2.0.6 → 2.0.8
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 +37 -37
- package/bin/rigcheck-linux +0 -0
- package/bin/rigcheck-linux-arm64 +0 -0
- package/bin/rigcheck.exe +0 -0
- package/bin/rigcheck.js +13 -13
- package/package.json +36 -36
- package/scripts/postinstall.js +13 -13
package/README.md
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
# @yom-official/rigcheck
|
|
2
|
-
|
|
3
|
-
YOM Rig Compatibility Checker - Check if your system meets YOM node requirements.
|
|
4
|
-
|
|
5
|
-
## Quick Start
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npx @yom-official/rigcheck
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
Or install globally:
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
npm install -g @yom-official/rigcheck
|
|
15
|
-
rigcheck
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## What It Does
|
|
19
|
-
|
|
20
|
-
Checks your system's GPU and network to determine eligibility for running YOM nodes. Designed for headless servers where a browser is not available.
|
|
21
|
-
|
|
22
|
-
## Supported Platforms
|
|
23
|
-
|
|
24
|
-
- Linux (x64, arm64)
|
|
25
|
-
- Windows (x64)
|
|
26
|
-
|
|
27
|
-
## Privacy
|
|
28
|
-
|
|
29
|
-
This tool collects hardware specs (GPU, OS), network speed results, and a machine identifier. Data is sent to YOM servers for eligibility verification.
|
|
30
|
-
|
|
31
|
-
## Links
|
|
32
|
-
|
|
33
|
-
- Website: https://yom.net
|
|
34
|
-
|
|
35
|
-
## License
|
|
36
|
-
|
|
37
|
-
MIT - YOM B.V.
|
|
1
|
+
# @yom-official/rigcheck
|
|
2
|
+
|
|
3
|
+
YOM Rig Compatibility Checker - Check if your system meets YOM node requirements.
|
|
4
|
+
|
|
5
|
+
## Quick Start
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx @yom-official/rigcheck
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Or install globally:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install -g @yom-official/rigcheck
|
|
15
|
+
rigcheck
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## What It Does
|
|
19
|
+
|
|
20
|
+
Checks your system's GPU and network to determine eligibility for running YOM nodes. Designed for headless servers where a browser is not available.
|
|
21
|
+
|
|
22
|
+
## Supported Platforms
|
|
23
|
+
|
|
24
|
+
- Linux (x64, arm64)
|
|
25
|
+
- Windows (x64)
|
|
26
|
+
|
|
27
|
+
## Privacy
|
|
28
|
+
|
|
29
|
+
This tool collects hardware specs (GPU, OS), network speed results, and a machine identifier. Data is sent to YOM servers for eligibility verification.
|
|
30
|
+
|
|
31
|
+
## Links
|
|
32
|
+
|
|
33
|
+
- Website: https://yom.net
|
|
34
|
+
|
|
35
|
+
## License
|
|
36
|
+
|
|
37
|
+
MIT - YOM B.V.
|
package/bin/rigcheck-linux
CHANGED
|
Binary file
|
package/bin/rigcheck-linux-arm64
CHANGED
|
Binary file
|
package/bin/rigcheck.exe
CHANGED
|
Binary file
|
package/bin/rigcheck.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
const { spawn } = require('child_process');
|
|
3
|
-
const { chmodSync, existsSync } = require('fs');
|
|
4
|
-
const path = require('path');
|
|
5
|
-
const p = process.platform, a = process.arch;
|
|
6
|
-
const b = p === 'win32' ? 'rigcheck.exe' : p === 'linux' && a === 'arm64' ? 'rigcheck-linux-arm64' : 'rigcheck-linux';
|
|
7
|
-
const f = path.join(__dirname, b);
|
|
8
|
-
if (!existsSync(f)) { console.error('Error: Binary not found:', f); process.exit(1); }
|
|
9
|
-
if (p !== 'win32') try { chmodSync(f, 0o755); } catch {}
|
|
10
|
-
const cmd = p === 'win32' ? `"${f}"` : f;
|
|
11
|
-
const c = spawn(cmd, process.argv.slice(2), { stdio: 'inherit', shell: p === 'win32' });
|
|
12
|
-
c.on('close', code => process.exit(code || 0));
|
|
13
|
-
c.on('error', e => { console.error('Error:', e.message); process.exit(1); });
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
const { spawn } = require('child_process');
|
|
3
|
+
const { chmodSync, existsSync } = require('fs');
|
|
4
|
+
const path = require('path');
|
|
5
|
+
const p = process.platform, a = process.arch;
|
|
6
|
+
const b = p === 'win32' ? 'rigcheck.exe' : p === 'linux' && a === 'arm64' ? 'rigcheck-linux-arm64' : 'rigcheck-linux';
|
|
7
|
+
const f = path.join(__dirname, b);
|
|
8
|
+
if (!existsSync(f)) { console.error('Error: Binary not found:', f); process.exit(1); }
|
|
9
|
+
if (p !== 'win32') try { chmodSync(f, 0o755); } catch {}
|
|
10
|
+
const cmd = p === 'win32' ? `"${f}"` : f;
|
|
11
|
+
const c = spawn(cmd, process.argv.slice(2), { stdio: 'inherit', shell: p === 'win32' });
|
|
12
|
+
c.on('close', code => process.exit(code || 0));
|
|
13
|
+
c.on('error', e => { console.error('Error:', e.message); process.exit(1); });
|
package/package.json
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@yom-official/rigcheck",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "YOM Rig Compatibility Checker - Check if your system meets YOM node requirements",
|
|
5
|
-
"bin": {
|
|
6
|
-
"rigcheck": "./bin/rigcheck.js",
|
|
7
|
-
"yom-rigcheck": "./bin/rigcheck.js"
|
|
8
|
-
},
|
|
9
|
-
"scripts": {
|
|
10
|
-
"postinstall": "node scripts/postinstall.js"
|
|
11
|
-
},
|
|
12
|
-
"engines": {
|
|
13
|
-
"node": ">=14.0.0"
|
|
14
|
-
},
|
|
15
|
-
"os": [
|
|
16
|
-
"linux",
|
|
17
|
-
"win32"
|
|
18
|
-
],
|
|
19
|
-
"keywords": [
|
|
20
|
-
"yom",
|
|
21
|
-
"rig",
|
|
22
|
-
"checker",
|
|
23
|
-
"gpu",
|
|
24
|
-
"speedtest",
|
|
25
|
-
"eligibility",
|
|
26
|
-
"node"
|
|
27
|
-
],
|
|
28
|
-
"author": "YOM B.V.",
|
|
29
|
-
"license": "MIT",
|
|
30
|
-
"repository": {
|
|
31
|
-
"type": "git",
|
|
32
|
-
"url": "https://github.com/yom-ooo/rigcheck.git"
|
|
33
|
-
},
|
|
34
|
-
"homepage": "https://yom.net",
|
|
35
|
-
"preferGlobal": true
|
|
36
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@yom-official/rigcheck",
|
|
3
|
+
"version": "2.0.8",
|
|
4
|
+
"description": "YOM Rig Compatibility Checker - Check if your system meets YOM node requirements",
|
|
5
|
+
"bin": {
|
|
6
|
+
"rigcheck": "./bin/rigcheck.js",
|
|
7
|
+
"yom-rigcheck": "./bin/rigcheck.js"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"postinstall": "node scripts/postinstall.js"
|
|
11
|
+
},
|
|
12
|
+
"engines": {
|
|
13
|
+
"node": ">=14.0.0"
|
|
14
|
+
},
|
|
15
|
+
"os": [
|
|
16
|
+
"linux",
|
|
17
|
+
"win32"
|
|
18
|
+
],
|
|
19
|
+
"keywords": [
|
|
20
|
+
"yom",
|
|
21
|
+
"rig",
|
|
22
|
+
"checker",
|
|
23
|
+
"gpu",
|
|
24
|
+
"speedtest",
|
|
25
|
+
"eligibility",
|
|
26
|
+
"node"
|
|
27
|
+
],
|
|
28
|
+
"author": "YOM B.V.",
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "https://github.com/yom-ooo/rigcheck.git"
|
|
33
|
+
},
|
|
34
|
+
"homepage": "https://yom.net",
|
|
35
|
+
"preferGlobal": true
|
|
36
|
+
}
|
package/scripts/postinstall.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Postinstall script for @yom/rigcheck
|
|
5
|
-
*
|
|
6
|
-
* This script runs during npm install but does NOT download the binary.
|
|
7
|
-
* The binary is downloaded fresh each time the CLI runs (in rigcheck.js).
|
|
8
|
-
* This ensures users always get the latest version.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
console.log('\n@yom-official/rigcheck installed successfully!');
|
|
12
|
-
console.log('Run "rigcheck" or "npx @yom-official/rigcheck" to start the rig check.');
|
|
13
|
-
console.log('The latest binary will be downloaded automatically.\n');
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Postinstall script for @yom/rigcheck
|
|
5
|
+
*
|
|
6
|
+
* This script runs during npm install but does NOT download the binary.
|
|
7
|
+
* The binary is downloaded fresh each time the CLI runs (in rigcheck.js).
|
|
8
|
+
* This ensures users always get the latest version.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
console.log('\n@yom-official/rigcheck installed successfully!');
|
|
12
|
+
console.log('Run "rigcheck" or "npx @yom-official/rigcheck" to start the rig check.');
|
|
13
|
+
console.log('The latest binary will be downloaded automatically.\n');
|