-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathplugins.tsx
312 lines (298 loc) · 10.3 KB
/
plugins.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
const TAGS = {
AGENT: 'Agent',
BENCHMARK: 'Benchmark',
BOOTSTRAP: 'Bootstrap',
CONFIG: 'Configuration',
CONTAINER: 'Container',
CUMULOCITY: 'Cumulocity IoT',
EXAMPLE: 'Example',
IMAGE: 'Image',
INIT_SYSTEM: 'Init Systems',
MICROCONTROLLER: 'Microcontroller',
NODE_RED: 'NodeRED',
OPERATION: 'Operation',
PROTOCOLS: 'Protocols',
RASPBERRY_PI: 'Raspberry Pi',
RUGPI: 'Rugpi',
SERVICE: 'Service',
SM_PLUGIN: 'Software Management Plugins',
TELEMETRY: 'Telemetry',
TOOL: 'Tool',
UI: 'UI',
YOCTO: 'Yocto',
PKI: 'PKI',
};
export interface IPlugin {
name: string;
sourceUrl?: string;
packageUrl?: string;
description: string;
tags: string[];
}
const PluginsList: IPlugin[] = [
// Agents
{
name: 'rpi-pico-client',
sourceUrl: '/~https://github.com/thin-edge/rpi-pico-client',
packageUrl: '/~https://github.com/thin-edge/rpi-pico-client',
description:
'Micropython agent (for microcontrollers) to connect to local thin-edge.io to manage devices like Raspberry Pi Pico W',
tags: [TAGS.AGENT, TAGS.MICROCONTROLLER, TAGS.RASPBERRY_PI],
},
{
name: 'python-tedge-agent',
sourceUrl: '/~https://github.com/thin-edge/python-tedge-agent',
packageUrl: '/~https://github.com/thin-edge/python-tedge-agent',
description:
'Python3 agent to connect to local thin-edge.io to manage devices',
tags: [TAGS.AGENT],
},
{
name: 'freertos-esp32-client',
sourceUrl: '/~https://github.com/thin-edge/freertos-esp32-client',
packageUrl: '/~https://github.com/thin-edge/freertos-esp32-client',
description:
'thin-edge.io child device client to run on an esp32 microcontroller',
tags: [TAGS.AGENT, TAGS.MICROCONTROLLER],
},
// Configuration
{
name: 'tedge-config2mqtt-watcher',
sourceUrl: '/~https://github.com/thin-edge/tedge-config2mqtt-watcher',
description:
'Services which watches the tedge.toml file and publishes message on the local MQTT broker',
tags: [TAGS.CONFIG, TAGS.SERVICE],
},
// Init Systems
{
name: 'tedge-sysvinit',
sourceUrl: '/~https://github.com/thin-edge/tedge-services',
description: 'thin-edge.io sysvinit service definitions',
tags: [TAGS.INIT_SYSTEM],
},
{
name: 'tedge-systemd',
sourceUrl: '/~https://github.com/thin-edge/tedge-services',
description:
'thin-edge.io systemd service definitions. Note: These definitions are provided to make it easier to add into Yocto builds.',
tags: [TAGS.INIT_SYSTEM],
},
{
name: 'tedge-openrc',
sourceUrl: '/~https://github.com/thin-edge/tedge-services',
description: 'thin-edge.io OpenRC service definitions',
tags: [TAGS.INIT_SYSTEM],
},
{
name: 'tedge-runit',
sourceUrl: '/~https://github.com/thin-edge/tedge-services',
description: 'thin-edge.io runit service definitions',
tags: [TAGS.INIT_SYSTEM],
},
{
name: 'tedge-s6overlay',
sourceUrl: '/~https://github.com/thin-edge/tedge-services',
description: 'thin-edge.io s6overlay service definitions',
tags: [TAGS.INIT_SYSTEM],
},
{
name: 'tedge-supervisord',
sourceUrl: '/~https://github.com/thin-edge/tedge-services',
description: 'thin-edge.io supervisord service definitions',
tags: [TAGS.INIT_SYSTEM],
},
// Operations
{
name: 'c8y-command-plugin',
sourceUrl: '/~https://github.com/thin-edge/c8y-command-plugin',
description: 'Execute shell commands via MQTT',
tags: [TAGS.OPERATION, TAGS.CUMULOCITY],
},
{
name: 'c8y-textconfig-plugin',
sourceUrl: '/~https://github.com/thin-edge/c8y-textconfig-plugin',
description: 'Send text-based configuration via MQTT',
tags: [TAGS.OPERATION, TAGS.CUMULOCITY],
},
// Images
{
name: 'tedge-rugpi-image',
sourceUrl: '/~https://github.com/thin-edge/tedge-rugpi-image',
packageUrl: '/~https://github.com/thin-edge/tedge-rugpi-image',
description:
'Build Raspberry Pi images with in-built support for OS updates using thin-edge.io and [Rugpi](/~https://github.com/silitics/rugpi)',
tags: [TAGS.IMAGE, TAGS.RASPBERRY_PI],
},
{
name: 'tedge-rugpi-core',
sourceUrl: '/~https://github.com/thin-edge/tedge-rugpi-core',
packageUrl: '/~https://github.com/thin-edge/tedge-rugpi-core',
description:
'thin-edge.io rugpi images/recipes used by the tedge-rugpi-image project',
tags: [TAGS.IMAGE, TAGS.RASPBERRY_PI],
},
{
name: 'meta-tedge',
sourceUrl: '/~https://github.com/thin-edge/meta-tedge',
packageUrl: '/~https://github.com/thin-edge/meta-tedge',
description: 'Yocto Layer to build and install thin-edge.io from source (including kas project files which makes it easy to build Over-the-Air enabled images)',
tags: [TAGS.IMAGE, TAGS.YOCTO],
},
// Protocols
{
name: 'modbus-plugin',
sourceUrl: '/~https://github.com/thin-edge/modbus-plugin',
packageUrl: '/~https://github.com/thin-edge/modbus-plugin',
description:
'Modbus gateway to connect to modbus devices and publish to the cloud via thin-edge.io.',
tags: [TAGS.PROTOCOLS],
},
{
name: 'opcua-device-gateway',
sourceUrl:
'/~https://github.com/thin-edge/thin-edge.io_examples/tree/main/opcua-solution',
packageUrl:
'/~https://github.com/thin-edge/thin-edge.io_examples/tree/main/opcua-solution',
description:
'OPC UA Gateway example which uses the Cumulocity IoT [opcua-device-gateway](/~https://github.com/thin-edge/opcua-device-gateway-container) to connect to OPC UA Servers and thin-edge.io',
tags: [TAGS.PROTOCOLS, TAGS.EXAMPLE],
},
// Software management plugins
{
name: 'tedge-apk-plugin',
description: 'Manage Alpine Linux (apk) Packages',
tags: [TAGS.SM_PLUGIN],
},
{
name: 'tedge-rpm-plugin',
description: 'Manage rpm packages via dnf/microdnf/zypper',
tags: [TAGS.SM_PLUGIN],
},
{
name: 'tedge-snap-plugin',
description: 'Manage snap packages on Ubuntu',
tags: [TAGS.SM_PLUGIN],
},
{
name: 'tedge-container-plugin',
description: 'Manage container or container groups (e.g. docker compose)',
tags: [TAGS.SM_PLUGIN, TAGS.CONTAINER],
},
{
name: 'tedge-nodered-plugin',
description: 'Manage NodeRED flows',
tags: [TAGS.SM_PLUGIN, TAGS.NODE_RED],
},
{
name: 'tedge-archive-plugin',
description:
'thin-edge.io archive software management plugin for devices without any package managers',
tags: [TAGS.SM_PLUGIN],
},
// Telemetry
{
name: 'tedge-inventory-plugin',
description:
'Collect device information periodically via simple script based interface',
tags: [TAGS.TELEMETRY],
},
// Tools
{
name: 'c8y-tedge',
description:
'[go-c8y-cli](https://goc8ycli.netlify.app/) extension to provide common utilities to help with bootstrapping thin-edge.io devices to Cumulocity IoT',
sourceUrl: '/~https://github.com/thin-edge/c8y-tedge',
packageUrl: '/~https://github.com/thin-edge/c8y-tedge',
tags: [TAGS.TOOL, TAGS.BOOTSTRAP],
},
{
name: 'tedge-benchmark',
description:
'Python based MQTT benchmarking package to test the throughput of the MQTT message on a target device',
sourceUrl: '/~https://github.com/thin-edge/tedge-benchmark',
tags: [TAGS.TOOL, TAGS.BENCHMARK],
},
{
name: 'tedge-monit-setup',
description: 'thin-edge.io community plugin with sensible monit defaults',
sourceUrl: '/~https://github.com/thin-edge/tedge-monit-setup',
packageUrl: '/~https://github.com/thin-edge/tedge-monit-setup',
tags: [TAGS.TOOL],
},
{
name: 'tedge-collectd-setup',
description: 'thin-edge.io community plugin to install/setup collectd',
sourceUrl: '/~https://github.com/thin-edge/tedge-collectd-setup',
packageUrl: '/~https://github.com/thin-edge/tedge-collectd-setup',
tags: [TAGS.TOOL],
},
// UI
{
name: 'tedge-management-ui',
description: 'Local UI to view and manage thin-edge.io',
sourceUrl: '/~https://github.com/thin-edge/tedge-management-ui',
packageUrl: '/~https://github.com/thin-edge/tedge-management-ui',
tags: [TAGS.UI],
},
{
name: 'cumulocity-remote-access-cloud-http-proxy',
description:
'A Cumulocity IoT microservice that allows to proxy HTTP requests through the cloud to an HTTP server running on a Cumulocity IoT connected device',
sourceUrl:
'/~https://github.com/SoftwareAG/cumulocity-remote-access-cloud-http-proxy',
packageUrl:
'/~https://github.com/SoftwareAG/cumulocity-remote-access-cloud-http-proxy',
tags: [TAGS.UI, TAGS.CUMULOCITY, TAGS.RUGPI, TAGS.NODE_RED],
},
{
name: 'tedge-demo-container',
description:
'Demo container setup to showcase thin-edge.io and all its features',
sourceUrl: '/~https://github.com/thin-edge/tedge-demo-container',
packageUrl: '/~https://github.com/thin-edge/tedge-demo-container',
tags: [TAGS.EXAMPLE, TAGS.CONTAINER],
},
// Deployments
{
name: 'tedge-standalone',
description:
'Run thin-edge.io as standalone without any init system and using static binaries include the MQTT broker',
sourceUrl: '/~https://github.com/thin-edge/tedge-standalone',
packageUrl: '/~https://github.com/thin-edge/tedge-standalone',
tags: [TAGS.IMAGE],
},
{
name: 'tedge-container-bundle',
description:
'thin-edge.io. s6-overlay container setup to run all the components in a single container',
sourceUrl: '/~https://github.com/thin-edge/tedge-container-bundle',
packageUrl: '/~https://github.com/thin-edge/tedge-container-bundle',
tags: [TAGS.IMAGE, TAGS.CONTAINER],
},
{
name: 'tedge-actia-tgur',
description: 'thin-edge.io integration for Actia TGUR devices',
sourceUrl: '/~https://github.com/thin-edge/tedge-actia-tgur',
packageUrl: '/~https://github.com/thin-edge/tedge-actia-tgur',
tags: [TAGS.IMAGE],
},
{
name: 'homebrew-tedge',
description: 'Homebrew tap to install thin-edge.io on MacOS',
sourceUrl: '/~https://github.com/thin-edge/homebrew-tedge',
packageUrl: '/~https://github.com/thin-edge/homebrew-tedge',
tags: [TAGS.IMAGE],
},
// PKI
{
name: 'tedge-pki-smallstep',
description: 'Local PKI integration with thin-edge.io using Smallstep',
sourceUrl: '/~https://github.com/thin-edge/tedge-pki-smallstep',
packageUrl: '/~https://github.com/thin-edge/tedge-pki-smallstep',
tags: [TAGS.PKI],
},
];
// Sort plugins
export const Plugins = PluginsList.sort((a, b) =>
a.name.toLocaleLowerCase() < b.name.toLocaleLowerCase() ? -1 : 1,
);