hostdb 0.24.0 → 0.25.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/databases.json +56 -80
- package/lib/checksums.ts +4 -7
- package/lib/databases.ts +4 -3
- package/package.json +3 -2
package/databases.json
CHANGED
|
@@ -15,19 +15,11 @@
|
|
|
15
15
|
"versions": {
|
|
16
16
|
"25.12.3.21": true
|
|
17
17
|
},
|
|
18
|
-
"platforms": [
|
|
19
|
-
"linux-x64",
|
|
20
|
-
"linux-arm64",
|
|
21
|
-
"darwin-x64",
|
|
22
|
-
"darwin-arm64"
|
|
23
|
-
],
|
|
18
|
+
"platforms": ["linux-x64", "linux-arm64", "darwin-x64", "darwin-arm64"],
|
|
24
19
|
"cliTools": {
|
|
25
20
|
"server": "clickhouse-server",
|
|
26
21
|
"client": "clickhouse-client",
|
|
27
|
-
"utilities": [
|
|
28
|
-
"clickhouse-local",
|
|
29
|
-
"clickhouse-benchmark"
|
|
30
|
-
],
|
|
22
|
+
"utilities": ["clickhouse-local", "clickhouse-benchmark"],
|
|
31
23
|
"enhanced": []
|
|
32
24
|
},
|
|
33
25
|
"connection": {
|
|
@@ -64,10 +56,7 @@
|
|
|
64
56
|
"server": "cockroach",
|
|
65
57
|
"client": "cockroach",
|
|
66
58
|
"utilities": [],
|
|
67
|
-
"enhanced": [
|
|
68
|
-
"pgcli",
|
|
69
|
-
"usql"
|
|
70
|
-
],
|
|
59
|
+
"enhanced": ["pgcli", "usql"],
|
|
71
60
|
"note": "Single binary; use 'cockroach start-single-node' for server, 'cockroach sql' for client"
|
|
72
61
|
},
|
|
73
62
|
"connection": {
|
|
@@ -141,9 +130,7 @@
|
|
|
141
130
|
"server": null,
|
|
142
131
|
"client": "duckdb",
|
|
143
132
|
"utilities": [],
|
|
144
|
-
"enhanced": [
|
|
145
|
-
"usql"
|
|
146
|
-
]
|
|
133
|
+
"enhanced": ["usql"]
|
|
147
134
|
},
|
|
148
135
|
"connection": {
|
|
149
136
|
"runtime": "embedded",
|
|
@@ -201,10 +188,7 @@
|
|
|
201
188
|
"cliTools": {
|
|
202
189
|
"server": "ferretdb",
|
|
203
190
|
"client": "mongosh",
|
|
204
|
-
"utilities": [
|
|
205
|
-
"mongodump",
|
|
206
|
-
"mongorestore"
|
|
207
|
-
],
|
|
191
|
+
"utilities": ["mongodump", "mongorestore"],
|
|
208
192
|
"enhanced": []
|
|
209
193
|
},
|
|
210
194
|
"connection": {
|
|
@@ -279,15 +263,8 @@
|
|
|
279
263
|
"cliTools": {
|
|
280
264
|
"server": "mariadbd",
|
|
281
265
|
"client": "mariadb",
|
|
282
|
-
"utilities": [
|
|
283
|
-
|
|
284
|
-
"mariadb-import",
|
|
285
|
-
"mariadb-admin"
|
|
286
|
-
],
|
|
287
|
-
"enhanced": [
|
|
288
|
-
"mycli",
|
|
289
|
-
"usql"
|
|
290
|
-
]
|
|
266
|
+
"utilities": ["mariadb-dump", "mariadb-import", "mariadb-admin"],
|
|
267
|
+
"enhanced": ["mycli", "usql"]
|
|
291
268
|
},
|
|
292
269
|
"connection": {
|
|
293
270
|
"runtime": "server",
|
|
@@ -405,15 +382,8 @@
|
|
|
405
382
|
"cliTools": {
|
|
406
383
|
"server": "mysqld",
|
|
407
384
|
"client": "mysql",
|
|
408
|
-
"utilities": [
|
|
409
|
-
|
|
410
|
-
"mysqlpump",
|
|
411
|
-
"mysqladmin"
|
|
412
|
-
],
|
|
413
|
-
"enhanced": [
|
|
414
|
-
"mycli",
|
|
415
|
-
"usql"
|
|
416
|
-
]
|
|
385
|
+
"utilities": ["mysqldump", "mysqlpump", "mysqladmin"],
|
|
386
|
+
"enhanced": ["mycli", "usql"]
|
|
417
387
|
},
|
|
418
388
|
"connection": {
|
|
419
389
|
"runtime": "server",
|
|
@@ -458,10 +428,7 @@
|
|
|
458
428
|
"createdb",
|
|
459
429
|
"dropdb"
|
|
460
430
|
],
|
|
461
|
-
"enhanced": [
|
|
462
|
-
"pgcli",
|
|
463
|
-
"usql"
|
|
464
|
-
]
|
|
431
|
+
"enhanced": ["pgcli", "usql"]
|
|
465
432
|
},
|
|
466
433
|
"connection": {
|
|
467
434
|
"runtime": "server",
|
|
@@ -486,24 +453,12 @@
|
|
|
486
453
|
"versions": {
|
|
487
454
|
"17-0.107.0": true
|
|
488
455
|
},
|
|
489
|
-
"platforms": [
|
|
490
|
-
"linux-x64",
|
|
491
|
-
"linux-arm64",
|
|
492
|
-
"darwin-x64",
|
|
493
|
-
"darwin-arm64"
|
|
494
|
-
],
|
|
456
|
+
"platforms": ["linux-x64", "linux-arm64", "darwin-x64", "darwin-arm64"],
|
|
495
457
|
"cliTools": {
|
|
496
458
|
"server": "postgres",
|
|
497
459
|
"client": "psql",
|
|
498
|
-
"utilities": [
|
|
499
|
-
|
|
500
|
-
"pg_restore",
|
|
501
|
-
"initdb",
|
|
502
|
-
"pg_ctl"
|
|
503
|
-
],
|
|
504
|
-
"enhanced": [
|
|
505
|
-
"pgcli"
|
|
506
|
-
]
|
|
460
|
+
"utilities": ["pg_dump", "pg_restore", "initdb", "pg_ctl"],
|
|
461
|
+
"enhanced": ["pgcli"]
|
|
507
462
|
},
|
|
508
463
|
"connection": {
|
|
509
464
|
"runtime": "server",
|
|
@@ -583,10 +538,7 @@
|
|
|
583
538
|
"server": "questdb",
|
|
584
539
|
"client": "psql",
|
|
585
540
|
"utilities": [],
|
|
586
|
-
"enhanced": [
|
|
587
|
-
"pgcli",
|
|
588
|
-
"usql"
|
|
589
|
-
],
|
|
541
|
+
"enhanced": ["pgcli", "usql"],
|
|
590
542
|
"note": "PostgreSQL wire protocol; use psql or pgcli"
|
|
591
543
|
},
|
|
592
544
|
"connection": {
|
|
@@ -623,14 +575,8 @@
|
|
|
623
575
|
"cliTools": {
|
|
624
576
|
"server": "redis-server",
|
|
625
577
|
"client": "redis-cli",
|
|
626
|
-
"utilities": [
|
|
627
|
-
|
|
628
|
-
"redis-check-aof",
|
|
629
|
-
"redis-check-rdb"
|
|
630
|
-
],
|
|
631
|
-
"enhanced": [
|
|
632
|
-
"iredis"
|
|
633
|
-
]
|
|
578
|
+
"utilities": ["redis-benchmark", "redis-check-aof", "redis-check-rdb"],
|
|
579
|
+
"enhanced": ["iredis"]
|
|
634
580
|
},
|
|
635
581
|
"connection": {
|
|
636
582
|
"runtime": "server",
|
|
@@ -666,10 +612,7 @@
|
|
|
666
612
|
"server": null,
|
|
667
613
|
"client": "sqlite3",
|
|
668
614
|
"utilities": [],
|
|
669
|
-
"enhanced": [
|
|
670
|
-
"litecli",
|
|
671
|
-
"usql"
|
|
672
|
-
]
|
|
615
|
+
"enhanced": ["litecli", "usql"]
|
|
673
616
|
},
|
|
674
617
|
"connection": {
|
|
675
618
|
"runtime": "embedded",
|
|
@@ -779,12 +722,8 @@
|
|
|
779
722
|
"cliTools": {
|
|
780
723
|
"server": "valkey-server",
|
|
781
724
|
"client": "valkey-cli",
|
|
782
|
-
"utilities": [
|
|
783
|
-
|
|
784
|
-
],
|
|
785
|
-
"enhanced": [
|
|
786
|
-
"iredis"
|
|
787
|
-
]
|
|
725
|
+
"utilities": ["valkey-benchmark"],
|
|
726
|
+
"enhanced": ["iredis"]
|
|
788
727
|
},
|
|
789
728
|
"connection": {
|
|
790
729
|
"runtime": "server",
|
|
@@ -795,6 +734,43 @@
|
|
|
795
734
|
"queryLanguage": "Redis"
|
|
796
735
|
},
|
|
797
736
|
"spindbStatus": "completed"
|
|
737
|
+
},
|
|
738
|
+
"weaviate": {
|
|
739
|
+
"displayName": "Weaviate",
|
|
740
|
+
"description": "AI-native vector database with built-in vectorization modules and hybrid search",
|
|
741
|
+
"type": "Vector",
|
|
742
|
+
"sourceRepo": "https://github.com/weaviate/weaviate",
|
|
743
|
+
"license": "BSD-3-Clause",
|
|
744
|
+
"commercialUse": true,
|
|
745
|
+
"hostedServiceAllowed": true,
|
|
746
|
+
"protocol": null,
|
|
747
|
+
"note": "Go-based single binary (CGO_ENABLED=0). Linux from official releases; macOS/Windows cross-compiled from source.",
|
|
748
|
+
"versions": {
|
|
749
|
+
"1.35.7": true
|
|
750
|
+
},
|
|
751
|
+
"platforms": [
|
|
752
|
+
"linux-x64",
|
|
753
|
+
"linux-arm64",
|
|
754
|
+
"darwin-x64",
|
|
755
|
+
"darwin-arm64",
|
|
756
|
+
"win32-x64"
|
|
757
|
+
],
|
|
758
|
+
"cliTools": {
|
|
759
|
+
"server": "weaviate",
|
|
760
|
+
"client": null,
|
|
761
|
+
"utilities": [],
|
|
762
|
+
"enhanced": [],
|
|
763
|
+
"note": "REST/gRPC API only; use curl or official SDKs"
|
|
764
|
+
},
|
|
765
|
+
"connection": {
|
|
766
|
+
"runtime": "server",
|
|
767
|
+
"defaultPort": 8080,
|
|
768
|
+
"scheme": "http",
|
|
769
|
+
"defaultDatabase": null,
|
|
770
|
+
"defaultUser": null,
|
|
771
|
+
"queryLanguage": "GraphQL"
|
|
772
|
+
},
|
|
773
|
+
"spindbStatus": "in-progress"
|
|
798
774
|
}
|
|
799
775
|
}
|
|
800
776
|
}
|
package/lib/checksums.ts
CHANGED
|
@@ -83,13 +83,10 @@ export async function fetchChecksums(
|
|
|
83
83
|
|
|
84
84
|
// Fallback: try browser_download_url (only works for public repos)
|
|
85
85
|
if (!process.env.GITHUB_TOKEN) {
|
|
86
|
-
const browserResponse = await fetch(
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
redirect: 'follow',
|
|
91
|
-
},
|
|
92
|
-
)
|
|
86
|
+
const browserResponse = await fetch(checksumAsset.browser_download_url, {
|
|
87
|
+
headers: { 'User-Agent': 'hostdb-checksums' },
|
|
88
|
+
redirect: 'follow',
|
|
89
|
+
})
|
|
93
90
|
|
|
94
91
|
if (browserResponse.ok) {
|
|
95
92
|
const content = await browserResponse.text()
|
package/lib/databases.ts
CHANGED
|
@@ -128,9 +128,10 @@ export function loadReleasesJson(): ReleasesJson {
|
|
|
128
128
|
// --- Internal helpers ---
|
|
129
129
|
|
|
130
130
|
/** Get the version's platforms field, handling both array and object forms */
|
|
131
|
-
function getVersionPlatformsRaw(
|
|
132
|
-
|
|
133
|
-
|
|
131
|
+
function getVersionPlatformsRaw(versionEntry: VersionConfig): {
|
|
132
|
+
list: Platform[]
|
|
133
|
+
map: Record<string, PlatformEntry> | null
|
|
134
|
+
} {
|
|
134
135
|
if (!versionEntry.platforms) {
|
|
135
136
|
return { list: [], map: null }
|
|
136
137
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hostdb",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"description": "Source and download pre-built database binaries for multiple platforms, distributed via GitHub Releases",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
],
|
|
28
28
|
"scripts": {
|
|
29
29
|
"add:engine": "tsx scripts/add-engine.ts",
|
|
30
|
+
"build:releases": "tsx scripts/build-releases-json.ts",
|
|
30
31
|
"checksums:populate": "tsx scripts/populate-checksums.ts",
|
|
31
32
|
"dbs": "tsx scripts/list-databases.ts",
|
|
32
33
|
"delete:releases": "tsx scripts/delete-releases.ts",
|
|
@@ -49,12 +50,12 @@
|
|
|
49
50
|
"download:surrealdb": "tsx builds/surrealdb/download.ts",
|
|
50
51
|
"download:typedb": "tsx builds/typedb/download.ts",
|
|
51
52
|
"download:valkey": "tsx builds/valkey/download.ts",
|
|
53
|
+
"download:weaviate": "tsx builds/weaviate/download.ts",
|
|
52
54
|
"edb:fileids": "tsx scripts/fetch-edb-fileids.ts",
|
|
53
55
|
"format": "prettier --write .",
|
|
54
56
|
"lint": "tsc --noEmit && eslint .",
|
|
55
57
|
"migrate:r2": "tsx scripts/migrate-to-r2.ts",
|
|
56
58
|
"prep": "tsx scripts/prep.ts",
|
|
57
|
-
"build:releases": "tsx scripts/build-releases-json.ts",
|
|
58
59
|
"repair:checksums": "tsx scripts/repair-checksums.ts",
|
|
59
60
|
"start": "tsx cli/bin.ts",
|
|
60
61
|
"sync:versions": "tsx scripts/sync-versions.ts",
|