matterbridge 3.2.0 → 3.2.1-dev-20250802-516a522
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/CHANGELOG.md +21 -0
- package/dist/cli.js +2 -91
- package/dist/cliEmitter.js +0 -30
- package/dist/clusters/export.js +0 -2
- package/dist/defaultConfigSchema.js +0 -24
- package/dist/deviceManager.js +1 -94
- package/dist/devices/batteryStorage.js +1 -48
- package/dist/devices/dishwasher.js +3 -78
- package/dist/devices/evse.js +10 -74
- package/dist/devices/export.js +0 -2
- package/dist/devices/extractorHood.js +0 -42
- package/dist/devices/heatPump.js +2 -50
- package/dist/devices/laundryDryer.js +6 -83
- package/dist/devices/laundryWasher.js +7 -91
- package/dist/devices/roboticVacuumCleaner.js +7 -93
- package/dist/devices/solarPower.js +0 -38
- package/dist/devices/waterHeater.js +2 -82
- package/dist/dgram/coap.js +13 -126
- package/dist/dgram/dgram.js +2 -113
- package/dist/dgram/mb_coap.js +3 -41
- package/dist/dgram/mb_mdns.js +13 -51
- package/dist/dgram/mdns.js +137 -298
- package/dist/dgram/multicast.js +1 -60
- package/dist/dgram/unicast.js +0 -54
- package/dist/frontend.js +23 -448
- package/dist/globalMatterbridge.js +0 -47
- package/dist/helpers.js +0 -53
- package/dist/index.js +1 -30
- package/dist/logger/export.js +0 -1
- package/dist/matter/behaviors.js +0 -2
- package/dist/matter/clusters.js +0 -2
- package/dist/matter/devices.js +0 -2
- package/dist/matter/endpoints.js +0 -2
- package/dist/matter/export.js +0 -3
- package/dist/matter/types.js +0 -3
- package/dist/matterbridge.js +50 -805
- package/dist/matterbridgeAccessoryPlatform.js +0 -36
- package/dist/matterbridgeBehaviors.js +5 -65
- package/dist/matterbridgeDeviceTypes.js +15 -579
- package/dist/matterbridgeDynamicPlatform.js +0 -36
- package/dist/matterbridgeEndpoint.js +55 -1234
- package/dist/matterbridgeEndpointHelpers.js +12 -344
- package/dist/matterbridgePlatform.js +35 -248
- package/dist/matterbridgeTypes.js +0 -25
- package/dist/pluginManager.js +3 -249
- package/dist/shelly.js +7 -168
- package/dist/storage/export.js +0 -1
- package/dist/update.js +0 -69
- package/dist/utils/colorUtils.js +2 -263
- package/dist/utils/commandLine.js +0 -54
- package/dist/utils/copyDirectory.js +1 -38
- package/dist/utils/createDirectory.js +0 -33
- package/dist/utils/createZip.js +2 -47
- package/dist/utils/deepCopy.js +0 -39
- package/dist/utils/deepEqual.js +1 -72
- package/dist/utils/error.js +0 -41
- package/dist/utils/export.js +0 -1
- package/dist/utils/hex.js +0 -123
- package/dist/utils/isvalid.js +0 -101
- package/dist/utils/network.js +5 -94
- package/dist/utils/spawn.js +0 -40
- package/dist/utils/wait.js +9 -62
- package/docs/404.html +107 -0
- package/docs/HomeAssistant.svg +2 -0
- package/docs/Shelly.svg +1 -0
- package/docs/Somfy.svg +1 -0
- package/docs/Zigbee2MQTT.svg +1 -0
- package/docs/_config.yml +86 -0
- package/docs/bmc-button.svg +22 -0
- package/docs/index.html +774 -0
- package/docs/matterbridge.svg +50 -0
- package/docs/robots.txt +4 -0
- package/npm-shrinkwrap.json +45 -45
- package/package.json +5 -3
- package/dist/cli.d.ts +0 -26
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js.map +0 -1
- package/dist/cliEmitter.d.ts +0 -34
- package/dist/cliEmitter.d.ts.map +0 -1
- package/dist/cliEmitter.js.map +0 -1
- package/dist/clusters/export.d.ts +0 -2
- package/dist/clusters/export.d.ts.map +0 -1
- package/dist/clusters/export.js.map +0 -1
- package/dist/defaultConfigSchema.d.ts +0 -28
- package/dist/defaultConfigSchema.d.ts.map +0 -1
- package/dist/defaultConfigSchema.js.map +0 -1
- package/dist/deviceManager.d.ts +0 -112
- package/dist/deviceManager.d.ts.map +0 -1
- package/dist/deviceManager.js.map +0 -1
- package/dist/devices/batteryStorage.d.ts +0 -48
- package/dist/devices/batteryStorage.d.ts.map +0 -1
- package/dist/devices/batteryStorage.js.map +0 -1
- package/dist/devices/dishwasher.d.ts +0 -91
- package/dist/devices/dishwasher.d.ts.map +0 -1
- package/dist/devices/dishwasher.js.map +0 -1
- package/dist/devices/evse.d.ts +0 -75
- package/dist/devices/evse.d.ts.map +0 -1
- package/dist/devices/evse.js.map +0 -1
- package/dist/devices/export.d.ts +0 -11
- package/dist/devices/export.d.ts.map +0 -1
- package/dist/devices/export.js.map +0 -1
- package/dist/devices/extractorHood.d.ts +0 -46
- package/dist/devices/extractorHood.d.ts.map +0 -1
- package/dist/devices/extractorHood.js.map +0 -1
- package/dist/devices/heatPump.d.ts +0 -47
- package/dist/devices/heatPump.d.ts.map +0 -1
- package/dist/devices/heatPump.js.map +0 -1
- package/dist/devices/laundryDryer.d.ts +0 -87
- package/dist/devices/laundryDryer.d.ts.map +0 -1
- package/dist/devices/laundryDryer.js.map +0 -1
- package/dist/devices/laundryWasher.d.ts +0 -242
- package/dist/devices/laundryWasher.d.ts.map +0 -1
- package/dist/devices/laundryWasher.js.map +0 -1
- package/dist/devices/roboticVacuumCleaner.d.ts +0 -112
- package/dist/devices/roboticVacuumCleaner.d.ts.map +0 -1
- package/dist/devices/roboticVacuumCleaner.js.map +0 -1
- package/dist/devices/solarPower.d.ts +0 -40
- package/dist/devices/solarPower.d.ts.map +0 -1
- package/dist/devices/solarPower.js.map +0 -1
- package/dist/devices/waterHeater.d.ts +0 -111
- package/dist/devices/waterHeater.d.ts.map +0 -1
- package/dist/devices/waterHeater.js.map +0 -1
- package/dist/dgram/coap.d.ts +0 -205
- package/dist/dgram/coap.d.ts.map +0 -1
- package/dist/dgram/coap.js.map +0 -1
- package/dist/dgram/dgram.d.ts +0 -140
- package/dist/dgram/dgram.d.ts.map +0 -1
- package/dist/dgram/dgram.js.map +0 -1
- package/dist/dgram/mb_coap.d.ts +0 -24
- package/dist/dgram/mb_coap.d.ts.map +0 -1
- package/dist/dgram/mb_coap.js.map +0 -1
- package/dist/dgram/mb_mdns.d.ts +0 -24
- package/dist/dgram/mb_mdns.d.ts.map +0 -1
- package/dist/dgram/mb_mdns.js.map +0 -1
- package/dist/dgram/mdns.d.ts +0 -288
- package/dist/dgram/mdns.d.ts.map +0 -1
- package/dist/dgram/mdns.js.map +0 -1
- package/dist/dgram/multicast.d.ts +0 -65
- package/dist/dgram/multicast.d.ts.map +0 -1
- package/dist/dgram/multicast.js.map +0 -1
- package/dist/dgram/unicast.d.ts +0 -56
- package/dist/dgram/unicast.d.ts.map +0 -1
- package/dist/dgram/unicast.js.map +0 -1
- package/dist/frontend.d.ts +0 -313
- package/dist/frontend.d.ts.map +0 -1
- package/dist/frontend.js.map +0 -1
- package/dist/globalMatterbridge.d.ts +0 -59
- package/dist/globalMatterbridge.d.ts.map +0 -1
- package/dist/globalMatterbridge.js.map +0 -1
- package/dist/helpers.d.ts +0 -48
- package/dist/helpers.d.ts.map +0 -1
- package/dist/helpers.js.map +0 -1
- package/dist/index.d.ts +0 -33
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/logger/export.d.ts +0 -2
- package/dist/logger/export.d.ts.map +0 -1
- package/dist/logger/export.js.map +0 -1
- package/dist/matter/behaviors.d.ts +0 -2
- package/dist/matter/behaviors.d.ts.map +0 -1
- package/dist/matter/behaviors.js.map +0 -1
- package/dist/matter/clusters.d.ts +0 -2
- package/dist/matter/clusters.d.ts.map +0 -1
- package/dist/matter/clusters.js.map +0 -1
- package/dist/matter/devices.d.ts +0 -2
- package/dist/matter/devices.d.ts.map +0 -1
- package/dist/matter/devices.js.map +0 -1
- package/dist/matter/endpoints.d.ts +0 -2
- package/dist/matter/endpoints.d.ts.map +0 -1
- package/dist/matter/endpoints.js.map +0 -1
- package/dist/matter/export.d.ts +0 -5
- package/dist/matter/export.d.ts.map +0 -1
- package/dist/matter/export.js.map +0 -1
- package/dist/matter/types.d.ts +0 -3
- package/dist/matter/types.d.ts.map +0 -1
- package/dist/matter/types.js.map +0 -1
- package/dist/matterbridge.d.ts +0 -463
- package/dist/matterbridge.d.ts.map +0 -1
- package/dist/matterbridge.js.map +0 -1
- package/dist/matterbridgeAccessoryPlatform.d.ts +0 -42
- package/dist/matterbridgeAccessoryPlatform.d.ts.map +0 -1
- package/dist/matterbridgeAccessoryPlatform.js.map +0 -1
- package/dist/matterbridgeBehaviors.d.ts +0 -1351
- package/dist/matterbridgeBehaviors.d.ts.map +0 -1
- package/dist/matterbridgeBehaviors.js.map +0 -1
- package/dist/matterbridgeDeviceTypes.d.ts +0 -709
- package/dist/matterbridgeDeviceTypes.d.ts.map +0 -1
- package/dist/matterbridgeDeviceTypes.js.map +0 -1
- package/dist/matterbridgeDynamicPlatform.d.ts +0 -42
- package/dist/matterbridgeDynamicPlatform.d.ts.map +0 -1
- package/dist/matterbridgeDynamicPlatform.js.map +0 -1
- package/dist/matterbridgeEndpoint.d.ts +0 -1354
- package/dist/matterbridgeEndpoint.d.ts.map +0 -1
- package/dist/matterbridgeEndpoint.js.map +0 -1
- package/dist/matterbridgeEndpointHelpers.d.ts +0 -406
- package/dist/matterbridgeEndpointHelpers.d.ts.map +0 -1
- package/dist/matterbridgeEndpointHelpers.js.map +0 -1
- package/dist/matterbridgePlatform.d.ts +0 -310
- package/dist/matterbridgePlatform.d.ts.map +0 -1
- package/dist/matterbridgePlatform.js.map +0 -1
- package/dist/matterbridgeTypes.d.ts +0 -197
- package/dist/matterbridgeTypes.d.ts.map +0 -1
- package/dist/matterbridgeTypes.js.map +0 -1
- package/dist/pluginManager.d.ts +0 -270
- package/dist/pluginManager.d.ts.map +0 -1
- package/dist/pluginManager.js.map +0 -1
- package/dist/shelly.d.ts +0 -174
- package/dist/shelly.d.ts.map +0 -1
- package/dist/shelly.js.map +0 -1
- package/dist/storage/export.d.ts +0 -2
- package/dist/storage/export.d.ts.map +0 -1
- package/dist/storage/export.js.map +0 -1
- package/dist/update.d.ts +0 -75
- package/dist/update.d.ts.map +0 -1
- package/dist/update.js.map +0 -1
- package/dist/utils/colorUtils.d.ts +0 -117
- package/dist/utils/colorUtils.d.ts.map +0 -1
- package/dist/utils/colorUtils.js.map +0 -1
- package/dist/utils/commandLine.d.ts +0 -59
- package/dist/utils/commandLine.d.ts.map +0 -1
- package/dist/utils/commandLine.js.map +0 -1
- package/dist/utils/copyDirectory.d.ts +0 -33
- package/dist/utils/copyDirectory.d.ts.map +0 -1
- package/dist/utils/copyDirectory.js.map +0 -1
- package/dist/utils/createDirectory.d.ts +0 -34
- package/dist/utils/createDirectory.d.ts.map +0 -1
- package/dist/utils/createDirectory.js.map +0 -1
- package/dist/utils/createZip.d.ts +0 -39
- package/dist/utils/createZip.d.ts.map +0 -1
- package/dist/utils/createZip.js.map +0 -1
- package/dist/utils/deepCopy.d.ts +0 -32
- package/dist/utils/deepCopy.d.ts.map +0 -1
- package/dist/utils/deepCopy.js.map +0 -1
- package/dist/utils/deepEqual.d.ts +0 -54
- package/dist/utils/deepEqual.d.ts.map +0 -1
- package/dist/utils/deepEqual.js.map +0 -1
- package/dist/utils/error.d.ts +0 -44
- package/dist/utils/error.d.ts.map +0 -1
- package/dist/utils/error.js.map +0 -1
- package/dist/utils/export.d.ts +0 -12
- package/dist/utils/export.d.ts.map +0 -1
- package/dist/utils/export.js.map +0 -1
- package/dist/utils/hex.d.ts +0 -89
- package/dist/utils/hex.d.ts.map +0 -1
- package/dist/utils/hex.js.map +0 -1
- package/dist/utils/isvalid.d.ts +0 -103
- package/dist/utils/isvalid.d.ts.map +0 -1
- package/dist/utils/isvalid.js.map +0 -1
- package/dist/utils/network.d.ts +0 -84
- package/dist/utils/network.d.ts.map +0 -1
- package/dist/utils/network.js.map +0 -1
- package/dist/utils/spawn.d.ts +0 -33
- package/dist/utils/spawn.d.ts.map +0 -1
- package/dist/utils/spawn.js.map +0 -1
- package/dist/utils/wait.d.ts +0 -56
- package/dist/utils/wait.d.ts.map +0 -1
- package/dist/utils/wait.js.map +0 -1
package/dist/utils/network.js
CHANGED
|
@@ -1,38 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description This file contains the network functions.
|
|
3
|
-
* @file network.ts
|
|
4
|
-
* @author Luca Liguori
|
|
5
|
-
* @created 2024-02-17
|
|
6
|
-
* @version 1.0.1
|
|
7
|
-
* @license Apache-2.0
|
|
8
|
-
*
|
|
9
|
-
* Copyright 2024, 2025, 2026 Luca Liguori.
|
|
10
|
-
*
|
|
11
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
12
|
-
* you may not use this file except in compliance with the License.
|
|
13
|
-
* You may obtain a copy of the License at
|
|
14
|
-
*
|
|
15
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
-
*
|
|
17
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
18
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
19
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
20
|
-
* See the License for the specific language governing permissions and
|
|
21
|
-
* limitations under the License.
|
|
22
|
-
*/
|
|
23
|
-
// Node.js modules
|
|
24
1
|
import os from 'node:os';
|
|
25
|
-
// AnsiLogger module
|
|
26
2
|
import { AnsiLogger, BLUE, CYAN, nf } from 'node-ansi-logger';
|
|
27
|
-
/**
|
|
28
|
-
* Retrieves the IPv4 address of the first non-internal network interface.
|
|
29
|
-
*
|
|
30
|
-
* @returns {string | undefined} The IPv4 address of the selected network interface, or undefined if not found.
|
|
31
|
-
*/
|
|
32
3
|
export function getIpv4InterfaceAddress() {
|
|
33
4
|
let ipv4Address;
|
|
34
5
|
const networkInterfaces = os.networkInterfaces();
|
|
35
|
-
// console.log('Available Network Interfaces:', networkInterfaces);
|
|
36
6
|
for (const interfaceDetails of Object.values(networkInterfaces)) {
|
|
37
7
|
if (!interfaceDetails) {
|
|
38
8
|
break;
|
|
@@ -46,18 +16,11 @@ export function getIpv4InterfaceAddress() {
|
|
|
46
16
|
break;
|
|
47
17
|
}
|
|
48
18
|
}
|
|
49
|
-
// console.log('Selected Network Interfaces:', ipv4Address);
|
|
50
19
|
return ipv4Address;
|
|
51
20
|
}
|
|
52
|
-
/**
|
|
53
|
-
* Retrieves the IPv6 address of the first non-internal network interface.
|
|
54
|
-
*
|
|
55
|
-
* @returns {string | undefined} The IPv4 address of the selected network interface, or undefined if not found.
|
|
56
|
-
*/
|
|
57
21
|
export function getIpv6InterfaceAddress() {
|
|
58
22
|
let ipv6Address;
|
|
59
23
|
const networkInterfaces = os.networkInterfaces();
|
|
60
|
-
// console.log('Available Network Interfaces:', networkInterfaces);
|
|
61
24
|
for (const interfaceDetails of Object.values(networkInterfaces)) {
|
|
62
25
|
if (!interfaceDetails) {
|
|
63
26
|
break;
|
|
@@ -71,18 +34,11 @@ export function getIpv6InterfaceAddress() {
|
|
|
71
34
|
break;
|
|
72
35
|
}
|
|
73
36
|
}
|
|
74
|
-
// console.log('Selected Network Interfaces:', ipv6Address);
|
|
75
37
|
return ipv6Address;
|
|
76
38
|
}
|
|
77
|
-
/**
|
|
78
|
-
* Retrieves the mac address of the first non-internal network interface.
|
|
79
|
-
*
|
|
80
|
-
* @returns {string | undefined} The mac address, or undefined if not found.
|
|
81
|
-
*/
|
|
82
39
|
export function getMacAddress() {
|
|
83
40
|
let macAddress;
|
|
84
41
|
const networkInterfaces = os.networkInterfaces();
|
|
85
|
-
// console.log('Available Network Interfaces:', networkInterfaces);
|
|
86
42
|
for (const interfaceDetails of Object.values(networkInterfaces)) {
|
|
87
43
|
if (!interfaceDetails) {
|
|
88
44
|
break;
|
|
@@ -98,14 +54,9 @@ export function getMacAddress() {
|
|
|
98
54
|
}
|
|
99
55
|
return macAddress;
|
|
100
56
|
}
|
|
101
|
-
/**
|
|
102
|
-
* Logs the available network interfaces and their details.
|
|
103
|
-
*
|
|
104
|
-
* @returns {void}
|
|
105
|
-
*/
|
|
106
57
|
export function logInterfaces() {
|
|
107
|
-
const log = new AnsiLogger({ logName: 'MatterbridgeUtils', logTimestampFormat: 4
|
|
108
|
-
log.logLevel = "info"
|
|
58
|
+
const log = new AnsiLogger({ logName: 'MatterbridgeUtils', logTimestampFormat: 4, logLevel: "info" });
|
|
59
|
+
log.logLevel = "info";
|
|
109
60
|
log.logName = 'LogInterfaces';
|
|
110
61
|
log.info('Available Network Interfaces:');
|
|
111
62
|
const availableAddresses = Object.entries(os.networkInterfaces());
|
|
@@ -119,36 +70,16 @@ export function logInterfaces() {
|
|
|
119
70
|
}
|
|
120
71
|
}
|
|
121
72
|
}
|
|
122
|
-
/**
|
|
123
|
-
* Resolves the given hostname to an IP address.
|
|
124
|
-
*
|
|
125
|
-
* @param {string} hostname - The hostname to resolve.
|
|
126
|
-
* @param {0 | 4 | 6} [family] - The address family to use (0 for any, 4 for IPv4, 6 for IPv6). Default is 4.
|
|
127
|
-
* @returns {Promise<string | null>} - A promise that resolves to the IP address or null if not found.
|
|
128
|
-
*
|
|
129
|
-
* @remarks
|
|
130
|
-
* This function uses DNS lookup to resolve the hostname, which can take some time to complete.
|
|
131
|
-
*/
|
|
132
73
|
export async function resolveHostname(hostname, family = 4) {
|
|
133
74
|
const dns = await import('node:dns');
|
|
134
75
|
try {
|
|
135
|
-
const addresses = await dns.promises.lookup(hostname.toLowerCase()
|
|
76
|
+
const addresses = await dns.promises.lookup(hostname.toLowerCase(), { family });
|
|
136
77
|
return addresses.address;
|
|
137
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
138
78
|
}
|
|
139
79
|
catch (error) {
|
|
140
80
|
return null;
|
|
141
81
|
}
|
|
142
82
|
}
|
|
143
|
-
/**
|
|
144
|
-
* Retrieves the version of an npm package from the npm registry.
|
|
145
|
-
*
|
|
146
|
-
* @param {string} packageName - The name of the npm package.
|
|
147
|
-
* @param {string} [tag] - The tag of the package version to retrieve (default is 'latest').
|
|
148
|
-
* @param {number} [timeout] - The timeout duration in milliseconds (default is 10000ms).
|
|
149
|
-
* @returns {Promise<string>} A promise that resolves to the version string of the package.
|
|
150
|
-
* @throws {Error} If the request fails or the tag is not found.
|
|
151
|
-
*/
|
|
152
83
|
export async function getNpmPackageVersion(packageName, tag = 'latest', timeout = 10000) {
|
|
153
84
|
const https = await import('node:https');
|
|
154
85
|
return new Promise((resolve, reject) => {
|
|
@@ -162,8 +93,7 @@ export async function getNpmPackageVersion(packageName, tag = 'latest', timeout
|
|
|
162
93
|
let data = '';
|
|
163
94
|
if (res.statusCode !== 200) {
|
|
164
95
|
clearTimeout(timeoutId);
|
|
165
|
-
res.resume();
|
|
166
|
-
req.destroy(); // Forcefully close the request
|
|
96
|
+
res.resume();
|
|
167
97
|
reject(new Error(`Failed to fetch data. Status code: ${res.statusCode}`));
|
|
168
98
|
return;
|
|
169
99
|
}
|
|
@@ -174,7 +104,6 @@ export async function getNpmPackageVersion(packageName, tag = 'latest', timeout
|
|
|
174
104
|
clearTimeout(timeoutId);
|
|
175
105
|
try {
|
|
176
106
|
const jsonData = JSON.parse(data);
|
|
177
|
-
// console.log(`Package ${packageName} tag ${tag}`, jsonData);
|
|
178
107
|
const version = jsonData['dist-tags']?.[tag];
|
|
179
108
|
if (version) {
|
|
180
109
|
resolve(version);
|
|
@@ -194,21 +123,11 @@ export async function getNpmPackageVersion(packageName, tag = 'latest', timeout
|
|
|
194
123
|
});
|
|
195
124
|
});
|
|
196
125
|
}
|
|
197
|
-
/**
|
|
198
|
-
* Retrieves a file from the public directory of the Matterbridge GitHub repository.
|
|
199
|
-
*
|
|
200
|
-
* @param {string} branch - The branch from which to fetch the file.
|
|
201
|
-
* @param {string} file - The file path to fetch.
|
|
202
|
-
* @param {number} [timeout] - The timeout duration in milliseconds (default is 10000ms).
|
|
203
|
-
* @returns {Promise<Record<string, boolean | string | number>>} A promise that resolves to the parsed JSON object from the file.
|
|
204
|
-
* @throws {Error} If the request fails or the JSON parsing fails.
|
|
205
|
-
*/
|
|
206
126
|
export async function getGitHubUpdate(branch, file, timeout = 10000) {
|
|
207
127
|
const https = await import('node:https');
|
|
208
128
|
return new Promise((resolve, reject) => {
|
|
209
129
|
const url = `https://raw.githubusercontent.com/Luligu/matterbridge/${branch}/public/${file}`;
|
|
210
130
|
const controller = new AbortController();
|
|
211
|
-
// istanbul ignore next
|
|
212
131
|
const timeoutId = setTimeout(() => {
|
|
213
132
|
controller.abort();
|
|
214
133
|
reject(new Error(`Request timed out after ${timeout / 1000} seconds`));
|
|
@@ -217,8 +136,7 @@ export async function getGitHubUpdate(branch, file, timeout = 10000) {
|
|
|
217
136
|
let data = '';
|
|
218
137
|
if (res.statusCode !== 200) {
|
|
219
138
|
clearTimeout(timeoutId);
|
|
220
|
-
res.resume();
|
|
221
|
-
req.destroy(); // Forcefully close the request
|
|
139
|
+
res.resume();
|
|
222
140
|
reject(new Error(`Failed to fetch data. Status code: ${res.statusCode}`));
|
|
223
141
|
return;
|
|
224
142
|
}
|
|
@@ -236,18 +154,12 @@ export async function getGitHubUpdate(branch, file, timeout = 10000) {
|
|
|
236
154
|
}
|
|
237
155
|
});
|
|
238
156
|
});
|
|
239
|
-
// istanbul ignore next
|
|
240
157
|
req.on('error', (error) => {
|
|
241
158
|
clearTimeout(timeoutId);
|
|
242
159
|
reject(new Error(`Request failed: ${error instanceof Error ? error.message : error}`));
|
|
243
160
|
});
|
|
244
161
|
});
|
|
245
162
|
}
|
|
246
|
-
/**
|
|
247
|
-
* Retrieves the path to the global Node.js modules directory.
|
|
248
|
-
*
|
|
249
|
-
* @returns {Promise<string>} A promise that resolves to the path of the global Node.js modules directory.
|
|
250
|
-
*/
|
|
251
163
|
export async function getGlobalNodeModules() {
|
|
252
164
|
const { exec } = await import('node:child_process');
|
|
253
165
|
return new Promise((resolve, reject) => {
|
|
@@ -261,4 +173,3 @@ export async function getGlobalNodeModules() {
|
|
|
261
173
|
});
|
|
262
174
|
});
|
|
263
175
|
}
|
|
264
|
-
//# sourceMappingURL=network.js.map
|
package/dist/utils/spawn.js
CHANGED
|
@@ -1,51 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description This file contains the spawn functions.
|
|
3
|
-
* @file spawn.ts
|
|
4
|
-
* @author Luca Liguori
|
|
5
|
-
* @created 2025-02-16
|
|
6
|
-
* @version 1.1.0
|
|
7
|
-
* @license Apache-2.0
|
|
8
|
-
*
|
|
9
|
-
* Copyright 2025, 2026, 2027 Luca Liguori.
|
|
10
|
-
*
|
|
11
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
12
|
-
* you may not use this file except in compliance with the License.
|
|
13
|
-
* You may obtain a copy of the License at
|
|
14
|
-
*
|
|
15
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
-
*
|
|
17
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
18
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
19
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
20
|
-
* See the License for the specific language governing permissions and
|
|
21
|
-
* limitations under the License.
|
|
22
|
-
*/
|
|
23
1
|
import { hasParameter } from './commandLine.js';
|
|
24
|
-
/**
|
|
25
|
-
* Spawns a child process with the given command and arguments.
|
|
26
|
-
*
|
|
27
|
-
* @param {Matterbridge} matterbridge - The Matterbridge instance to use for logging and sending messages.
|
|
28
|
-
* @param {string} command - The command to execute.
|
|
29
|
-
* @param {string[]} args - The arguments to pass to the command (default: []).
|
|
30
|
-
* @returns {Promise<boolean>} A promise that resolves when the child process exits successfully, or rejects if there is an error.
|
|
31
|
-
*/
|
|
32
2
|
export async function spawnCommand(matterbridge, command, args) {
|
|
33
3
|
const { spawn } = await import('node:child_process');
|
|
34
|
-
/*
|
|
35
|
-
npm > npm.cmd on windows
|
|
36
|
-
cmd.exe ['dir'] on windows
|
|
37
|
-
await this.spawnCommand('npm', ['install', '-g', 'matterbridge']);
|
|
38
|
-
*/
|
|
39
4
|
const cmdLine = command + ' ' + args.join(' ');
|
|
40
5
|
if (process.platform === 'win32' && command === 'npm') {
|
|
41
|
-
// Must be spawn('cmd.exe', ['/c', 'npm -g install <package>']);
|
|
42
6
|
const argstring = 'npm ' + args.join(' ');
|
|
43
7
|
args.splice(0, args.length, '/c', argstring);
|
|
44
8
|
command = 'cmd.exe';
|
|
45
9
|
}
|
|
46
|
-
// Decide when using sudo on linux and macOS
|
|
47
|
-
// When you need sudo: Spawn stderr: npm error Error: EACCES: permission denied
|
|
48
|
-
// When you don't need sudo: Failed to start child process "npm install -g matterbridge-eve-door": spawn sudo ENOENT
|
|
49
10
|
if (hasParameter('sudo') || (process.platform !== 'win32' && command === 'npm' && !hasParameter('docker') && !hasParameter('nosudo'))) {
|
|
50
11
|
args.unshift(command);
|
|
51
12
|
command = 'sudo';
|
|
@@ -103,4 +64,3 @@ export async function spawnCommand(matterbridge, command, args) {
|
|
|
103
64
|
}
|
|
104
65
|
});
|
|
105
66
|
}
|
|
106
|
-
//# sourceMappingURL=spawn.js.map
|
package/dist/utils/wait.js
CHANGED
|
@@ -1,44 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file contains the wait, waiter and withTimeout functions.
|
|
3
|
-
*
|
|
4
|
-
* @file wait.ts
|
|
5
|
-
* @author Luca Liguori
|
|
6
|
-
* @created 2025-02-16
|
|
7
|
-
* @version 1.0.1
|
|
8
|
-
* @license Apache-2.0
|
|
9
|
-
*
|
|
10
|
-
* Copyright 2025, 2026, 2027 Luca Liguori.
|
|
11
|
-
*
|
|
12
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
13
|
-
* you may not use this file except in compliance with the License.
|
|
14
|
-
* You may obtain a copy of the License at
|
|
15
|
-
*
|
|
16
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
17
|
-
*
|
|
18
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
19
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
20
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
21
|
-
* See the License for the specific language governing permissions and
|
|
22
|
-
* limitations under the License.
|
|
23
|
-
*/
|
|
24
|
-
// AnsiLogger module
|
|
25
1
|
import { AnsiLogger } from 'node-ansi-logger';
|
|
26
|
-
export const log = new AnsiLogger({ logName: 'MatterbridgeUtils', logTimestampFormat: 4
|
|
27
|
-
/**
|
|
28
|
-
* Asynchronous waiter function that resolves when the provided condition is met or rejects on timeout.
|
|
29
|
-
*
|
|
30
|
-
* @param {string} name - The name of the waiter.
|
|
31
|
-
* @param {() => boolean} check - A function that checks the condition. Should return a boolean.
|
|
32
|
-
* @param {boolean} [exitWithReject] - Optional. If true, the promise will be rejected on timeout. Default is false.
|
|
33
|
-
* @param {number} [resolveTimeout] - Optional. The timeout duration in milliseconds. Default is 5000ms.
|
|
34
|
-
* @param {number} [resolveInterval] - Optional. The interval duration in milliseconds between condition checks. Default is 500ms.
|
|
35
|
-
* @param {boolean} [debug] - Optional. If true, debug messages will be logged to the console. Default is false.
|
|
36
|
-
* @returns {Promise<boolean>} A promise that resolves to true when the condition is met, or false if the timeout occurs.
|
|
37
|
-
*/
|
|
2
|
+
export const log = new AnsiLogger({ logName: 'MatterbridgeUtils', logTimestampFormat: 4, logLevel: "info" });
|
|
38
3
|
export async function waiter(name, check, exitWithReject = false, resolveTimeout = 5000, resolveInterval = 500, debug = false) {
|
|
39
4
|
if (check())
|
|
40
5
|
return true;
|
|
41
|
-
log.logLevel = "debug"
|
|
6
|
+
log.logLevel = "debug";
|
|
42
7
|
log.logName = 'Waiter';
|
|
43
8
|
if (debug)
|
|
44
9
|
log.debug(`Waiter "${name}" started...`);
|
|
@@ -65,20 +30,11 @@ export async function waiter(name, check, exitWithReject = false, resolveTimeout
|
|
|
65
30
|
}, resolveInterval);
|
|
66
31
|
});
|
|
67
32
|
}
|
|
68
|
-
/**
|
|
69
|
-
* Asynchronously waits for a specified amount of time.
|
|
70
|
-
*
|
|
71
|
-
* @param {number} timeout - The duration to wait in milliseconds. Default is 1000ms.
|
|
72
|
-
* @param {string} name - The name of the wait operation. Default is undefined.
|
|
73
|
-
* @param {boolean} debug - Whether to enable debug logging. Default is false.
|
|
74
|
-
* @returns {Promise<void>} A Promise that resolves after the specified timeout.
|
|
75
|
-
*/
|
|
76
33
|
export async function wait(timeout = 1000, name, debug = false) {
|
|
77
|
-
log.logLevel = "debug"
|
|
34
|
+
log.logLevel = "debug";
|
|
78
35
|
log.logName = 'Wait';
|
|
79
36
|
if (debug)
|
|
80
37
|
log.debug(`Wait "${name}" started...`);
|
|
81
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
82
38
|
return new Promise((resolve, reject) => {
|
|
83
39
|
const timeoutId = setTimeout(() => {
|
|
84
40
|
if (debug)
|
|
@@ -88,14 +44,6 @@ export async function wait(timeout = 1000, name, debug = false) {
|
|
|
88
44
|
}, timeout);
|
|
89
45
|
});
|
|
90
46
|
}
|
|
91
|
-
/**
|
|
92
|
-
* Wraps a promise with a timeout. If the promise does not resolve or reject within the specified time, it will be rejected.
|
|
93
|
-
*
|
|
94
|
-
* @param {Promise<T>} promise - The promise to wrap.
|
|
95
|
-
* @param {number} [timeoutMillisecs] - The timeout duration in milliseconds. Default is 10000ms.
|
|
96
|
-
* @param {boolean} [reThrow] - Optional. If true, the promise will rethrow the original promise and will reject on timeout. Default is true.
|
|
97
|
-
* @returns {Promise<T>} A new promise that resolves or rejects based on the original promise and the timeout.
|
|
98
|
-
*/
|
|
99
47
|
export function withTimeout(promise, timeoutMillisecs = 10000, reThrow = true) {
|
|
100
48
|
return new Promise((resolve, reject) => {
|
|
101
49
|
const timer = setTimeout(() => {
|
|
@@ -103,24 +51,23 @@ export function withTimeout(promise, timeoutMillisecs = 10000, reThrow = true) {
|
|
|
103
51
|
reject(new Error('Operation timed out'));
|
|
104
52
|
}
|
|
105
53
|
else {
|
|
106
|
-
resolve(undefined);
|
|
54
|
+
resolve(undefined);
|
|
107
55
|
}
|
|
108
|
-
}, timeoutMillisecs).unref();
|
|
56
|
+
}, timeoutMillisecs).unref();
|
|
109
57
|
promise
|
|
110
58
|
.then((result) => {
|
|
111
|
-
clearTimeout(timer);
|
|
59
|
+
clearTimeout(timer);
|
|
112
60
|
resolve(result);
|
|
113
61
|
return result;
|
|
114
62
|
})
|
|
115
63
|
.catch((error) => {
|
|
116
|
-
clearTimeout(timer);
|
|
64
|
+
clearTimeout(timer);
|
|
117
65
|
if (reThrow) {
|
|
118
|
-
reject(error);
|
|
66
|
+
reject(error);
|
|
119
67
|
}
|
|
120
68
|
else {
|
|
121
|
-
resolve(undefined);
|
|
69
|
+
resolve(undefined);
|
|
122
70
|
}
|
|
123
71
|
});
|
|
124
72
|
});
|
|
125
73
|
}
|
|
126
|
-
//# sourceMappingURL=wait.js.map
|
package/docs/404.html
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Page Not Found - Matterbridge</title>
|
|
7
|
+
<link rel="icon" type="image/svg+xml" href="matterbridge.svg">
|
|
8
|
+
<style>
|
|
9
|
+
body {
|
|
10
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
min-height: 100vh;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
background: linear-gradient(135deg, #2563eb, #1e40af);
|
|
18
|
+
color: white;
|
|
19
|
+
text-align: center;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.container {
|
|
23
|
+
max-width: 600px;
|
|
24
|
+
padding: 2rem;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.logo {
|
|
28
|
+
width: 80px;
|
|
29
|
+
height: 80px;
|
|
30
|
+
margin: 0 auto 2rem;
|
|
31
|
+
display: block;
|
|
32
|
+
filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
h1 {
|
|
36
|
+
font-size: 4rem;
|
|
37
|
+
font-weight: 700;
|
|
38
|
+
margin: 0 0 1rem;
|
|
39
|
+
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
h2 {
|
|
43
|
+
font-size: 1.5rem;
|
|
44
|
+
font-weight: 400;
|
|
45
|
+
margin: 0 0 2rem;
|
|
46
|
+
opacity: 0.9;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
p {
|
|
50
|
+
font-size: 1.125rem;
|
|
51
|
+
margin: 0 0 2rem;
|
|
52
|
+
opacity: 0.8;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.btn {
|
|
56
|
+
display: inline-block;
|
|
57
|
+
background: white;
|
|
58
|
+
color: #2563eb;
|
|
59
|
+
padding: 0.75rem 2rem;
|
|
60
|
+
text-decoration: none;
|
|
61
|
+
border-radius: 0.5rem;
|
|
62
|
+
font-weight: 600;
|
|
63
|
+
transition: all 0.2s ease;
|
|
64
|
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.btn:hover {
|
|
68
|
+
transform: translateY(-2px);
|
|
69
|
+
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.links {
|
|
73
|
+
margin-top: 2rem;
|
|
74
|
+
display: flex;
|
|
75
|
+
gap: 1rem;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
flex-wrap: wrap;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.links a {
|
|
81
|
+
color: white;
|
|
82
|
+
text-decoration: none;
|
|
83
|
+
opacity: 0.8;
|
|
84
|
+
transition: opacity 0.2s ease;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.links a:hover {
|
|
88
|
+
opacity: 1;
|
|
89
|
+
}
|
|
90
|
+
</style>
|
|
91
|
+
</head>
|
|
92
|
+
<body>
|
|
93
|
+
<div class="container">
|
|
94
|
+
<img src="matterbridge.svg" alt="Matterbridge Logo" class="logo">
|
|
95
|
+
<h1>404</h1>
|
|
96
|
+
<h2>Page Not Found</h2>
|
|
97
|
+
<p>Sorry, the page you're looking for doesn't exist. It might have been moved, deleted, or you may have mistyped the URL.</p>
|
|
98
|
+
<a href="/" class="btn">🏠 Go Home</a>
|
|
99
|
+
|
|
100
|
+
<div class="links">
|
|
101
|
+
<a href="README.md">📖 Documentation</a>
|
|
102
|
+
<a href="https://github.com/Luligu/matterbridge">🔗 GitHub</a>
|
|
103
|
+
<a href="https://www.npmjs.com/package/matterbridge">📦 NPM</a>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
</body>
|
|
107
|
+
</html>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
+
<svg width="800px" height="800px" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><title>file_type_homeassistant</title><path d="M5.114,27.944V18.427H2.66a.668.668,0,0,1-.47-1.134L15.41,3.748h0a.819.819,0,0,1,1.166-.008l.007.007,6.9,7.037v-1.3h0a.553.553,0,0,1,.55-.556h2.292a.553.553,0,0,1,.549.556v4.78L29.812,17.3h0a.671.671,0,0,1-.01.942.657.657,0,0,1-.462.19H26.876v9.517a.553.553,0,0,1-.549.556H5.664A.553.553,0,0,1,5.114,27.944Z" style="fill:#3dbcf3;fill-rule:evenodd"/><path d="M21.718,15.07a2.841,2.841,0,0,0-2.826,2.857,2.876,2.876,0,0,0,.224,1.116l-2.061,2.083V14.791a2.826,2.826,0,1,0-2.12,0v6.335l-2.061-2.083a2.876,2.876,0,0,0,.224-1.116,2.826,2.826,0,1,0-2.826,2.858,2.791,2.791,0,0,0,1.1-.227l3.559,3.6V28.5h2.12V24.157l3.56-3.6a2.782,2.782,0,0,0,1.1.227,2.858,2.858,0,0,0,0-5.715Zm-11.446,4a1.143,1.143,0,1,1,1.13-1.143A1.136,1.136,0,0,1,10.272,19.07ZM16,13.284a1.143,1.143,0,1,1,1.131-1.143A1.136,1.136,0,0,1,16,13.284Zm5.723,5.786a1.143,1.143,0,1,1,1.131-1.143A1.136,1.136,0,0,1,21.718,19.07Z" style="fill:#fff"/></svg>
|
package/docs/Shelly.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" width="1024" viewBox="0.7 0 86.6 24"><path fill="#4594D1" d="m82 15.5 2.4-6.6h-4.6l-2.3 6.6h-2.6l2.4-6.6h-4.7L70.4 15v.5h-3.7l4.8-13.3H67l-4.7 13.3h-4L63 2.2h-4.5l-4.7 13.3h-7.1c-1.1 0-1.7-.3-1.7-1l.1-.4 1-3H49l-1.7 4.5s3.3-1.3 4.4-1.8c1-.5 1.3-1.4 1.3-2.3 0-.8-.6-1.5-1.7-2-.8-.3-1.7-.4-2.8-.4h-1.8c-1.7 0-3 .4-4.3 1.1-1.3 1-2 2.1-2 3.7 0 .6.1 1.2.4 1.7h-4.3l1.4-4c.2-.5.4-1.1.4-1.5 0-.8-.8-1-1.7-1-1.2 0-2.3.4-3.3 1.2l-3.4 2.8 3.8-10.6H29l-5.4 15h2.6c.6 0 1.3-.2 1.8-.7L33 13l-1 2.7-.1 1c0 .6.5 1 1.4 1h27.3a4 4 0 0 0 1.9-.6c.3.4.8.5 1.6.5h5a4 4 0 0 0 1.9-.5c.3.4.8.5 1.4.5h1c-.6.4-1 .9-1.2 1.5a4.7 4.7 0 0 0-.5 2c0 .8.3 1.5.8 2 .6.7 1.4 1 2.4 1 1.7 0 3.1-.7 4.3-2 .8-1 1.6-2.5 2.3-4.5h3.1c1.4 0 2.3-.6 2.8-2h-5.2ZM75.2 22c-.5-.4-.7-.8-.7-1.4 0-.6.2-1.2.7-1.9.5-.6 1-1 1.6-1L75 22.2ZM22 5l1.5-2.9h-2.8c-1.2 0-1.9.5-1.9 1.6 0 .5.4 1.8 1.1 3.6A13 13 0 0 1 21 12c0 2.2-1.3 4-3.8 5a16 16 0 0 1-6.6 1.3 18 18 0 0 1-6.2-1C2 16.5.7 15 .7 13.3.7 10.3 3 9 7.7 9h6c-.2.6-.6 1.1-1.2 1.5-.6.3-1.2.5-2 .5h-1c-.9 0-1.7.1-2.4.5-.9.4-1.3 1-1.3 1.8 0 1 .6 1.7 1.8 2.3 1 .4 2 .6 3.1.6 1.4 0 2.6-.3 3.5-1 1-.6 1.6-1.6 1.6-3 0-.9-.4-2.1-1-3.8-.7-1.7-1-3-1-4C13.7 1.7 16.1.2 21 0h2c1.2 0 2.2.2 3.1.5 1.2.5 1.8 1.2 1.9 2.2 0 1-.5 1.8-1.5 2.5H22Z"/></svg>
|
package/docs/Somfy.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="278" viewBox="-1.2 -1.2 151.1 41"><path d="M130.8 28c.2.4.3 1 .3 1.4 0 2.7-1.4 3.8-2.1 4.4-1.8 1.5-4.4 1.4-4.4 1.4h-1.4c-.9 0-1.9.7-1.9 1.7 0 1.1.8 1.8 2 1.8h1.3s1.8 0 3.7-.5c2-.7 4.6-2.1 6.5-5.5l7-15.6 2-4.7c.2-.3.2-.6.1-.9 0-.3-.3-.5-.6-.7-.5-.3-1.3-.3-2 0-.8.2-1.5.7-1.7 1.3l-3.4 7.3c-.6 1.2-1.3 2-2 2-.8 0-1.3-.2-2.4-2.1l-4.1-7.2a3 3 0 0 0-1.8-1.3 3 3 0 0 0-2.2 0c-.4.2-.6.5-.7.8v1l7.8 15.4m-19.5-8.8c0-1.2 1-2.2 2.3-2.2h3a3 3 0 0 0 2.2-.8c.8-.9.9-2.1.9-2.3a3 3 0 0 0-.8-2.2 3 3 0 0 0-2.3-.8h-3c-2 0-2-.5-2-1.7 0 0 0-2.5 2-3.2.7-.2 1.4-.3 2.2-.3h3.5a2.9 2.9 0 0 0 2.9-2.9c0-1.5-1.3-2.8-2.9-2.8H116a15 15 0 0 0-5.8 1.2 8.8 8.8 0 0 0-5.5 7.1c-.2 1.7-.6 2.6-2.2 2.6-.8 0-1.4.2-1.9.7-.8.9-.7 2.2-.7 2.2 0 2.7 2.5 3.2 2.6 3.2 1.2.1 2 1.1 2 2.3v9.3c0 1.1.4 2 1 2.6.7.8 1.7.8 1.8.8h1.3c.1 0 .9 0 1.6-.5.5-.4 1.2-1.2 1.2-2.9M63.2 13.3s-.2-2.7 2.7-2.7c1.6 0 2.6 1.5 4.5 1.5 2.4 0 3-1.5 6.4-1.5 3.8 0 4 1.5 6.3 1.5 2.5 0 2.9-1.5 7.2-1.5 2.3 0 4.9 1.4 4.9 4.2v14.5a2.7 2.7 0 0 1-5.4 0V17.4c0-1.3 0-4-2.3-4 0 0-5.6-.7-5.6 9.1v6.8c0 1.4-1.2 2.7-2.7 2.7a2.7 2.7 0 0 1-2.7-2.7V17.4c0-.8.1-4-2.4-4-4.8 0-5.5 5-5.5 9v6.9c0 1.4-1.3 2.7-2.7 2.7a2.7 2.7 0 0 1-2.7-2.7M41.3 4.6a16.6 16.6 0 1 0 0 33.2 16.6 16.6 0 0 0 0-33.2m0 22.5a6 6 0 0 1 0-11.8 6 6 0 0 1 0 11.8m-35.7-5 2.6 1 4 1.6a2 2 0 0 1 1.2 2.4c-.4 1.3-1.9 2.5-5.2 2C7 29 4 28.3 4 28.3c-.1 0-2-.7-3 0-.5.2-.7.5-.8 1-.5 1.7 1.3 2.3 1.3 2.3l1.9.5.5.1s4 1 7.1.9c2 0 7.1-.5 9.1-4.1.3-.5.7-2.4.5-3.6-.2-1.3-.7-2.7-3-4.2a29 29 0 0 0-4.1-1.6 38 38 0 0 1-2.2-.7c-2.9-1.2-3.4-2.3-3.4-2.8 0-.3 0-1 .6-1.6.7-.8 1.8-1.2 3.4-1.2 2.4 0 3.3.3 4.3.6l.6.2c.7.2 1.3.1 1.8-.1.5-.3.6-.9.6-1 0-.4.1-1.5-1.6-2.2-.1 0-3.7-1.4-9.3-.6-.8 0-2.3.4-3.8 1.2a5.6 5.6 0 0 0-3.2 5.2c0 1.6.8 3 2.2 4.2 1.1.8 2.1 1.2 2.2 1.2M145.6 31.8a3 3 0 0 1-3.1-3.1 3 3 0 0 1 3.1-3.2c1.9 0 3.2 1.4 3.2 3.2 0 1.8-1.4 3.1-3.2 3.1m0-5.6c-1.3 0-2.3 1-2.3 2.5 0 1.3 1 2.4 2.3 2.4 1.4 0 2.3-1 2.3-2.4s-1-2.5-2.3-2.5m.6 4-.8-1.2h-.1v1.2h-.7V27h1c.7 0 1.1.4 1.1.9s-.4.8-.7.9c.2 0 .6.7 1 1.4h-.8zm-.8-2.6h-.1v.8c.4 0 .7-.1.7-.4 0-.3-.2-.4-.6-.4" style="fill:#ffb514;fill-opacity:1;fill-rule:nonzero;stroke:none"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="5000" height="5000" viewBox="0 0 1322.9 1322.9" xmlns="http://www.w3.org/2000/svg"><path style="fill:#000;stroke-width:.264583" d="m-1991.2 571.2-173.9-174.4v-493l173.9-174.4 173.9-174.4h491.4l173.9 174.4 173.8 174.4V397L-1152 571.2l-173.7 174.3H-1817.4z" transform="matrix(.99986 0 0 .99986 2232.8 511.2)"/><path style="fill:#fdbe36;stroke-width:.264583" d="m-1982 558.6-169-169V-89l169-169.2 169.2-169.1h478.4l169 169.1L-996.1-89V389.3l-169.1 169.2-169.1 169.1H-1813.1z" transform="matrix(.99986 0 0 .99986 2232.8 511.2)"/><path style="fill:#000;stroke-width:.264583" d="M-1788.7-42.8c-4-.1-13-.9-17.2-1.4-39-4.9-64.7-20.5-74.5-45.2-2-4.8-2.5-7.4-2.5-12 0-2.9.2-4 .7-6 5-19.1 31.7-36.4 81.5-53 28-9.4 57.3-17 124.5-32.5 27.9-6.4 43-10.1 54.3-13.3l3.9-1 1-2.4a68.5 68.5 0 0 1 9.1-16.1l1.3-1.2-1.1-3.4a56.7 56.7 0 0 1 .9-39 52.2 52.2 0 0 1 25.9-28.2l-13.8-48-18.1-.7c-23.2-.9-22.7-.8-23.5-1.6-1.3-1.2-.7-3.6 1-4 1-.3 42.9 1.4 43.5 1.7.4.2 1.3 1.8 2.4 4.1l11.8 24.1 10 20.4h12.3l11.7-24c8-16.2 12-24.2 12.4-24.5.4-.3 4.3-.5 20.6-1.1 25.2-1 23-1 24 0s.9 2.9-.4 3.7c-.4.2-6 .5-20.8 1l-20.5 1c-.1.2-13.7 47.4-13.7 47.8a52.2 52.2 0 0 1 24 24c4 8.2 5.7 15.7 5.7 25.1 0 7.3-1 13.6-3.3 19.4l-.8 2.2 1.3 1.2c1.7 1.5 4.7 6.3 8 13.1l2.7 5 17.8 4.6c9 2.3 20 4.9 41.7 9.8 61.9 14.3 91.5 22 119.4 31.3 50 16.6 76.6 34 81.6 53.1a31.5 31.5 0 0 1-3.5 21.6 64.5 64.5 0 0 1-30.3 29.5 85 85 0 0 1-13.5 5.6c-10.9 3.7-21.8 5.9-36.2 7.3-6 .5-24.8.8-31.7.4-27.4-1.6-53.5-7.2-68.2-14.5-4-2-5-2.7-10.3-7.1a709.4 709.4 0 0 1-72.1-66.8l-1.6 3.3-1.8 3.7c-.6.7-13.6 3-22.8 4a270.2 270.2 0 0 1-69.7-1.4c-3.8-.6-4.6-.8-5-1.3-.3-.3-1.4-2.4-2.5-4.6-2-3.9-2-4-2.5-3.6l-3.7 4.2a667.6 667.6 0 0 1-76 69c-11.4 6.8-34.5 13-58.6 15.4-11.8 1.2-24.1 1.7-34.8 1.3z" transform="matrix(.99986 0 0 .99986 2232.8 511.2)"/><path style="fill:#000;stroke-width:.264583" d="M-1567.8-18.5a234.3 234.3 0 0 1-60.3-10.1l-4.1-1.4v-.9a176.5 176.5 0 0 1 5-30 271.4 271.4 0 0 0 86.1 8.6 227.2 227.2 0 0 0 45.8-7 159.8 159.8 0 0 1 5 30.6c.1.5-.1.7-1.8 1.3a180 180 0 0 1-45.5 8.5c-6.3.5-24.2.7-30.2.4zM-1567.4 90.2c-3.9-.5-8-1.9-12-3.9-2.7-1.3-11.3-7.2-15.5-10.5a135.8 135.8 0 0 1-15.3-15 108 108 0 0 1-8.7-12.6c-.4-.5-.3-.5 2.9.3a274.4 274.4 0 0 0 105.3 2.4l3.3-.6a106.8 106.8 0 0 1-39.2 36.5c-3 1.4-5.9 2.3-9 3-2.5.5-9.3.8-11.8.4zM-1509 354c-3-.6-4.8-2.4-5.3-5.6-.2-2-3.5-185.2-3.3-187.7.3-3 1.6-5 3.9-5.8 1.5-.6 9.2-.9 26.7-1h12.6l1.3.6c.7.3 1.5 1 1.9 1.5 1.5 2 1.3-3.8 3 91.1 1.8 102.2 1.8 100.8 1.2 102.4-.8 2.4-2.7 3.6-5.9 4l-14.7.4-16.3.2-5-.1zM-1636.3 356.2c-3.5-.8-4.8-2.5-5.2-6.7-.2-1.4-1-44-1.8-94.6-1.8-100-1.7-93.6-.2-95.9.9-1.4 2.5-2 5.4-2.4 3.6-.4 34-.8 35.8-.5 4 .8 5.2 2.7 5.4 8.7l1.7 94.1c1.4 82.3 1.5 90.7 1.2 92-.6 2.1-1.5 3.3-3.3 4.1-1.4.7-1.7.7-8.6.9a914 914 0 0 1-30.4.3zM-1352.5 600.7a4.9 4.9 0 0 1-3-2.6l-.6-1-.1-51v-51l-16.3-.1c-15.8-.1-16.2-.1-17.4-.7a5 5 0 0 1-2.8-3c-.4-1-.5-2.6-.6-14.1 0-8.3 0-13.7.2-15 .4-2.7 1.2-4.1 2.7-5l1.2-.7H-1276.5l1.3.8c2.7 1.7 2.9 2.5 2.7 19.4 0 13.3 0 13.7-.6 14.9a5.2 5.2 0 0 1-2.9 2.8c-1 .5-2.3.5-17.2.6h-16.2v50.5c0 55.7 0 52.3-1.7 54-1.7 1.7-1.2 1.6-21.7 1.6-14.9 0-18.8 0-19.7-.4zM-1484.7 600.7a4.7 4.7 0 0 1-3-2.6l-.7-1.3-.1-51V495h-15.6c-9.6 0-16 0-16.7-.3-1.7-.3-3.1-1.3-3.8-2.6l-.6-1.2v-14.8c-.2-16.4-.2-16.4 1.5-18 1.8-1.8-2-1.7 58.7-1.7 36.1 0 55.5 0 56.1.3 1.5.4 2.7 1.3 3.4 2.7l.7 1.3V490.4l-.8 1.5c-.6 1.3-.9 1.6-2.2 2.3l-1.5.7h-16.2l-16.2.1-.1 51.2v51l-.7 1.2c-.4.7-1.1 1.5-1.9 1.9l-1.2.7h-19c-15.9.1-19.2 0-20.1-.3zM-1832.1 600.7a4.7 4.7 0 0 1-3-2.6l-.7-1.3-.1-67.2c0-46.5 0-67.7.2-68.6a5.6 5.6 0 0 1 2.7-3.9l1.1-.6h18.7c20.6-.1 20.3-.1 22.5 1.6.7.4 1.6 1.4 2.1 2.1.5.7 5.3 9.1 10.6 18.7s10 18 10.6 18.6l1 1.1h4l1-1c.5-.7 5.2-8.9 10.3-18.3a912 912 0 0 1 10.3-18.6c.6-.8 1.6-2 2.3-2.5 2.4-1.9 1.8-1.8 22.8-1.7h18.8l1 .6c1.5.8 2.2 1.7 2.7 3.4.3 1.1.4 9.5.4 68.3 0 58.7 0 67.1-.4 68.3a4.9 4.9 0 0 1-2.6 3.3l-1.1.6h-18.1c-20.1.1-19.8.2-21.4-1.6-1.7-1.7-1.7.2-1.7-39.7 0-21 0-36.4-.2-36.4l-6.5 11.7a65.8 65.8 0 0 1-8 13.4 8.8 8.8 0 0 1-3.1 2.2c-1.6.6-1.8.7-8.9.7-8.2 0-9-.2-11.3-2-1.8-1.4-2.6-2.7-9.3-15.2l-6-11-.1 36.7-.1 36.7-.8 1.5c-.6 1.2-1 1.7-2 2.3l-1.2.7h-17.7a137 137 0 0 1-18.8-.3zM-1622.8 619a5.3 5.3 0 0 1-3.5-2.5l-.8-1.2v-7.1c-.1-7-.1-7-.7-7.2l-4.7-.9a52 52 0 0 1-21.6-8.5 35 35 0 0 1-12-20.9l-.7-2.8v-39.8c0-37.5 0-40 .5-42.6a31 31 0 0 1 18.8-25c10.9-5.2 27-7.7 46.9-7.2 13 .3 21.7 1.4 29.9 3.8 18.4 5.2 26.8 14.9 28.4 32.4.4 4.2.4 73.5 0 77.4-1.4 14-6.9 22.3-18.8 28.3a58.6 58.6 0 0 1-20.3 5.8c-.5.1-.5.2-.6 7 0 6.8-.1 7-.7 8.3-.7 1.4-2 2.4-3.8 2.8-1.5.3-34.9.3-36.3 0z" transform="matrix(.99986 0 0 .99986 2232.8 511.2)"/><path style="fill:#fdbe36;fill-opacity:1;stroke-width:.264583" d="m-1165.3 558.7 169.1-169.1V-89l-169.1-169.2-169.1-169.1H-1813.1l-169.1 169.1L-2151.3-89V389.3l169.2 169.3 169.3 169.3h478.4z" transform="matrix(.99986 0 0 .99986 2232.8 511.2)"/><path style="fill:#fff;stroke:#fff;stroke-width:.264583" d="M-1541-69.2a191 191 0 0 0 40.8-6.6 186.2 186.2 0 0 0-12-30.4c0-.2-.8-.1-1.8 0a265.4 265.4 0 0 1-66.4 4.6 302 302 0 0 1-31.5-3.2c-1.2 1-11.2 27-10.7 27.5.4.4 11.4 3 17.5 4.1a283.6 283.6 0 0 0 64 4z" transform="matrix(.99986 0 0 .99986 2232.8 511.2)"/><path style="fill:#fff;stroke-width:.264583" d="M-1536.7 34.8c15.3-1.1 27.7-3.2 38-6.5l3.4-1 .8-2.9a127.5 127.5 0 0 0 5.1-30v-1.2l-3 .9c-38.8 11.3-94.8 10.4-136.6-2l-3.6-1 .2 3.3c.4 8 1.7 16.6 3.6 24.4 1.6 6.4 1 5.7 5.9 7.2a239.7 239.7 0 0 0 86.2 8.8z" transform="matrix(.99986 0 0 .99986 2232.8 511.2)"/><path style="fill:#000;stroke-width:.264583" d="M-1767.4-42.9c14.6-.9 27.6-2.6 39.4-5.2 17.6-3.9 29-8.2 36.4-13.9 10.2-8 33-27.8 47.3-41a604.3 604.3 0 0 0 28.2-28.8l1-1 2.2 4.4 2.2 4.4 1.6.4a268.8 268.8 0 0 0 75.8 1.6 130 130 0 0 0 20.5-3.8l3.1-6.8 2.6 2.7c15.3 16.9 37 37 65.8 61a55.8 55.8 0 0 0 16 11.1c19.9 8.8 54 14.4 83.7 13.8 41.1-1 71.5-12 87.5-32.1 3.6-4.6 7-10.6 9-16 1.7-4.5 2-5.7 1.9-10.6 0-4 0-4.6-.7-6.7a34.3 34.3 0 0 0-7.4-13c-14.5-17-45.9-32-99.4-47.4-21.2-6.2-51-13.6-92.5-23a1011 1011 0 0 1-61.3-15.1l-2.4-4.8a56.6 56.6 0 0 0-8-13l-1.3-1.2 1-2.8c3.6-10.4 4.1-22 1.4-33a52.7 52.7 0 0 0-26.1-33.8l-2-1 6.8-24 7-24 20-.7c13.5-.5 20.4-.8 20.9-1 .3-.2.9-.8 1.1-1.3l.6-1-.6-1c-.3-.7-.8-1-1.4-1.3a1132.4 1132.4 0 0 0-42.8 1.4c-.4 0-1 .4-1.4.7-.3.3-5.8 11.3-12.2 24.4l-11.6 23.8-2-.1a74.6 74.6 0 0 0-8.2 0l-1.8.1-11.7-23.9c-6.4-13.1-11.9-24.1-12.2-24.4-.7-.8 1-.6-23.6-1.6-21.2-.7-20.9-.8-21.8.6-.7 1-.6 2 .3 3 1 1-1.6.7 23 1.7l18.7.7 6.7 23.1a2321 2321 0 0 1 6.8 24c.2.8.1.9-1.6 1.8a52.7 52.7 0 0 0-27.9 48.3 53 53 0 0 0 3.1 18.5l1 2.8-1.4 1.3c-2 1.8-6 8.8-8.9 15.5l-1.2 2.8-3.3.9c-13.7 3.8-27.3 7-55.8 13.6-48 11-73.3 17.3-95 23.5-54.8 15.6-87.6 31-102.4 48.1-3.8 4.3-6 8.4-7.4 13.1-1 3.2-1.2 8.5-.6 11.9a56 56 0 0 0 15.4 26.7c15.9 15.8 42 25 76.3 26.7 4 .2 19.7.2 23.6 0z" transform="matrix(.99986 0 0 .99986 2232.8 511.2)"/><path style="fill:#000;stroke-width:.264583" d="M-1539.5-18.7c17.6-1.1 31.5-3.5 45-7.8 3.4-1 4.3-1.5 4.3-1.8a203.9 203.9 0 0 0-4.9-31.1l-3 .6a267.2 267.2 0 0 1-126.3-1.7 13 13 0 0 0-3-.7 205.8 205.8 0 0 0-5.1 31c0 .7 15.7 5.2 24.7 7 10.9 2.2 28 4.3 39 4.8 6.9.2 23.9.1 29.3-.3zM-1555.8 90c7-1.4 13-4.6 23.2-12.2a109.3 109.3 0 0 0 25.4-27.7l-1.7.3c-4.3 1-13.6 2.4-20.7 3.2a281 281 0 0 1-89.6-5.9l1.4 2.6c6.4 10.2 14.5 19.1 24 26.6 4.4 3.3 11.9 8.3 14.7 9.7 3 1.5 7.1 3 10 3.5 3.2.5 10 .5 13.3-.1zM-1477.3 353.8c5.2-.2 6-.3 7.2-.8 2.3-1 3.4-2.8 3.7-5.9.2-2.8-3-185.7-3.4-187.6-.5-3.7-2.2-5.3-5.9-5.8l-18.9.2c-18.8.3-18.9.3-20.8 1.8-1.3 1-2 2.5-2.2 4.6-.3 2.5 3 188 3.3 189.1a7 7 0 0 0 2.4 3.6c2 1.3 2.2 1.3 16 1.1 7 0 15.4-.2 18.6-.3zM-1612.3 356.1c7-.1 13.2-.3 13.8-.5a6.4 6.4 0 0 0 4-3c.7-1.3.8-1.7.8-5.5 0-2.2-.6-44.9-1.5-94.7-1.8-101-1.4-92.5-3.5-94.6a5.7 5.7 0 0 0-2.7-1.6c-1.5-.4-2.7-.4-19.5-.1-19 .3-19.7.3-21.5 1.6-.5.4-1.3 1.2-1.7 2-.7 1.2-.7 1.5-.8 5.4a15469 15469 0 0 0 3.5 186.6c.9 3 2.6 4.3 5.8 4.6 1.7.2 2.8.2 23.3-.2zM-1312.5 600.6a5.5 5.5 0 0 0 3-4.4c.2-1 .3-20 .3-51.4V495h15.8c9.8 0 16.2 0 16.8-.2a5.6 5.6 0 0 0 3.4-2.7l.7-1.2v-14.6c.1-16 0-16.6-1.4-18.2-.4-.4-1.2-1-2-1.3l-1.1-.5h-55.7c-45.8 0-55.9 0-56.7.3a5.8 5.8 0 0 0-3.2 2.8c-.6 1-.6 1.1-.6 16.2v15l.7 1.4a5 5 0 0 0 2 2.1l1.2.8h16.4l16.3.1.1 50.8v50.7l.8 1.5c.8 1.8 2 2.7 4.3 3.2l19 .1h18.6l1.3-.7zM-1444.9 600.7c.7-.3 1.5-1 2-1.4 1.5-2 1.4 1.2 1.4-54V495h15.8c9.8 0 16.2 0 16.8-.2a5.6 5.6 0 0 0 3.4-2.7l.7-1.2v-30.4l-.7-1.3c-.6-1.1-1-1.5-2.2-2.1l-1.6-.8h-55.7c-60.6 0-56.8-.1-58.6 1.5-1.9 1.6-1.9 1.5-1.9 18 0 16.4 0 15.8 1.8 17.6 1.5 1.6 1.8 1.6 19.2 1.6h15.7v49.3c0 30.3 0 50 .2 51.3.5 3.2 1.9 4.9 4.6 5.5.5.2 9.2.2 19.4.2 18.2 0 18.5 0 19.7-.6zM-1795 600.8a5.6 5.6 0 0 0 2.8-2.7l.6-1v-36.9l.2-36.8 6.2 11.5c9 16.6 8.8 16.4 18.7 16.7 7.9.2 10.6-.3 13.2-2.5 1.6-1.3 2.3-2.4 9-14.6l5.8-11 .2 36.6c0 34.6.1 36.7.6 37.7a5.3 5.3 0 0 0 3 3c1.2.4 2.7.5 19.4.5h18.1l1.3-.7a5 5 0 0 0 2.2-2l.7-1.3V460.2l-.7-1.2c-.5-1-1-1.4-2.2-2l-1.6-.7h-37.5l-1.5.6c-1.7.7-3.9 2.8-5.1 4.9l-10 18.1c-5 9.3-9.5 17.2-10 17.7-.8.8-1 .9-2.7.9-2.1 0-2.6-.3-3.6-1.8-.3-.4-4.7-8.2-9.7-17.4-5-9.2-9.7-17.5-10.4-18.5-1.3-2-2.6-3-4.5-4l-1.3-.5h-37.5l-1.6.7c-1.1.6-1.6 1-2.2 2l-.7 1.2v68.6c0 66 0 68.5.5 69.4.8 1.6 2 2.4 4 3l18 .1c15.9 0 17.2 0 18.2-.5z" transform="matrix(.99986 0 0 .99986 2232.8 511.2)"/><path style="fill:#000;stroke-width:.999999" d="M-6054.5 1713.1c-6.6 0-13.5 0-20.9.2-49.5.7-75.6 3.4-106.7 11.2-60.6 15.1-96 42.7-110 85.5a189 189 0 0 0-8 41.5c-1.3 16.4-1.3 274 0 287.6 4.5 45.3 23.6 81.3 53.6 101.4 19.6 13.1 50.3 23.9 85.6 30l9.6 1.7.4 25.6.3 25.7 2.8 5.7c3.5 7.1 8.7 10.5 17.9 11.7 3.5.5 34.7.8 69.3.7 57.8-.2 63.4-.4 67.7-2 5.6-2.1 11.2-8 12.9-13.3.7-2.3 1.4-14.1 1.7-29 .2-14 .8-25.3 1.2-25.3l12.5-2c72.2-12.6 115.3-43.9 130-94.3 6.3-22 6-11.7 6.3-174.2.2-101.3 0-150.7-.8-156.5-3.3-26.3-9.3-45-19.3-60.4-18.9-29-50.5-48.4-97.7-60.1-32.2-8-62.2-11.2-108.4-11.4zm-6 149.3c11.9 0 23 .5 27.7 1.4 19.8 3.7 30.1 12.8 32.8 28.9 1.2 7.4 1.2 208.6 0 217-1.1 7.7-4 13.8-9.4 19.3-4.8 5-9.5 7.3-19.3 9.5-5 1.2-13.5 1.7-31.4 2-26.5.4-36.5-.6-47.5-4.6a33.2 33.2 0 0 1-18.4-18.3c-2-5.7-2-6-2-116.1 0-108.6 0-110.5 2-115.9 4.2-11.3 13-18 28.4-21.4 5.7-1.2 22-1.9 37.2-1.8z" transform="matrix(.26455 0 0 .26455 2232.8 511.2)"/></svg>
|
package/docs/_config.yml
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
title: Matterbridge
|
|
2
|
+
description: >-
|
|
3
|
+
Matterbridge is a Matter plugin manager that allows you to have all your
|
|
4
|
+
Matter devices up and running in minutes without dealing with complex pairing processes.
|
|
5
|
+
|
|
6
|
+
baseurl: '/matterbridge'
|
|
7
|
+
url: 'https://luligu.github.io'
|
|
8
|
+
|
|
9
|
+
author:
|
|
10
|
+
name: Luligu
|
|
11
|
+
email:
|
|
12
|
+
github: Luligu
|
|
13
|
+
|
|
14
|
+
repository: Luligu/matterbridge
|
|
15
|
+
|
|
16
|
+
# Build settings
|
|
17
|
+
markdown: kramdown
|
|
18
|
+
highlighter: rouge
|
|
19
|
+
theme: minima
|
|
20
|
+
|
|
21
|
+
plugins:
|
|
22
|
+
- jekyll-feed
|
|
23
|
+
- jekyll-sitemap
|
|
24
|
+
- jekyll-seo-tag
|
|
25
|
+
|
|
26
|
+
# GitHub Pages specific settings
|
|
27
|
+
github:
|
|
28
|
+
repository_url: https://github.com/Luligu/matterbridge
|
|
29
|
+
|
|
30
|
+
# Include and exclude files
|
|
31
|
+
include:
|
|
32
|
+
- _pages
|
|
33
|
+
exclude:
|
|
34
|
+
- node_modules/
|
|
35
|
+
- package.json
|
|
36
|
+
- package-lock.json
|
|
37
|
+
- tsconfig*.json
|
|
38
|
+
- jest.config.js
|
|
39
|
+
- eslint.config.js
|
|
40
|
+
- prettier.config.js
|
|
41
|
+
- vite.config.ts
|
|
42
|
+
- '*.test.ts'
|
|
43
|
+
- coverage/
|
|
44
|
+
- dist/
|
|
45
|
+
- src/
|
|
46
|
+
- test/
|
|
47
|
+
- frontend/
|
|
48
|
+
- heap_profile/
|
|
49
|
+
- jest/
|
|
50
|
+
- systemd/
|
|
51
|
+
- vitest/
|
|
52
|
+
- bin/
|
|
53
|
+
- docker/
|
|
54
|
+
|
|
55
|
+
# Collections
|
|
56
|
+
collections:
|
|
57
|
+
pages:
|
|
58
|
+
output: true
|
|
59
|
+
permalink: /:name/
|
|
60
|
+
|
|
61
|
+
# Default front matter
|
|
62
|
+
defaults:
|
|
63
|
+
- scope:
|
|
64
|
+
path: ''
|
|
65
|
+
type: 'pages'
|
|
66
|
+
values:
|
|
67
|
+
layout: 'page'
|
|
68
|
+
- scope:
|
|
69
|
+
path: ''
|
|
70
|
+
values:
|
|
71
|
+
layout: 'default'
|
|
72
|
+
|
|
73
|
+
# SEO settings
|
|
74
|
+
twitter:
|
|
75
|
+
username:
|
|
76
|
+
card: summary_large_image
|
|
77
|
+
|
|
78
|
+
social:
|
|
79
|
+
name: Matterbridge
|
|
80
|
+
links:
|
|
81
|
+
- https://github.com/Luligu/matterbridge
|
|
82
|
+
- https://www.npmjs.com/package/matterbridge
|
|
83
|
+
- https://hub.docker.com/r/luligu/matterbridge
|
|
84
|
+
|
|
85
|
+
# Logo and favicon
|
|
86
|
+
logo: matterbridge.svg
|